/* ============================================================
   Next Chapter Financial Coaching — 2026 design system
   Light-first canvas · navy (#14324f) brand anchor · teal accent
   Fluid clamp() type · WCAG 2.2 AA · soft modern components
   ============================================================ */
/* Self-hosted variable fonts (latin subset). No third-party request, privacy-friendly. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand navy */
  --navy:      #14324f;
  --navy-700:  #1d4a6e;
  --navy-800:  #112c46;
  --navy-900:  #0c2236;
  /* Teal accent */
  --teal:        #0f766e;   /* accent for text/links/buttons on LIGHT (AA ✓) */
  --teal-600:    #0d9488;
  --teal-bright: #2dd4bf;   /* bright accent on NAVY */
  --teal-glow:   #5eead4;
  /* Repurposed legacy tokens -> teal (so existing rules re-theme) */
  --cyan:     #2dd4bf;
  --blue:     #0f766e;
  --cta-blue: #0f766e;
  --blue-100: #ccfbef;
  --blue-50:  #ecfdf9;
  /* Neutrals (light canvas) */
  --bg:        #f6f9fc;
  --surface:   #ffffff;
  --surface-2: #eef3f8;
  --gray:      #f1f5f9;
  --ink:       #0f2942;     /* headings */
  --body:      #3c4d60;     /* body text (AA ✓) */
  --muted:     #64748b;     /* muted (4.6:1 ✓) */
  --border:    #e4eaf1;
  --border-2:  #d3dde8;
  /* On navy */
  --on-navy:        #d7e3ef;
  --on-navy-muted:  #a9c2d6;   /* muted text on navy: ~5:1 even on the lightest navy (AA) */
  /* State */
  --green: #15803d; --red: #b91c1c;
  /* Radii / shadows */
  --r-sm: 10px; --radius: 16px; --r-lg: 24px; --pill: 999px; --radius-sm: 10px;
  --shadow-sm: 0 2px 6px rgba(15,41,66,.06), 0 8px 24px rgba(15,41,66,.06);
  --shadow-md: 0 8px 24px rgba(15,41,66,.10), 0 18px 48px rgba(15,41,66,.10);
  --shadow-lg: 0 28px 70px rgba(10,30,52,.28);
  /* Layout */
  --maxw: 1200px; --maxw-wide: 1320px; --maxw-read: 720px;
  --ease: cubic-bezier(.22,.61,.36,1);
  /* Fluid type scale (Utopia-style) */
  --step--1: clamp(0.84rem, 0.82rem + 0.12vw, 0.92rem);
  --step-0:  clamp(1.02rem, 0.99rem + 0.16vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.36vw, 1.4rem);
  --step-2:  clamp(1.42rem, 1.28rem + 0.66vw, 1.9rem);
  --step-3:  clamp(1.72rem, 1.5rem + 1.05vw, 2.5rem);
  --step-4:  clamp(2.05rem, 1.7rem + 1.7vw, 3.25rem);
  --step-5:  clamp(2.5rem, 1.95rem + 2.7vw, 4.5rem);
}

/* ---------- Reset & base ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif; font-size: var(--step-0); line-height: 1.65; color: var(--body); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
picture source { display: none; }  /* keep <source> out of grid/flex flow */
h1,h2,h3,h4,h5 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; color: var(--ink); line-height: 1.12; margin: 0 0 .55em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); font-weight: 700; }
h4 { font-size: var(--step-1); font-weight: 700; }
p  { margin: 0 0 1rem; }
a  { color: var(--teal); text-decoration: none; transition: color .15s ease; }
a:hover { text-decoration: underline; }
strong { color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.section-navy :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--teal-glow); }
[id] { scroll-margin-top: 96px; }
::selection { background: var(--teal-glow); color: var(--navy-900); }

/* Skip-to-content link + main landmark (accessibility) */
main { display: block; }
.skip-link { position: absolute; left: 8px; top: -56px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 10px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: var(--step--1); box-shadow: var(--shadow-md); transition: top .18s var(--ease); }
.skip-link:focus { top: 8px; outline: 3px solid var(--teal-glow); outline-offset: 2px; text-decoration: none; }

/* ---------- Layout helpers ---------- */
.container        { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px;       margin: 0 auto; padding: 0 24px; }
.container-wide   { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(56px, 8vw, 104px) 0; }
section.tight { padding: clamp(40px, 6vw, 64px) 0; }
.bg-white { background: var(--surface); }
.bg-gray  { background: var(--gray); }
.bg-soft  { background: var(--blue-50); }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.lead  { font-size: var(--step-1); color: var(--muted); line-height: 1.55; }
.center-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.section-head { max-width: 720px; margin: 0 auto clamp(36px,5vw,56px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* Navy feature band */
.section-navy { background: linear-gradient(165deg, var(--navy-700) 0%, var(--navy) 46%, var(--navy-900) 100%); color: var(--on-navy); }
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }
.section-navy p { color: var(--on-navy); }
.section-navy .lead { color: var(--on-navy); }
.section-navy a { color: var(--teal-glow); }
.section-navy .btn-light { color: var(--navy); }
.section-navy .btn-primary { color: #fff; }

/* ---------- Eyebrow / badges ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(45,212,191,.12); color: var(--teal); font-size: var(--step--1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 7px 16px; border-radius: var(--pill); margin-bottom: 20px; border: 1px solid rgba(45,212,191,.28); }
.section-navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { background: rgba(45,212,191,.14); color: var(--teal-glow); border-color: rgba(94,234,212,.32); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(45,212,191,.18); }
.badge { display: inline-block; background: var(--blue-100); color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 12px; border-radius: var(--pill); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 14px 30px; font-size: var(--step-0); font-weight: 700; font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -.01em; border: none; border-radius: var(--pill); cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s ease; text-align: center; line-height: 1.1; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(15,118,110,.28); }
.btn-primary:hover { background: #0c5f59; box-shadow: 0 12px 28px rgba(15,118,110,.34); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 6px 18px rgba(8,20,34,.16); }
.btn-light:hover { background: #fff; box-shadow: 0 12px 30px rgba(8,20,34,.22); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(20,50,79,.26); }
.btn-navy:hover { background: var(--navy-800); }
.btn-outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--border-2); }
.btn-outline:hover { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.8); }
.btn-large { min-height: 56px; padding: 17px 38px; font-size: var(--step-1); }
.reassurance { font-size: var(--step--1); color: var(--muted); margin-top: 14px; }
.section-navy .reassurance, .hero .reassurance { color: var(--on-navy-muted); }

/* ---------- Header (light, single-row, sticky) ---------- */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--border); transition: box-shadow .25s ease, background .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15,41,66,.08); background: rgba(255,255,255,.94); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-top { display: flex; align-items: center; gap: 12px; padding: 14px 0; border: none; flex-shrink: 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo:hover { text-decoration: none; }
.logo-img { height: 42px; width: auto; }
.wordmark { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(17px, 1.6vw, 22px); color: var(--navy); line-height: 1.05; letter-spacing: -.02em; max-width: 13ch; }
.header-nav { display: flex; align-items: center; justify-content: flex-end; gap: 26px; padding: 10px 0; flex: 1; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--navy); font-size: var(--step--1); font-weight: 600; padding: 9px 14px; border-radius: var(--pill); position: relative; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--teal); background: var(--surface-2); text-decoration: none; }
.nav-links a.active { color: var(--teal); }
.nav-links a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--teal); border-radius: 2px; }
.btn-connect { background: var(--navy); color: #fff; border: none; border-radius: var(--pill); padding: 11px 24px; min-height: 44px; display: inline-flex; align-items: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: var(--step--1); transition: transform .18s var(--ease), box-shadow .18s ease, background .18s ease; }
.btn-connect:hover { background: var(--teal); color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,118,110,.3); }
.login-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: var(--step--1); font-weight: 600; padding: 6px 8px; border-radius: var(--pill); }
.login-link:hover { color: var(--teal); text-decoration: none; }
.login-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.login-avatar svg { width: 16px; height: 16px; fill: currentColor; }
.nav-toggle { display: none; width: 46px; height: 46px; border: none; background: transparent; cursor: pointer; padding: 11px; border-radius: 10px; }
.nav-toggle:hover { background: var(--surface-2); }
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: all .25s ease; }
.nav-toggle span + span { margin-top: 5px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (navy masthead) ---------- */
.hero { position: relative; background: linear-gradient(165deg, var(--navy-700) 0%, var(--navy) 50%, var(--navy-900) 100%); color: #fff; padding: clamp(36px,5vw,64px) 0 clamp(40px,5vw,72px); overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -30%; right: -10%; width: 620px; height: 620px; background: radial-gradient(circle, rgba(45,212,191,.16), transparent 62%); pointer-events: none; }
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px,5vw,64px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 12px; }
.hero h1 .hl-accent { color: var(--teal-glow); }
.hero .subhead { font-size: var(--step-1); color: var(--on-navy); margin-bottom: 18px; max-width: 560px; line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 6px; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); pointer-events: none; }

/* Trust strip (social proof) */
.trust-strip { display: flex; gap: clamp(14px,2.5vw,26px); margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.trust-stat { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.trust-stat + .trust-stat { padding-left: clamp(14px,2.5vw,26px); border-left: 1px solid rgba(255,255,255,.14); }
.trust-stat b { font-family: 'Plus Jakarta Sans', sans-serif; font-size: var(--step-1); font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; }
.trust-stat span { font-size: var(--step--1); color: var(--on-navy-muted); }
.trust-stat b .accent { color: var(--teal-glow); }

/* ---------- Inner-page hero ---------- */
.page-hero { background: linear-gradient(165deg, var(--navy-700), var(--navy) 55%, var(--navy-900)); color: #fff; padding: clamp(56px,7vw,92px) 0 clamp(48px,6vw,72px); text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 720px; height: 520px; background: radial-gradient(circle, rgba(45,212,191,.14), transparent 60%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { max-width: 680px; margin: 0 auto; color: var(--on-navy); font-size: var(--step-1); line-height: 1.55; }
.page-hero.slate { background: linear-gradient(165deg, #3f566e, #2f4356); }
.page-hero.slate p { color: #eaf1f7; max-width: 900px; }

/* ---------- Calendly inline booking embed ---------- */
/* Narrow widths force Calendly's tall single-column layout; a wide embed gets its
   short side-by-side layout. Drive height from CSS so the iframe never scrolls. */
.cal-embed { min-width: 320px; height: 1780px; }
@media (min-width: 768px) { .cal-embed { height: 1380px; } }
/* The 1-hour session has fewer time slots, so it needs less height. */
.cal-embed.cal-embed-hour { height: 1240px; }
@media (min-width: 768px) { .cal-embed.cal-embed-hour { height: 920px; } }
.cal-note { max-width: 640px; margin: 26px auto 0; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.step-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-card .num { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(150deg, var(--teal-600), var(--teal)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; margin-bottom: 18px; box-shadow: 0 8px 18px rgba(15,118,110,.28); }
.step-card h3 { font-size: var(--step-1); margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: var(--step-0); margin: 0; }
.steps-section h2 { color: var(--ink); }
.steps-section .step-card { background: var(--surface); }

/* ---------- Journey / split ---------- */
.journey-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px,5vw,56px); align-items: center; }
.journey-grid h2 { margin: 0 0 .4em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,56px); align-items: center; }
.split img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); width: 100%; }

/* ---------- Services (photo cards, light) ---------- */
.services-section { background: var(--surface); }
.services-section h2 { color: var(--ink); }
.services-section .lead { color: var(--muted); max-width: 760px; }
.services-band { background: transparent; padding: 0; margin-top: clamp(32px,4vw,48px); }
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-card img { width: 100%; height: 168px; object-fit: cover; }
.service-card .sc-body { padding: 22px 24px 26px; }
.service-card h3 { font-size: var(--step-1); margin-bottom: 8px; color: var(--ink); }
.service-card p { color: var(--muted); font-size: var(--step--1); margin: 0; }

/* ---------- Feature / icon cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .icon-circle { width: 54px; height: 54px; border-radius: 15px; background: var(--blue-50); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.feature-card h3 { font-size: var(--step-1); margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: var(--step-0); margin: 0; }

/* ---------- Generic card ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }

/* ---------- Testimonial band (navy) ---------- */
.testimonial-band { background-size: cover; background-position: center; }
.testimonial-overlay { background: linear-gradient(180deg, rgba(12,34,54,.9), rgba(20,50,79,.86)); padding: clamp(64px,8vw,104px) 0; }
.t-carousel { position: relative; display: flex; align-items: center; gap: 16px; max-width: 960px; margin: 0 auto; }
.t-viewport { flex: 1; min-width: 0; position: relative; min-height: 240px; display: flex; align-items: center; }
.t-slide { display: none; width: 100%; }
.t-slide.active { display: block; animation: tfade .5s var(--ease); }
@keyframes tfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.t-badge { display: inline-block; background: rgba(45,212,191,.16); color: var(--teal-glow); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--pill); margin-bottom: 18px; border: 1px solid rgba(94,234,212,.3); }
.t-quote { color: #eaf2f8; font-size: var(--step-1); line-height: 1.7; max-width: 780px; margin: 0 auto 18px; }
.t-pullq { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: var(--step-2); line-height: 1.4; color: #fff; max-width: 840px; margin: 0 auto 18px; letter-spacing: -.01em; }
.t-name { color: var(--teal-glow); font-weight: 700; font-size: var(--step-0); margin: 0; }
.t-more { display: inline-block; margin: 2px auto 16px; background: none; border: none; color: var(--teal-glow); font-family: inherit; font-size: var(--step--1); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px 8px; }
.t-more:hover { color: #fff; }
.cal-wrap { text-align: center; }
.t-stats { display: flex; justify-content: center; max-width: 540px; margin: 26px auto 0; }
.t-stats > div { flex: 1; padding: 6px 24px; }
.t-stats > div + div { border-left: 1px solid rgba(255,255,255,.22); }
.t-stats span { display: block; font-size: 11px; color: var(--on-navy-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; }
.t-stats b { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: var(--step-0); line-height: 1.3; color: #fff; }
.t-arrow { flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.04); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; transition: all .2s var(--ease); }
.t-arrow:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: scale(1.06); }
.t-dots { display: flex; justify-content: center; gap: 9px; margin-top: 28px; }
.t-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.3); cursor: pointer; padding: 0; transition: all .2s ease; }
.t-dots button.active { background: var(--teal-glow); width: 26px; border-radius: 5px; }

/* Reviews list (light) */
.review-list { max-width: 820px; margin: 0 auto; display: grid; gap: 20px; }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow-sm); }
.review > p { color: var(--body); font-size: var(--step-0); line-height: 1.75; margin: 0 0 12px; }
.review > p strong { color: var(--ink); font-weight: 700; }
.review-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: var(--teal); font-size: var(--step-0); margin: 0; }

/* Reviewer credit box on articles (YMYL E-E-A-T) */
.reviewed-by { margin: 38px 0 0; padding: 20px 24px; background: var(--blue-50); border-left: 4px solid var(--teal); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.reviewed-by .rb-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin: 0 0 4px; }
.reviewed-by .rb-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: var(--ink); font-size: var(--step-0); margin: 0 0 8px; }
.reviewed-by .rb-bio { color: var(--body); font-size: var(--step--1); line-height: 1.6; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: .4em; }
.cta-band p { max-width: 640px; margin: 0 auto 28px; font-size: var(--step-1); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; min-height: 56px; text-align: left; background: none; border: none; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: var(--ink); font-size: var(--step-0); padding: 20px 24px; }
.faq-q .toggle { font-size: 26px; font-weight: 400; line-height: 1; transition: transform .2s; flex-shrink: 0; color: var(--teal); }
.faq-item.open .faq-q .toggle { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 24px 22px; color: var(--muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }
.section-navy .faq-item { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section-navy .faq-q { color: #fff; }
.section-navy .faq-a { color: var(--on-navy); }
.section-navy .faq-q .toggle { color: var(--teal-glow); }

/* ---------- Blog feed (light) ---------- */
.blog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 940px; margin: 0 auto 26px; flex-wrap: wrap; }
.blog-head h1 { margin: 0; color: var(--ink); }
.blog-search { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--pill); padding: 12px 18px; min-width: 280px; box-shadow: var(--shadow-sm); }
.blog-search svg { width: 18px; height: 18px; fill: var(--muted); flex-shrink: 0; }
.blog-search input { background: transparent; border: none; color: var(--ink); font-family: inherit; font-size: var(--step--1); width: 100%; outline: none; }
.blog-search input::placeholder { color: var(--muted); }
.blog-feed { max-width: 940px; margin: 0 auto; display: grid; gap: 14px; }
.feed-card { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s; }
.feed-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feed-cover { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); display: block; }
.feed-body { padding: 6px 8px 6px 0; }
.feed-readtime { font-size: var(--step--1); color: var(--teal); font-weight: 600; margin: 0 0 10px; }
.feed-title { font-size: var(--step-2); font-weight: 700; color: var(--ink); line-height: 1.2; margin: 0 0 10px; }
.feed-card:hover .feed-title { color: var(--teal); }
.feed-excerpt { font-size: var(--step-0); color: var(--muted); line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Post / article (light, readable) ---------- */
.post-section { padding-top: clamp(40px,5vw,64px); }
.article-box { max-width: var(--maxw-read); margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(32px,5vw,60px); box-shadow: var(--shadow-sm); }
.post-readtime { color: var(--teal); font-weight: 600; font-size: var(--step--1); margin: 0 0 14px; }
.article-box > h1 { color: var(--ink); line-height: 1.12; margin: 0 0 28px; }
.article { max-width: var(--maxw-read); margin: 0 auto; }
.article-body { font-size: var(--step-1); line-height: 1.7; color: var(--body); }
.article-body p { margin: 0 0 1.2em; }
.article-body h2 { font-size: var(--step-2); line-height: 1.2; margin: 1.8em 0 .5em; }
.article-body h3 { font-size: var(--step-1); line-height: 1.3; margin: 1.5em 0 .4em; }
.article-body h4 { font-size: var(--step-0); font-weight: 700; margin: 1.4em 0 .4em; }
.article-body a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.article-body ul, .article-body ol { padding-left: 24px; margin: 0 0 1.2em; }
.article-body li { margin: 8px 0; }
.article-body blockquote { margin: 1.4em 0; padding: 14px 22px; border-left: 4px solid var(--teal); background: var(--blue-50); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink); font-style: italic; }
.article-body img { max-width: 100%; height: auto; }
.post-figure { margin: 1.8em 0; }
.post-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); margin: 0; box-shadow: var(--shadow-sm); }
.post-figure figcaption { font-size: var(--step--1); line-height: 1.5; color: var(--muted); text-align: center; margin-top: 10px; }

/* ---------- Resources (light) ---------- */
.res-filter { display: flex; align-items: flex-end; gap: 22px; margin-bottom: 30px; flex-wrap: wrap; }
.res-filter label { display: block; color: var(--ink); font-size: var(--step--1); margin-bottom: 8px; font-weight: 600; }
.res-filter select { padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font-family: inherit; font-size: var(--step--1); min-width: 230px; }
.res-count { color: var(--muted); margin-bottom: 18px; }
.res-count strong { color: var(--ink); }
.res-rows { display: grid; gap: 16px; max-width: 940px; }
.res-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.res-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.res-row h3 { color: var(--ink); margin: 0; font-size: var(--step-1); }
.res-view { color: var(--teal); font-weight: 600; font-size: var(--step-0); flex-shrink: 0; }
.res-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.res-detail-head h1 { color: var(--ink); margin: 0; }
.res-detail-body { max-width: 760px; color: var(--body); font-size: var(--step-1); line-height: 1.75; }
.res-detail-body h2 { color: var(--ink); font-size: var(--step-2); margin: 1.4em 0 .5em; }
.res-detail-body ul { list-style: none; padding: 0; margin: 18px 0; }
.res-detail-body li { padding: 7px 0; border-bottom: 1px solid var(--border); }

/* ---------- Legal (light) ---------- */
.legal-title { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--ink); text-align: center; font-size: var(--step-3); font-weight: 800; margin: 0 0 14px; }
.legal-meta { color: var(--muted); max-width: 760px; margin: 0 auto 30px; text-align: center; }
.legal-body { color: var(--body); max-width: 760px; margin: 0 auto; font-size: var(--step-0); line-height: 1.8; }
.legal-body h2 { color: var(--ink); font-size: var(--step-1); margin: 1.6em 0 .5em; }
.legal-body h3 { color: var(--ink); font-size: var(--step-0); margin: 1.2em 0 .4em; }
.legal-body a { color: var(--teal); }
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body li { margin: 6px 0; }

/* ---------- Footer (navy) ---------- */
.site-footer { background: var(--navy-900); color: #fff; padding: clamp(40px,6vw,64px) 0; text-align: center; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 18px; }
.footer-nav a { color: var(--on-navy); font-size: var(--step--1); padding: 6px 4px; }
.footer-nav a:hover { color: var(--teal-glow); }
.footer-copy { color: var(--on-navy-muted); font-size: var(--step--1); margin: 0; }

/* ---------- Scroll reveal (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) { .service-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 920px) {
  .site-header .container { flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .header-top { flex: 1; justify-content: space-between; }
  .header-nav { display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 14px; width: 100%; flex-basis: 100%; }
  .nav-open .header-nav { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-links a { display: block; padding: 14px 8px; border-radius: 10px; border-bottom: 1px solid var(--border); }
  .nav-links a.active::after { display: none; }
  .login-link { padding: 12px 8px; justify-content: flex-start; }
  .btn-connect { margin-top: 12px; justify-content: center; }
  .hero-grid, .journey-grid, .split { grid-template-columns: 1fr; gap: 30px; }
  .steps-grid, .feature-grid { grid-template-columns: 1fr; }
  .feed-card { grid-template-columns: 1fr; gap: 16px; }
  .container, .container-narrow, .container-wide { padding: 0 18px; }
}
@media (max-width: 600px) {
  .service-grid { grid-template-columns: 1fr; }
  .trust-strip { gap: 12px; }
  .trust-stat + .trust-stat { padding-left: 10px; }
  .trust-stat b { white-space: normal; font-size: 15px; }
  .t-arrow { width: 42px; height: 42px; font-size: 19px; }
  /* About page on phones: drop the eyebrow labels and tighten the section rhythm */
  .page-about .eyebrow { display: none; }
  .page-about .split { gap: 20px; }
  .page-about section:not(.page-hero) { padding: 40px 0; }
}

/* ============ Members area (navy theme, teal accent) ============ */
.pricing-section { padding-top: clamp(40px,5vw,56px); }
.pricing-head { text-align: center; color: #fff; font-size: var(--step-5); font-weight: 800; line-height: 1.05; margin: 0 0 48px; letter-spacing: -.02em; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1060px; margin: 0 auto; }
.plan-card { position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); padding: 40px 28px 30px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform .2s var(--ease), border-color .2s, background .2s; }
.plan-card:hover { transform: translateY(-5px); border-color: rgba(45,212,191,.4); background: rgba(255,255,255,.06); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: rgba(45,212,191,.16); color: var(--teal-glow); border: 1px solid rgba(45,212,191,.5); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; padding: 6px 14px; border-radius: var(--pill); }
.plan-badge-pop { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: 0 6px 16px rgba(0,0,0,.28); }
.plan-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: var(--step-1); font-weight: 700; color: #fff; margin: 0 0 16px; min-height: 54px; display: flex; align-items: center; }
.plan-price { color: #fff; line-height: 1; margin-bottom: 8px; }
.plan-cur { font-size: 22px; vertical-align: top; position: relative; top: 10px; margin-right: 2px; color: var(--teal-glow); }
.plan-amt { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(48px,6vw,64px); font-weight: 800; letter-spacing: -2px; }
.plan-recur { font-size: 12px; color: var(--on-navy); margin: 0 0 4px; text-transform: uppercase; letter-spacing: .06em; }
.plan-duration { font-size: 12px; color: var(--on-navy-muted); margin: 0 0 4px; }
.plan-tagline { font-size: var(--step--1); color: var(--on-navy); line-height: 1.5; margin: 14px 0 0; }
.plan-benefits { list-style: none; padding: 0; margin: 16px 0 24px; text-align: left; width: 100%; }
.plan-benefits li { position: relative; padding-left: 26px; margin: 10px 0; color: var(--on-navy); font-size: var(--step--1); line-height: 1.45; }
.plan-benefits li::before { content: "\2713"; position: absolute; left: 0; color: var(--teal-glow); font-weight: 700; }
.plan-cta { margin-top: auto; width: 100%; box-sizing: border-box; border: none; cursor: pointer; background: var(--teal); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: var(--step-0); font-weight: 700; padding: 14px 16px; min-height: 48px; border-radius: var(--pill); text-align: center; transition: background .18s ease, transform .18s var(--ease); }
.plan-cta:hover { background: #0c5f59; text-decoration: none; transform: translateY(-2px); }
.plan-cta-alt { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; background: transparent; box-shadow: inset 0 0 0 1.5px var(--teal-bright); color: var(--teal-glow); }
.plan-cta-alt:hover { background: rgba(45,212,191,.12); }
.pricing-note { text-align: center; color: var(--on-navy-muted); font-size: var(--step--1); margin: 44px auto 0; max-width: 640px; }
.pricing-note a { color: var(--teal-glow); }
@media (max-width: 900px){ .plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .plan-grid { grid-template-columns: 1fr; max-width: 380px; } .plan-title { min-height: 0; } }

.member-section { padding-top: clamp(48px,6vw,72px); min-height: 62vh; }
.auth-wrap { max-width: 440px; margin: 0 auto; }
.auth-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); padding: 38px 34px; box-shadow: var(--shadow-lg); }
.auth-card h1 { color: #fff; font-size: var(--step-2); margin: 0 0 6px; }
.auth-sub { color: var(--on-navy-muted); font-size: var(--step--1); margin: 0 0 24px; }
.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; color: var(--on-navy); font-size: var(--step--1); font-weight: 600; margin-bottom: 7px; }
.auth-field input, .auth-field textarea { width: 100%; box-sizing: border-box; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-sm); color: #fff; font-family: inherit; font-size: var(--step-0); padding: 13px 15px; outline: none; transition: border-color .15s; }
.auth-field input:focus, .auth-field textarea:focus { border-color: var(--teal-bright); }
.auth-btn { width: 100%; border: none; cursor: pointer; background: var(--teal); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: var(--step-0); font-weight: 700; padding: 14px; min-height: 48px; border-radius: var(--pill); transition: background .18s ease, transform .18s var(--ease); }
.auth-btn:hover { background: #0c5f59; transform: translateY(-1px); }
.auth-btn:disabled { opacity: .6; cursor: default; transform: none; }
.auth-alt { text-align: center; color: var(--on-navy-muted); font-size: var(--step--1); margin-top: 20px; }
.auth-alt a, .auth-link { color: var(--teal-glow); cursor: pointer; }
.auth-msg { font-size: var(--step--1); margin: 0 0 16px; padding: 11px 14px; border-radius: var(--r-sm); display: none; }
.auth-msg.show { display: block; }
.auth-msg.error { background: rgba(220,70,70,.15); color: #ffc2c2; border: 1px solid rgba(220,70,70,.35); }
.auth-msg.ok { background: rgba(45,212,191,.14); color: var(--teal-glow); border: 1px solid rgba(45,212,191,.32); }
.setup-banner { max-width: 760px; margin: 0 auto 22px; background: rgba(255,196,80,.1); border: 1px solid rgba(255,196,80,.4); color: #ffe2a8; font-size: var(--step--1); line-height: 1.5; padding: 13px 18px; border-radius: var(--r-sm); }
.setup-banner code { background: rgba(0,0,0,.25); padding: 1px 5px; border-radius: 4px; }
.account-wrap { max-width: 760px; margin: 0 auto; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.account-head h1 { color: #fff; margin: 0; font-size: var(--step-3); }
.account-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); padding: 28px 30px; margin-bottom: 22px; }
.account-card h2 { color: #fff; font-size: var(--step-1); margin: 0 0 14px; }
.account-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--on-navy); font-size: var(--step-0); }
.account-row:last-child { border-bottom: none; }
.account-row .k { color: var(--on-navy-muted); }
.badge.active { background: rgba(45,212,191,.18); color: var(--teal-glow); }
.badge.inactive { background: rgba(255,255,255,.1); color: var(--on-navy); }
.account-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.course-wrap, .lesson-wrap { max-width: 820px; margin: 0 auto; }
.course-hero { margin-bottom: 30px; }
.course-eyebrow { color: var(--teal-glow); font-size: var(--step--1); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; }
.course-hero h1 { color: #fff; margin: 0 0 10px; }
.course-tagline { color: var(--on-navy); font-size: var(--step-1); margin: 0 0 14px; }
.course-intro { color: var(--on-navy); font-size: var(--step-0); line-height: 1.65; margin: 0; }
.course-progress { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.course-progress .bar { flex: 1; height: 9px; background: rgba(255,255,255,.12); border-radius: var(--pill); overflow: hidden; }
.course-progress .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); border-radius: var(--pill); transition: width .4s var(--ease); }
.course-progress-label { color: var(--on-navy-muted); font-size: var(--step--1); white-space: nowrap; }
.course-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 28px 30px; margin-bottom: 22px; }
.course-card h2 { color: #fff; font-size: var(--step-1); margin: 0 0 16px; }
.course-card h3 { color: var(--on-navy); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }
.lesson-list { list-style: none; padding: 0; margin: 0; }
.lesson-row a { display: flex; align-items: center; gap: 16px; padding: 16px 8px; border-bottom: 1px solid rgba(255,255,255,.08); text-decoration: none; border-radius: 10px; transition: background .15s; }
.lesson-row:last-child a { border-bottom: none; }
.lesson-row a:hover { background: rgba(255,255,255,.05); }
.lesson-num { flex: 0 0 38px; height: 38px; width: 38px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--on-navy); font-weight: 700; font-size: 15px; }
.lesson-row.is-done .lesson-num { background: rgba(45,212,191,.2); color: var(--teal-glow); }
.lesson-meta { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.lesson-title { color: #fff; font-size: var(--step-0); font-weight: 600; }
.lesson-dur { color: var(--on-navy-muted); font-size: var(--step--1); }
.lesson-go { color: var(--on-navy-muted); font-size: 18px; }
.res-group { margin-bottom: 22px; }
.res-group:last-child { margin-bottom: 0; }
.res-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.res-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; min-height: 48px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-sm); color: #fff; text-decoration: none; font-size: var(--step--1); transition: border-color .15s, background .15s; }
a.res-link:hover { border-color: var(--teal-bright); background: rgba(45,212,191,.08); }
.res-go { color: var(--teal-glow); }
.res-soon { color: var(--on-navy-muted); border-style: dashed; }
.res-soon em { color: var(--on-navy-muted); font-style: normal; font-size: 12px; }
.res-tool { display: flex; flex-direction: column; gap: 6px; }
.res-tool > .res-link { width: 100%; box-sizing: border-box; }
.res-xlsx { align-self: flex-start; font-size: 12px; color: var(--on-navy-muted); text-decoration: underline; text-underline-offset: 2px; padding-left: 2px; }
a.res-xlsx:hover { color: var(--teal-glow); text-decoration: underline; }
.course-feedback-cta p { color: var(--on-navy); font-size: var(--step-0); line-height: 1.6; margin: 0 0 16px; }
.course-back { margin: 0 0 16px; }
.course-back a { color: var(--on-navy); text-decoration: none; font-size: var(--step--1); }
.lesson-head { margin-bottom: 22px; }
.lesson-kicker { color: var(--teal-glow); font-size: var(--step--1); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.lesson-head h1 { color: #fff; margin: 8px 0 0; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; box-shadow: var(--shadow-lg); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-empty { border: 1px dashed rgba(255,255,255,.25); border-radius: var(--radius); padding: 44px 24px; text-align: center; color: var(--on-navy-muted); font-size: var(--step-0); margin-bottom: 24px; }
.video-empty code { background: rgba(0,0,0,.25); padding: 1px 6px; border-radius: 4px; color: var(--on-navy); }
.video-locked { color: #ffe2a8; border-color: rgba(255,196,80,.4); }
.video-locked a { color: var(--teal-glow); }
.lesson-summary { color: var(--on-navy); font-size: var(--step-0); line-height: 1.7; margin: 0; }
.lesson-complete { display: flex; align-items: center; gap: 12px; padding: 16px 0 4px; }
.lesson-complete label { display: flex; align-items: center; gap: 10px; color: #fff; font-size: var(--step-0); cursor: pointer; }
.lesson-complete input { width: 20px; height: 20px; accent-color: var(--teal); }
.done-saved { color: var(--teal-glow); font-size: var(--step--1); }
.lesson-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
@media (max-width: 600px){ .res-grid { grid-template-columns: 1fr; } }
.course-claim-btn { display: inline-flex; align-items: center; min-height: 40px; background: var(--teal); color: #fff; border: none; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: var(--step--1); padding: 8px 18px; border-radius: var(--pill); margin: 2px 6px; }
.course-claim-btn:hover { background: #0c5f59; }
.course-claim-btn:disabled { opacity: .65; cursor: default; }

/* ===================== 2026 course experience ===================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Focus mode: hide marketing chrome in the member/course view */
.member-view .nav-links, .member-view .btn-connect { display: none; }
.member-view .header-nav { justify-content: flex-end; }
.member-view #loading { display: none; }
/* Primary buttons pop on the dark member canvas: bright teal fill, dark label */
.member-section .btn-primary { background: var(--teal-bright); color: var(--navy-900); box-shadow: 0 6px 18px rgba(45,212,191,.28); }
.member-section .btn-primary:hover { background: var(--teal-glow); color: var(--navy-900); }

/* Resume / Continue card */
.course-resume { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(135deg, rgba(45,212,191,.16), rgba(45,212,191,.06)); border: 1px solid rgba(94,234,212,.32); border-radius: var(--r-lg); padding: 22px 26px; margin-bottom: 22px; text-decoration: none; transition: border-color .15s, transform .15s var(--ease); }
a.course-resume:hover { border-color: var(--teal-bright); transform: translateY(-2px); text-decoration: none; }
.course-resume .cr-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cr-kicker { color: var(--teal-glow); font-size: var(--step--1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cr-title { color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: var(--step-1); }
.cr-dur, .cr-sub { color: var(--on-navy-muted); font-size: var(--step--1); }
.cr-btn { flex: 0 0 auto; white-space: nowrap; }
.course-resume.course-done { background: linear-gradient(135deg, rgba(45,212,191,.2), rgba(45,212,191,.07)); }

/* Course hero: two columns with a progress-ring focal point */
.course-hero-2col { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; }
.ch-main { min-width: 0; }
.course-stats { list-style: none; display: flex; flex-wrap: wrap; align-items: center; padding: 0; margin: 18px 0 0; }
.course-stats li { color: var(--on-navy); font-size: var(--step--1); padding: 0 14px; line-height: 1.3; border-right: 1px solid rgba(255,255,255,.18); }
.course-stats li:first-child { padding-left: 0; }
.course-stats li:last-child { border-right: none; padding-right: 0; }
.ch-aside { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 0 0 auto; }
.pring-wrap { position: relative; width: 132px; height: 132px; }
.pring { width: 132px; height: 132px; transform: rotate(-90deg); }
.pring-track { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 10; }
.pring-fill { fill: none; stroke: var(--teal-bright); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset .6s var(--ease); }
.pring-pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 28px; color: #fff; }
.ring-label { color: var(--on-navy); font-weight: 600; font-size: var(--step--1); margin: 12px 0 4px; }
.ring-pace { color: var(--on-navy-muted); font-size: 12px; line-height: 1.5; max-width: 210px; margin: 0; }

/* "What you'll walk away with" outcome panel */
.course-outcomes { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-left: 3px solid var(--teal-bright); border-radius: var(--r-lg); padding: 24px 28px; margin-bottom: 22px; }
.course-outcomes h2 { color: #fff; font-size: var(--step-1); margin: 0 0 16px; }
.outcome-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.outcome-list li { color: var(--on-navy); font-size: var(--step-0); line-height: 1.5; padding-left: 32px; position: relative; }
.outcome-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(45,212,191,.18); color: var(--teal-glow); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

@media (max-width: 640px) {
  .course-hero-2col { grid-template-columns: 1fr; gap: 22px; }
  .ch-aside { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 10px 18px; text-align: left; }
  .ring-pace { max-width: none; flex: 1 1 200px; }
}

/* ===================== Member-view LIGHT theme (course + lesson) ===================== */
/* Light canvas + dark text, overriding the navy section defaults */
.member-view .member-section { background: var(--gray); color: var(--body); }
.member-view .member-section :is(h1, h2, h3, h4) { color: var(--ink); }
.member-view .member-section p { color: var(--body); }
.member-view .member-section a { color: var(--teal); }
.member-view .course-eyebrow { color: var(--teal); }

/* Cards become white on light */
.member-view .course-card, .member-view .course-outcomes { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.member-view .course-card h2 { color: var(--ink); }
.member-view .course-card h3 { color: var(--muted); }

/* Lesson list */
.member-view .lesson-row a { border-bottom-color: var(--border); }
.member-view .lesson-row a:hover { background: var(--surface-2); }
.member-view .lesson-num { background: var(--surface-2); color: var(--body); }
.member-view .lesson-row.is-done .lesson-num { background: rgba(15,118,110,.12); color: var(--teal); }
.member-view .lesson-title { color: var(--ink); }
.member-view .lesson-dur, .member-view .lesson-go { color: var(--muted); }
.member-view .lesson-row.is-next > a { background: var(--blue-50); box-shadow: inset 0 0 0 1px rgba(15,118,110,.25); }
.member-view .lesson-row.is-next .lesson-go { color: var(--teal); }

/* Resources */
.member-view .res-link { border-color: var(--border-2); color: var(--ink); background: var(--surface); }
.member-view a.res-link:hover { border-color: var(--teal); background: var(--blue-50); }
.member-view .res-link .res-label { color: var(--ink); }
.member-view .res-go { color: var(--teal); }
.member-view .res-note, .member-view .res-sub, .member-view .res-soon em, .member-view .res-xlsx { color: var(--muted); }
.member-view a.res-xlsx:hover { color: var(--teal); }

/* Resume card -> light teal tint */
.member-view .course-resume { background: var(--blue-50); border-color: rgba(15,118,110,.28); }
.member-view a.course-resume:hover { border-color: var(--teal); }
.member-view .cr-kicker { color: var(--teal); }
.member-view .cr-title { color: var(--ink); }
.member-view .cr-dur, .member-view .cr-sub { color: var(--muted); }

/* Outcomes panel */
.member-view .course-outcomes { border-left: 3px solid var(--teal); }
.member-view .outcome-list li { color: var(--body); }
.member-view .outcome-list li::before { background: rgba(15,118,110,.12); color: var(--teal); }

/* Lesson page bits */
.member-view .course-back a { color: var(--muted); }
.member-view .lesson-kicker { color: var(--teal); }
.member-view .lesson-summary { color: var(--body); }
.member-view .lesson-transcript { border-color: var(--border); background: var(--surface); }
.member-view .lesson-transcript summary { color: var(--ink); }
.member-view .lesson-transcript .lt-body { color: var(--body); }
.member-view .video-empty { border-color: var(--border-2); color: var(--muted); }
.member-view .video-empty code { background: rgba(0,0,0,.06); color: var(--ink); }
.member-view .video-locked { color: #8a5200; border-color: rgba(212,150,40,.5); }
.member-view .lesson-complete label { color: var(--ink); }
.member-view .lesson-undo, .member-view .done-saved { color: var(--muted); }
.member-view .course-feedback-cta p { color: var(--body); }

/* Buttons on the light canvas (revert the dark-canvas bright override) */
.member-view .btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(15,118,110,.24); }
.member-view .btn-primary:hover { background: #0c5f59; color: #fff; }
.member-view .btn-light { background: var(--surface); color: var(--ink); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }

/* Setup / locked banner on light */
.member-view .setup-banner { background: var(--blue-50); border-color: rgba(15,118,110,.3); color: var(--body); }
.member-view .setup-banner code { background: rgba(0,0,0,.08); color: var(--ink); }

/* HERO stays a navy focal panel (re-assert its dark theme) */
.member-view .course-hero { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--navy-700), var(--navy) 60%, var(--navy-900)); border-radius: var(--r-lg); padding: clamp(26px,3vw,36px) clamp(24px,3vw,38px); box-shadow: var(--shadow-md); }
.member-view .course-hero::before { content: ""; position: absolute; top: -45%; right: -8%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(45,212,191,.2), transparent 62%); pointer-events: none; }
.member-view .course-hero > * { position: relative; z-index: 1; }
.member-view .course-hero .course-eyebrow { color: var(--teal-glow); }
.member-view .course-hero h1 { color: #fff; }
.member-view .course-hero .course-tagline { color: var(--on-navy); }
.member-view .course-hero .course-stats li { color: var(--on-navy); border-right-color: rgba(255,255,255,.2); }
.member-view .course-hero .ring-label { color: var(--on-navy); }
.member-view .course-hero .ring-pace { color: var(--on-navy-muted); }
.member-view .course-hero .pring-pct { color: #fff; }

/* Feedback form fields (light) */
.fb-field { margin-bottom: 18px; }
.fb-field > label { display: block; color: var(--ink); font-weight: 600; font-size: var(--step--1); margin-bottom: 6px; }
.fb-field select, .fb-field textarea, .fb-field input { width: 100%; box-sizing: border-box; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-sm); color: var(--ink); font-family: inherit; font-size: 15px; padding: 11px 13px; outline: none; }
.fb-field select:focus, .fb-field textarea:focus, .fb-field input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,118,110,.12); }
.fb-hint { color: var(--muted); font-size: 12px; margin: 5px 0 0; }
.fb-section { color: var(--teal); font-size: var(--step--1); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 28px 0 6px; }

/* Phone scripts page */
.script-toc { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; margin: 14px 0 0; font-size: var(--step--1); }
.script-toc-lead { color: var(--muted); font-weight: 600; }
.script-toc a { color: var(--teal); text-decoration: none; border-bottom: 1px solid transparent; }
.script-toc a:hover { border-bottom-color: var(--teal); }
.script-tools { margin: 16px 0 0; }
.script-list { padding-top: 4px; }
.script-block { padding: 24px 0; border-top: 1px solid var(--border); }
.script-list .script-block:first-child { padding-top: 2px; border-top: 0; }
.script-block h2 { color: var(--ink); font-size: var(--step-1); margin: 0 0 8px; }
.script-block h3 { color: var(--teal); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; margin: 18px 0 6px; }
.script-when { color: var(--body); margin: 0 0 4px; }
.script-block p { color: var(--body); margin: 6px 0; }
.script-block ul { margin: 6px 0 0; padding-left: 20px; color: var(--body); }
.script-block ul li { margin: 5px 0; }
.script-line { display: block; background: var(--surface-2); border-left: 3px solid var(--teal); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 9px 13px; margin: 7px 0; color: var(--ink); }
p > .script-line { display: inline; background: none; border: 0; padding: 0; color: var(--ink); font-weight: 600; }
.script-foot { color: var(--muted); font-size: var(--step--1); margin: 22px 0 0; }

/* Lesson teaching body */
.lesson-subtitle { color: var(--body); font-size: var(--step-1); font-weight: 600; margin: 0 0 12px; }
.lesson-body p { color: var(--body); margin: 0 0 12px; line-height: 1.75; }
.lesson-body p:last-child { margin-bottom: 0; }
.lesson-action, .lesson-quickwin { border-radius: var(--r-sm); padding: 14px 16px; margin-top: 14px; }
.lesson-action { background: #ecfdf5; border: 1px solid #c2e9dd; }
.lesson-quickwin { background: var(--surface-2); border: 1px solid var(--border-2); }
.lesson-action .la-label, .lesson-quickwin .la-label { display: block; text-transform: uppercase; letter-spacing: .05em; font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.lesson-action .la-label { color: var(--teal); }
.lesson-quickwin .la-label { color: var(--muted); }
.la-text { margin: 0; color: var(--ink); }

/* Lesson grouping on the course home */
.lesson-group { margin-top: 22px; }
.lesson-group:first-child { margin-top: 0; }
.lesson-group-head { display: block; color: var(--ink); font-size: var(--step-1); margin: 0 0 2px; }
.lesson-group-sub { display: block; color: var(--muted); font-size: var(--step--1); margin: 0 0 10px; }

/* Confirmation page */
.confirmed-card { text-align: center; max-width: 640px; margin: 0 auto; }
.confirmed-kicker { color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: var(--step--1); margin: 0 0 8px; }
.confirmed-card h1 { margin: 0 0 12px; }
.confirmed-lead { color: var(--body); font-size: var(--step-1); margin: 0 0 14px; }
.confirmed-card p { color: var(--body); margin: 0 0 12px; }
.confirmed-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

/* Print (mainly for the phone scripts page) */
@media print {
  .no-print { display: none !important; }
  .member-view, .member-view .section-navy, .member-view .member-section { background: #fff !important; padding: 0 !important; }
  .member-view .course-card { box-shadow: none !important; border: 0 !important; padding: 0 !important; margin: 0 0 10px !important; }
  .script-block { break-inside: avoid; padding: 12px 0 !important; border-top: 1px solid #ccc !important; }
  .script-line { background: #f3f3f3 !important; color: #000 !important; }
  body { color: #000 !important; }
}

/* Progress milestones */
.course-progress .bar { position: relative; }
.course-progress .bar .ms { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--navy-900); opacity: .55; }

/* Lesson list: next-up */
.lesson-row.is-next > a { background: rgba(45,212,191,.08); box-shadow: inset 0 0 0 1px rgba(94,234,212,.28); }
.lesson-row.is-next .lesson-go { color: var(--teal-glow); font-size: var(--step--1); font-weight: 700; white-space: nowrap; }

/* Resource items: icons, purpose notes, inline errors */
.res-item { display: flex; flex-direction: column; gap: 4px; }
.res-link { justify-content: flex-start; }
.res-link .res-label { flex: 1 1 auto; }
.res-link .res-go { flex: 0 0 auto; white-space: nowrap; }
.res-ico { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.res-ico-sheet { background: #1a8a4d; color: #fff; } .res-ico-sheet::before { content: "GS"; font-size: 9px; }
.res-ico-excel { background: #1d6f42; color: #fff; } .res-ico-excel::before { content: "XLS"; font-size: 8px; }
.res-ico-pdf { background: #c8412a; color: #fff; } .res-ico-pdf::before { content: "PDF"; font-size: 8px; }
.res-ico-doc { background: #2b579a; color: #fff; } .res-ico-doc::before { content: "DOC"; font-size: 8px; }
.res-ico-link { background: rgba(94,234,212,.18); color: var(--teal-glow); } .res-ico-link::before { content: "\2197"; font-size: 14px; }
.res-note { color: var(--on-navy-muted); font-size: 12px; line-height: 1.45; padding-left: 2px; }
.res-err { color: #ffc4a8; font-size: 12px; }
.res-err:empty { display: none; }
.res-sub { color: var(--on-navy-muted); font-size: 12px; line-height: 1.45; padding-left: 2px; }
.res-sub .res-note { padding-left: 0; font-size: 12px; }
.res-sub .res-xlsx { padding-left: 0; }
.res-dot { margin: 0 5px; opacity: .45; }

/* Transcript */
.lesson-transcript { margin: 0 0 24px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-sm); background: rgba(255,255,255,.03); }
.lesson-transcript summary { cursor: pointer; padding: 14px 18px; color: var(--on-navy); font-weight: 600; font-size: var(--step--1); list-style-position: inside; }
.lesson-transcript .lt-body { padding: 4px 18px 18px; color: var(--on-navy); font-size: 16px; line-height: 1.7; max-width: 64ch; }
.lesson-transcript .lt-body p { margin: 0 0 12px; }

/* Video loading + retry */
.video-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.vspin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; animation: vspin .8s linear infinite; }
@keyframes vspin { to { transform: rotate(360deg); } }
.link-btn { background: none; border: none; color: var(--teal-glow); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; padding: 0; }

/* Lesson foot: complete + continue */
.lesson-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.lesson-cta-wrap { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.lesson-cta.cta-ready { box-shadow: 0 0 0 4px rgba(45,212,191,.3); }
.lesson-undo { background: none; border: none; color: var(--on-navy-muted); font: inherit; font-size: var(--step--1); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.lesson-undo.is-hidden { display: none; }

/* Calmer lesson title + readable prose measure */
.lesson-head h1 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; }
.course-intro, .lesson-summary { max-width: 64ch; }
.lesson-summary { font-size: 17px; }

/* Skeleton loading */
.course-skeleton { max-width: 820px; margin: 0 auto; }
.sk { background: rgba(255,255,255,.07); border-radius: 8px; position: relative; overflow: hidden; }
.sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); animation: skshimmer 1.3s infinite; }
@keyframes skshimmer { 100% { transform: translateX(100%); } }
.sk-title { height: 34px; width: 55%; margin-bottom: 16px; }
.sk-line { height: 14px; width: 100%; margin-bottom: 10px; }
.sk-line.short { width: 68%; }
.sk-card { height: 130px; margin-top: 22px; border-radius: var(--r-lg); }

/* Reduced motion (site-wide) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Member-area mobile */
@media (max-width: 600px) {
  .course-resume { flex-direction: column; align-items: stretch; }
  .course-resume .cr-btn { text-align: center; }
  .lesson-foot { flex-direction: column-reverse; align-items: stretch; }
  .lesson-cta-wrap { justify-content: center; }
}
.claim-alt { color: var(--teal-glow); font-size: var(--step--1); white-space: nowrap; }
