/* Skill.re landing page - design tokens + Bootstrap 5.3 overrides.
   Colours live ONLY in :root; everything below uses the tokens. */
:root{
  /* type */
  --font-sans: "Figtree", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-serif: Georgia, "Times New Roman", serif;

  /* colour */
  --ink:        #0F172A;
  --body:       #334155;
  --muted:      #524E46;
  --bg:         #FAFAF9;
  --surface:    #FFFFFF;
  --surface-2:  #F2F3F5;
  --line:       #E2E8F0;
  --lime:       #C9F75A;
  --lime-glow:  #A8DD2F;
  --lime-tint:  #E8F8B8;
  --accent-ink: #4D6300;
  --purple:     #4C329E;  --purple-tint: #E5DCFB;
  --green:      #006B4B;  --green-tint:  #CFF2E5;
  --pink-tint:  #FCE1EA;  --pink:  #9E2A55;
  --blue-tint:  #DCE8FB;  --blue:  #1F4E9E;
  --navy:       #1E2A4A;
  --cream:      #F6F3EA;
  --cert-a:     #EFE9FF;  --cert-b: #F9F5FF;
  --white:      #FFFFFF;
  --white-06:   rgba(255,255,255,.06);
  --white-12:   rgba(255,255,255,.12);
  --white-70:   rgba(255,255,255,.72);
  --nav-bg:     rgba(250,250,249,.82);
  --focus:      #4D6300;
  /* home-page phone mockup */
  --phone:      #0B0B0B;
  --live:       #15803D;
  --av-1:       #7C5CE6;  --av-2: #00B07C;  --av-3: #FF6B6B;  --av-4: #7AB7FF;
  --ph-cover:   linear-gradient(150deg, #7C5CE6, #9D7BFF 60%, #C9F75A);
  --ph-dot:     rgba(0,0,0,.15);
  --live-ring:  rgba(34,197,94,.55);

  /* shape */
  --r-pill: 99px;
  --r-card: 20px;
  --r-sm:   12px;
  --r-band: 28px;
  --shadow-card: 0 10px 30px -8px rgba(15,23,42,.08);
  --shadow-card-hover: 0 18px 40px -12px rgba(15,23,42,.16);
  --shadow-lime: 0 10px 30px -10px rgba(168,221,47,.8);
}

/* ── base ─────────────────────────────────────────────── */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--font-sans); background: var(--bg); color: var(--body); font-weight: 500; font-size: 17px; line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-sans); }
a { color: var(--ink); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.container { max-width: 1200px; }

.eyebrow { display: inline-block; font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .18em; background: var(--lime-tint); color: var(--accent-ink); border-radius: var(--r-pill); padding: 4px 10px; margin-bottom: 16px; }
.h1 { font-size: 52px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 20px; }
.h2 { font-size: 46px; font-weight: 700; letter-spacing: -.025em; line-height: 1.08; margin-bottom: 12px; }
.h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.accent { color: var(--accent-ink); }
.lead-s { font-size: 19px; color: var(--body); max-width: 640px; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

/* ── buttons ──────────────────────────────────────────── */
.btn-sr { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; border-radius: var(--r-pill); padding: 10px 18px; border: 1px solid transparent; text-decoration: none; font-size: 15px; line-height: 1.2; cursor: pointer; transition: transform 180ms ease-out, box-shadow 180ms ease-out, background-color 180ms ease-out; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { color: var(--white); transform: translateY(-1px); }
.btn-lime { background: var(--lime); color: var(--ink); padding: 15px 26px; box-shadow: var(--shadow-lime); font-size: 16px; }
.btn-lime:hover { color: var(--ink); transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn-ghost.big { padding: 15px 26px; font-size: 16px; }
.btn-link-sr { background: none; border: 0; font-weight: 600; color: var(--ink); text-decoration: none; padding: 0; }

/* ── navbar ───────────────────────────────────────────── */
/* The blur sits on a pseudo-element: backdrop-filter on the header itself would
   make it the containing block of the fixed offcanvas menu (page scrolls sideways). */
.sr-nav { position: sticky; top: 0; z-index: 1030; border-bottom: 1px solid var(--line); }
.sr-nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--nav-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.sr-nav .navbar-nav { gap: 4px; }
.sr-nav .navbar { padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; font-size: 21px; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand .logo-mark { width: 34px; height: 34px; object-fit: contain; flex: none; }
.sr-footer .brand .logo-mark { background: var(--white); border-radius: 9px; padding: 2px; }
.sr-nav .navbar-nav .nav-link { color: var(--ink); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: var(--r-pill); }
.sr-nav .nav-link:hover { background: var(--surface-2); }
.sr-nav .navbar-toggler { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px 10px; }
.sr-nav .navbar-toggler:focus { box-shadow: none; }
.offcanvas { background: var(--bg); }
.sr-nav .offcanvas .navbar-nav .nav-link { font-size: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
@media (min-width: 992px) { .sr-nav .offcanvas .navbar-nav .nav-link { font-size: 15px; padding: 8px 12px; border-bottom: 0; border-radius: var(--r-pill); } }

/* ── hero ─────────────────────────────────────────────── */
.hero { padding: 72px 0 64px; position: relative; overflow: hidden; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { position: relative; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; pointer-events: none; }
.glow.purple { background: var(--purple-tint); }
.glow.lime { background: var(--lime); }
.hero-art .glow.purple { width: 320px; height: 320px; top: -40px; left: -20px; }
.hero-art .glow.lime { width: 280px; height: 280px; bottom: -40px; right: -10px; opacity: .45; }
.hero-art img { position: relative; z-index: 1; display: block; margin: 0 auto; }
.hero-proof { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; font-size: 14px; color: var(--muted); }
.hero-proof strong { color: var(--ink); }

/* ── hero phone (copied from the skill.re home page, /cdn/css/landing.css) ── */
.hero-art .hero-phone { position: relative; z-index: 1; display: flex; justify-content: center; }
.phone { position: relative; width: min(300px, 80vw); aspect-ratio: 300 / 600; background: var(--phone); border-radius: 42px; padding: 11px; box-shadow: var(--shadow-card-hover); animation: phoneFloat 7s ease-in-out infinite; }
@keyframes phoneFloat { 50% { transform: translateY(-14px) rotate(-1deg); } }
.phone-notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 42%; height: 20px; background: var(--phone); border-radius: 0 0 14px 14px; z-index: 3; }
.phone-screen { width: 100%; height: 100%; background: var(--bg); border-radius: 32px; overflow: hidden; padding: 1.4rem 1rem 1rem; display: flex; flex-direction: column; justify-content: flex-start; gap: .5rem; color: var(--ink); }
.m-top { display: flex; align-items: center; justify-content: space-between; margin-top: .4rem; gap: .5rem; }
.m-ttl { font-weight: 600; font-size: 16px; line-height: 1.1; }
.m-streak { background: var(--lime-tint); color: var(--accent-ink); font-weight: 600; font-size: 12px; padding: .25rem .55rem; border-radius: var(--r-pill); flex: none; }
.m-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: var(--white); font-weight: 600; font-size: 12px; border: 2px solid var(--white); margin-left: -8px; position: relative; flex: none; }
.m-av:first-child { margin-left: 0; }
.m-av.on { outline: 2px solid var(--lime-glow); outline-offset: 1px; }
.m-av.more { background: var(--surface-2); color: var(--muted); }
.dotg { width: 9px; height: 9px; border-radius: 50%; background: var(--live); display: inline-block; flex: none; box-shadow: 0 0 0 0 var(--live-ring); animation: livePulse 2s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 var(--live-ring); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.ph-cap { font-size: 12px; font-weight: 600; color: var(--accent-ink); background: var(--lime-tint); border-radius: var(--r-pill); padding: .4rem .65rem; text-align: center; margin: .1rem 0; min-height: 1.85rem; display: flex; align-items: center; justify-content: center; transition: opacity .18s; }
.ph-stage { position: relative; flex: 1; min-height: 0; }
.ph-scene { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .65rem; text-align: center; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.ph-scene.on { opacity: 1; transform: none; }
@keyframes phPop { from { opacity: 0; transform: scale(.4); } }
.ph-join { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.ph-cover { width: 54px; height: 54px; border-radius: 16px; background: var(--ph-cover); display: grid; place-items: center; font-size: 24px; }
.ph-join-pill { background: var(--green-tint); color: var(--green); font-weight: 600; font-size: 12px; padding: .3rem .65rem; border-radius: var(--r-pill); }
.ph-assemble { display: flex; justify-content: center; margin-top: .1rem; }
.ph-scene.s1.on .ph-assemble .m-av { animation: phPop .45s cubic-bezier(.2,1.4,.4,1) both; }
.ph-scene.s1.on .ph-assemble .m-av:nth-child(2) { animation-delay: .08s; }
.ph-scene.s1.on .ph-assemble .m-av:nth-child(3) { animation-delay: .16s; }
.ph-scene.s1.on .ph-assemble .m-av:nth-child(4) { animation-delay: .24s; }
.ph-scene.s1.on .ph-assemble .m-av:nth-child(5) { animation-delay: .32s; }
.ph-mini { font-size: 12px; color: var(--muted); font-weight: 600; }
.ph-mini b { color: var(--ink); }
.ph-tag { display: inline-flex; align-items: center; gap: .4rem; font-size: 12px; font-weight: 600; color: var(--accent-ink); }
.ph-pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.ph-p { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: var(--white); font-weight: 600; font-size: 12px; opacity: .4; transition: opacity .3s; }
.ph-p.live { opacity: 1; }
.ph-p.live::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: var(--live); border: 2px solid var(--white); animation: livePulse 2s infinite; }
.ph-cheer-em, .ph-flame { font-size: 32px; animation: cheerBob 1.4s ease-in-out infinite; }
@keyframes cheerBob { 50% { transform: translateY(-8px) rotate(8deg); } }
.ph-cheer-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .6rem .9rem; font-size: 14px; font-weight: 600; }
.ph-cheer-card span { display: block; color: var(--muted); font-style: italic; margin-top: .15rem; }
.ph-cheer-btn { background: var(--lime); color: var(--ink); font-weight: 600; font-size: 12px; padding: .45rem .95rem; border-radius: var(--r-pill); }
.ph-share-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: .85rem; width: 90%; box-shadow: var(--shadow-card); text-align: left; }
.ph-share-h { font-size: 12px; font-weight: 600; margin-bottom: .55rem; }
.ph-share-lesson { display: flex; align-items: center; gap: .55rem; }
.ph-l-em { width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; font-size: 16px; flex: none; }
.ph-l-bd { display: flex; flex-direction: column; min-width: 0; }
.ph-l-bd b { font-size: 14px; line-height: 1.15; }
.ph-l-bd span { font-size: 12px; color: var(--muted); font-weight: 600; }
.ph-share-go { display: inline-block; margin-top: .6rem; font-size: 12px; font-weight: 600; color: var(--purple); }
.ph-streak-n { font-weight: 600; font-size: 24px; }
.ph-days { display: flex; gap: 5px; }
.ph-days i { width: 18px; height: 18px; border-radius: 6px; background: var(--surface-2); }
.ph-days i.on { background: var(--lime); }
.ph-scene.s5.on .ph-days i.on { animation: phPop .4s ease both; }
.ph-scene.s5.on .ph-days i:nth-child(2) { animation-delay: .07s; }
.ph-scene.s5.on .ph-days i:nth-child(3) { animation-delay: .14s; }
.ph-scene.s5.on .ph-days i:nth-child(4) { animation-delay: .21s; }
.ph-scene.s5.on .ph-days i:nth-child(5) { animation-delay: .28s; }
.ph-scene.s5.on .ph-days i:nth-child(6) { animation-delay: .35s; }
.ph-dots { display: flex; gap: 6px; justify-content: center; padding-top: .4rem; }
.ph-dots i { width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--ph-dot); transition: width .3s, background .3s; }
.ph-dots i.on { width: 18px; background: var(--ink); }

/* ── explore ──────────────────────────────────────────── */
.searchbar { display: flex; gap: 8px; background: var(--surface-2); border-radius: var(--r-pill); padding: 6px; max-width: 620px; margin: 24px 0 18px; }
.searchbar input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 16px; font: inherit; color: var(--ink); }
.searchbar input:focus { outline: none; }
.searchbar:focus-within { box-shadow: 0 0 0 3px var(--lime-tint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: var(--r-pill); padding: 8px 14px; font-weight: 600; font-size: 14px; cursor: pointer; transition: background-color 180ms ease-out, color 180ms ease-out; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.filter-note { display: none; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin: -12px 0 20px; }
.filter-note.on { display: flex; }

/* ── course card ──────────────────────────────────────── */
.c-card { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-card); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform 180ms ease-out, box-shadow 180ms ease-out; }
.c-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.c-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.c-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.c-meta .stars { color: var(--ink); }
.c-save { margin-left: auto; background: none; border: 0; padding: 4px; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; border-radius: 8px; }
.c-save[aria-pressed="true"] { color: var(--accent-ink); }
.c-title { font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.3; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.c-by { font-size: 14px; color: var(--muted); margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: var(--surface-2); color: var(--ink); font-size: 12px; font-weight: 600; border-radius: var(--r-pill); padding: 4px 10px; }
.c-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-top: auto; padding-top: 6px; }
.c-price { font-weight: 800; color: var(--ink); font-size: 16px; }
.c-foot .btn-sr { margin-left: auto; padding: 8px 16px; font-size: 14px; }

/* CSS-rendered cover (skill.re catalog look) */
.cover { position: relative; background: var(--cream); aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover .cv-label { position: absolute; top: 16px; left: 18px; right: 64px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cover .cv-title { position: absolute; left: 18px; right: 64px; bottom: 18px; font-family: var(--font-serif); font-size: 27px; line-height: 1.12; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cover .cv-strip { position: absolute; top: 0; right: 0; bottom: 0; width: 48px; display: flex; align-items: center; justify-content: center; }
.cover .cv-strip span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; overflow: hidden; max-height: 88%; }
.theme-lime .cv-strip   { background: var(--lime);   color: var(--ink); }
.theme-green .cv-strip  { background: var(--green);  color: var(--white); }
.theme-purple .cv-strip { background: var(--purple); color: var(--white); }
.theme-navy .cv-strip   { background: var(--navy);   color: var(--white); }

/* skeleton */
.skel { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-card); height: 420px; position: relative; overflow: hidden; }
.skel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--surface-2), transparent); animation: skel 1.2s infinite; }
@keyframes skel { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.empty-state { text-align: center; padding: 48px 20px; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.empty-state p { color: var(--ink); font-weight: 600; margin-bottom: 14px; }

/* ── category bands ───────────────────────────────────── */
.band { border-radius: var(--r-band); padding: 56px 48px; position: relative; overflow: hidden; }
.band.dark { background: var(--ink); color: var(--white-70); }
.band.dark h2 { color: var(--white); }
.band.dark .accent { color: var(--lime); }
.band.dark .eyebrow { background: var(--white-12); color: var(--lime); }
.band.dark .glow.purple { width: 360px; height: 360px; top: -120px; left: -80px; background: var(--purple); }
.band.dark .glow.lime { width: 300px; height: 300px; bottom: -140px; right: -60px; opacity: .35; }
.band.tint { background: var(--lime-tint); }
.band .band-head { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.band .row { position: relative; z-index: 1; }
.band.dark .btn-ghost { background: transparent; color: var(--white); border-color: var(--white-12); }
.band.dark .btn-ghost:hover { border-color: var(--white); }

/* ── cohort cards (horizontal) ────────────────────────── */
.co-card { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-card); display: grid; grid-template-columns: 340px 1fr; overflow: hidden; margin-bottom: 20px; transition: transform 180ms ease-out, box-shadow 180ms ease-out; }
.co-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.co-card .cover { aspect-ratio: auto; min-height: 230px; height: 100%; }
/* A real cover image keeps its 16:10 shape instead of being cropped to the card height. */
.co-card .cover:has(img), .qz-match .cover:has(img) { aspect-ratio: 16 / 10; height: auto; min-height: 0; align-self: center; margin-left: 16px; border-radius: 12px; }
.qz-match .cover:has(img) { margin: 12px 0 12px 12px; }
.co-card .c-body { padding: 24px 28px; }
.squad-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--green-tint); color: var(--green); font-size: 12px; font-weight: 700; border-radius: var(--r-pill); padding: 4px 10px; }
.squad-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.co-when { font-weight: 700; color: var(--ink); }

/* ── dark sections (social / final cta / footer) ──────── */
.dark-sec { background: var(--ink); color: var(--white-70); position: relative; overflow: hidden; }
.dark-sec h2, .dark-sec h3 { color: var(--white); }
.dark-sec .eyebrow { background: var(--white-12); color: var(--lime); }
.dark-sec .glow.purple { width: 460px; height: 460px; top: -160px; left: -140px; background: var(--purple); }
.dark-sec .glow.lime { width: 380px; height: 380px; bottom: -180px; right: -100px; opacity: .3; }
.dark-sec .container { position: relative; z-index: 1; }
.big-stat { font-size: 96px; font-weight: 800; letter-spacing: -.04em; line-height: .95; color: var(--white); }
.lime-word { color: var(--lime); }
.feat { background: var(--white-06); border: 1px solid var(--white-12); border-radius: var(--r-card); padding: 26px; height: 100%; }
.feat .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--white-12); margin-bottom: 16px; }
.feat p { margin: 0; }

/* ── CTA band + questionnaire ─────────────────────────── */
.cta-band { background: var(--lime-tint); }
.cta-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; }
.quiz-card { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 32px; margin-top: 32px; }
.quiz-card label { font-weight: 700; color: var(--ink); font-size: 14px; margin-bottom: 6px; display: block; }
.quiz-card .form-select { border-radius: var(--r-sm); border: 1px solid var(--line); background-color: var(--surface-2); font-weight: 600; color: var(--ink); padding: 12px 14px; }
.quiz-card .form-select:focus { box-shadow: 0 0 0 3px var(--lime-tint); border-color: var(--accent-ink); }

/* ── certificate ──────────────────────────────────────── */
.cert-real { margin: 0; }
.cert-real img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow-card-hover); }
.cert-real figcaption { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; font-size: 14px; color: var(--muted); }
.cert-real .verified { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: var(--white); border-radius: var(--r-pill); padding: 5px 12px; font-size: 12px; font-weight: 700; }
.cert-real .verified b { color: var(--lime); }
.cert { background: linear-gradient(140deg, var(--cert-a), var(--cert-b)); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 34px; position: relative; overflow: hidden; }
.cert .verified { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: var(--white); border-radius: var(--r-pill); padding: 5px 12px; font-size: 12px; font-weight: 700; }
.cert .verified b { color: var(--lime); }
.cert .award { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--muted); margin: 38px 0 6px; }
.cert .you { font-family: var(--font-serif); font-size: 64px; line-height: 1; color: var(--ink); }
.cert .for { font-family: var(--font-serif); font-size: 20px; color: var(--ink); margin-top: 12px; }
.cert .serial { font-family: var(--font-mono); font-size: 11px; color: var(--muted); border-top: 1px dashed var(--line); margin-top: 34px; padding-top: 12px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.step { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; }
.step + .step { border-top: 1px solid var(--line); }
.step .num { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 500; }
.num.pink { background: var(--pink-tint); color: var(--pink); }
.num.blue { background: var(--blue-tint); color: var(--blue); }
.num.green { background: var(--green-tint); color: var(--green); }
.step h3 { margin: 0 0 4px; }
.step p { margin: 0; }

/* ── timeline ─────────────────────────────────────────── */
.timeline { position: relative; list-style: none; padding: 0; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; border-left: 2px dashed var(--line); }
.timeline li { position: relative; display: flex; gap: 20px; padding: 0 0 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .tile { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; background: var(--surface); box-shadow: var(--shadow-card); position: relative; z-index: 1; }
.timeline h3 { margin: 10px 0 4px; }
.timeline p { margin: 0; }

/* ── audience rows ────────────────────────────────────── */
.aud { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 30px 34px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: 18px; }
.aud .txt { flex: 1 1 380px; }
.aud .txt p { margin: 6px 0 16px; }
.aud .stat { border-left: 3px solid var(--lime); padding-left: 18px; min-width: 220px; }
.aud .stat b { display: block; font-size: 40px; font-weight: 800; color: var(--ink); line-height: 1.05; letter-spacing: -.02em; }
.aud .stat span { color: var(--muted); font-weight: 600; }

/* ── partners ─────────────────────────────────────────── */
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; align-items: center; }
.logo-item { display: flex; align-items: center; justify-content: center; height: 70px; border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--shadow-card); filter: grayscale(1); opacity: .6; transition: opacity 180ms ease-out, filter 180ms ease-out; font-weight: 800; color: var(--ink); text-align: center; padding: 0 10px; font-size: 15px; letter-spacing: -.01em; line-height: 1.15; }
.logo-item:hover { filter: none; opacity: 1; }
.logo-item .dot { width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; flex: none; }

/* ── testimonials ─────────────────────────────────────── */
.tcard { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 28px; height: 100%; display: flex; flex-direction: column; gap: 18px; }
.tcard blockquote { margin: 0; font-size: 16px; color: var(--body); }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; flex: none; }
.av-lime { background: var(--lime-tint); color: var(--accent-ink); }
.av-purple { background: var(--purple-tint); color: var(--purple); }
.av-green { background: var(--green-tint); color: var(--green); }
.av-pink { background: var(--pink-tint); color: var(--pink); }
.tcard .who b { color: var(--ink); display: block; }
.tcard .who span { font-size: 14px; color: var(--muted); }

/* ── FAQ ──────────────────────────────────────────────── */
.faq .accordion-item { background: var(--surface); border: 0; border-radius: var(--r-card) !important; box-shadow: var(--shadow-card); margin-bottom: 12px; overflow: hidden; }
.faq .accordion-button { font-weight: 700; color: var(--ink); background: var(--surface); font-size: 17px; padding: 20px 24px; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { background: var(--surface); color: var(--ink); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: none; }
.faq .accordion-button:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.faq .accordion-button::after { transition: transform 180ms ease-out; }
.faq .accordion-body { padding: 0 24px 22px; color: var(--body); }
.more-q { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 30px; text-align: center; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.av-stack { display: flex; }
.av-stack .avatar { border: 3px solid var(--surface); margin-left: -10px; }
.av-stack .avatar:first-child { margin-left: 0; }

/* ── final CTA + footer ───────────────────────────────── */
.final-cta { text-align: center; padding: 110px 0 90px; }
.final-cta .wave { font-size: 44px; display: block; margin-bottom: 10px; }
.final-cta p { max-width: 560px; margin: 0 auto 30px; }
.final-cta .note { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; margin-top: 22px; color: var(--white-70); }
.sr-footer { background: var(--ink); color: var(--white-70); padding: 56px 0 32px; border-top: 1px solid var(--white-12); }
.sr-footer .brand { color: var(--white); }
.sr-footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--white-70); margin-bottom: 14px; font-weight: 500; }
.sr-footer ul { list-style: none; padding: 0; margin: 0; }
.sr-footer li { margin-bottom: 9px; }
.sr-footer a { color: var(--white); text-decoration: none; font-size: 15px; }
.sr-footer a:hover { color: var(--lime); }
.pill-new { background: var(--lime); color: var(--ink); font-size: 10px; font-weight: 800; border-radius: var(--r-pill); padding: 2px 7px; margin-left: 6px; vertical-align: middle; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--white-12); font-size: 13px; font-weight: 800; }
.foot-bottom { border-top: 1px solid var(--white-12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ── questionnaire popup ──────────────────────────────── */
.qz-modal .modal-content { border: 0; border-radius: var(--r-card); background: var(--bg); box-shadow: var(--shadow-card-hover); overflow: hidden; }
.qz-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 28px 0; }
.qz-bar { height: 6px; background: var(--surface-2); margin: 16px 28px 0; border-radius: var(--r-pill); overflow: hidden; }
.qz-bar span { display: block; height: 100%; width: 20%; background: var(--lime-glow); border-radius: var(--r-pill); transition: width 240ms ease-out; }
.qz-body { padding: 24px 28px 8px; }
.qz-body h3 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.qz-body h3:focus { outline: none; }
.qz-hint { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.qz-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.qz-opt { display: flex; align-items: center; gap: 12px; text-align: left; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-sm); padding: 16px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color 180ms ease-out, background-color 180ms ease-out; min-height: 64px; }
.qz-opt:hover { border-color: var(--ink); }
.qz-opt[aria-pressed="true"] { border-color: var(--accent-ink); background: var(--lime-tint); }
.qz-opt .em { font-size: 22px; flex: none; }
.qz-opt small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.qz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 28px 26px; flex-wrap: wrap; }
.qz-nav .btn-sr[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.qz-res { display: grid; gap: 14px; }
.qz-match { display: grid; grid-template-columns: 150px 1fr; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-card); overflow: hidden; }
.qz-match .cover { aspect-ratio: auto; height: 100%; min-height: 130px; }
.qz-match .cover .cv-title { font-size: 18px; left: 12px; right: 40px; bottom: 12px; }
.qz-match .cover .cv-label { display: none; }
.qz-match .cover .cv-strip { width: 32px; }
.qz-match .cover .cv-strip span { font-size: 9px; }
.qz-match .in { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.qz-match h4 { font-size: 17px; font-weight: 700; margin: 0; }
.qz-why { display: flex; flex-wrap: wrap; gap: 6px; }
.qz-why span { background: var(--green-tint); color: var(--green); font-size: 12px; font-weight: 700; border-radius: var(--r-pill); padding: 3px 9px; }
.qz-match .row-end { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; font-size: 14px; color: var(--muted); }
.qz-match .row-end .btn-sr { margin-left: auto; padding: 7px 14px; font-size: 13px; }
.qz-note { background: var(--surface-2); border-radius: var(--r-sm); padding: 10px 14px; font-size: 14px; color: var(--ink); margin-bottom: 14px; }

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 991.98px) {
  .co-card { grid-template-columns: 1fr; }
  .co-card .cover { aspect-ratio: 16 / 9; min-height: 0; }
  .co-card .cover:has(img) { margin: 16px 16px 0; }
  .qz-match .cover:has(img) { margin: 12px 12px 0; height: auto; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-item { font-size: 13px; padding: 0 6px; }
  .band { padding: 40px 24px; }
}
@media (max-width: 767.98px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .h1 { font-size: 36px; }
  .h2 { font-size: 30px; }
  .big-stat { font-size: 64px; }
  .hero { padding: 40px 0 48px; }
  .aud { padding: 24px; }
  .aud .stat b { font-size: 32px; }
  .cert .you { font-size: 48px; }
  .quiz-card { padding: 22px; }
  .qz-opts { grid-template-columns: 1fr; }
  .phone { width: min(250px, 68vw); }
  .qz-body h3 { font-size: 23px; }
  .qz-top, .qz-body, .qz-nav { padding-left: 18px; padding-right: 18px; }
  .qz-bar { margin-left: 18px; margin-right: 18px; }
  .qz-match { grid-template-columns: 1fr; }
  .qz-match .cover { min-height: 0; height: 96px; aspect-ratio: auto; }
  .band { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .c-card:hover, .co-card:hover, .btn-sr:hover { transform: none; }
  .phone, .dotg, .ph-cheer-em, .ph-flame, .ph-p.live::after { animation: none !important; }
}

/* ── Course card: the live skill.re catalog card (include/course_card.php ".cc") ── */
.cc { background: #fff; border: 1px solid #D9D4C7; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: border-color .14s; }
.cc:hover { border-color: #3D3A33; }
.cc:hover .t { text-decoration: underline; text-underline-offset: .15em; }
.cc > a { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; min-width: 0; }
.cc .cv { aspect-ratio: 16 / 9; background-color: #1f1f1c; background-size: cover; background-position: center; position: relative; display: grid; place-items: center; }
.cc .cv-fallback { color: #fff; font-weight: 700; font-size: 15px; padding: 0 12px; text-align: center; }
.cc .bd { padding: .65rem .75rem .75rem; display: flex; flex-direction: column; flex: 1; gap: .16rem; }
.cc .inst { font-size: 14px; color: var(--muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc .t { font-weight: 700; font-size: 16px; line-height: 1.25; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.cc .rr { display: flex; align-items: center; gap: .25rem; line-height: 1; min-height: 1.15em; }
.cc .rr b { font-size: 13px; font-weight: 700; color: #b4690e; font-variant-numeric: tabular-nums; }
.cc .rrs { position: relative; display: inline-block; font-size: 13px; letter-spacing: .06em; line-height: 1; }
.cc .rrs .off { color: #e3ddce; }
.cc .rrs .on { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #e59819; }
.cc .rrn { font-size: 13px; font-weight: 500; color: var(--muted); }
.cc .mt { margin-top: auto; display: flex; align-items: center; gap: .5rem; height: 24px; line-height: 20px; padding-top: 4px; font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 0; }
/* One line: icon facts left, price tag right (same look as the app's course cards). */
.cc .mtf { display: flex; align-items: center; gap: .6rem; overflow: hidden; min-width: 0; flex: 1; }
.cc .mtx { display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cc .mti { width: 13px; height: 13px; flex: none; color: var(--accent-ink); opacity: .9; }
.cc .mtp { flex: none; margin-left: auto; font-size: 12px; font-weight: 700; line-height: 18px; padding: 0 .5rem; border-radius: 99px; background: var(--ink); color: #fff; letter-spacing: .01em; }
.cc .mtp.free { background: #e3f5ea; color: #1a7f45; box-shadow: inset 0 0 0 1px #bfe6cd; }
.cc .mts { display: none; }
.cc .bd { container-type: inline-size; container-name: ccbd; }
/* Very narrow card (2-up on a phone): keep duration + price, drop the enrolled count. */
@container ccbd (max-width: 200px) { .cc .mte { display: none; } }
/* Decorative glows / wide-gutter rows poked past the right edge at ~1000px wide,
   making the whole page scroll sideways. clip (not hidden) keeps sticky headers working. */
html, body { overflow-x: clip; }
@container ccbd (max-width: 300px) {
  .cc .mtl { display: none; }
  .cc .mts { display: inline; }
  .cc .mtf { gap: .45rem; }
  .cc .mtp { padding: 0 .4rem; }
}
.cc .pr { font-size: 13px; font-weight: 700; color: var(--ink); margin-top: .1rem; }

/* ── Hero chooser: search OR one-tap picks (replaces the questionnaire) ── */
.pick { margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px 18px 16px; box-shadow: 0 18px 40px -30px rgba(15, 23, 42, .35); max-width: 560px; }
.pick-row { margin: 0; }
.pick-h { display: block; font-weight: 700; color: var(--ink); font-size: 16px; margin-bottom: 8px; }
.pick-h span { font-weight: 500; color: var(--muted); font-size: 14px; margin-left: 4px; }
.pick-search { display: flex; gap: 8px; }
.pick-search input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface-2); color: var(--ink); }
.pick-search input:focus { outline: 2px solid var(--lime-glow); outline-offset: 1px; background: #fff; }
.pick-search .btn-sr { padding: 10px 18px; }
.pick-or { display: flex; align-items: center; gap: 10px; margin: 14px 0 12px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.pick-or::before, .pick-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pick-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pick-chip { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; cursor: pointer; transition: border-color .14s, background .14s; }
.pick-chip:hover { border-color: var(--ink); background: var(--lime-tint); }
.cta-band .pick-chips { justify-content: flex-start; }
.band-results { margin-top: 24px; }
.band-results-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 16px; color: var(--ink); }

/* ── Goal chooser (section 8, Coursera-style "What brings you here?") ── */
.goals .h2 { margin-bottom: 22px; }
.goal-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.goal-tab { font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 18px; cursor: pointer; transition: border-color .14s, background .14s, color .14s; }
.goal-tab:hover { border-color: var(--ink); }
.goal-tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.goal-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 18px 40px -32px rgba(15, 23, 42, .35); }
.goal-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.goal-head .h3 { margin: 0 0 4px; font-size: 22px; }
.goal-head p { color: var(--muted); }
.goal-topics { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 20px; }
.goal-topics::-webkit-scrollbar { display: none; }
.goal-topic { flex: 0 0 auto; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--surface-2); border: 1px solid transparent;
  border-radius: 99px; padding: 7px 14px; cursor: pointer; white-space: nowrap; }
.goal-topic:hover { border-color: var(--line); background: #fff; }
.goal-topic.on { background: var(--lime-tint); border-color: var(--lime-glow); color: var(--accent-ink); }
@media (max-width: 575px) { .goal-tab { flex: 1 1 calc(50% - 10px); font-size: 14px; padding: 10px 12px; } .goal-panel { padding: 16px; } }
/* Cohort cards: the course card + a squad line */
.cc .cc-squad { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--green); margin-top: .15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc .cc-squad .dot { width: 7px; height: 7px; border-radius: 50%; background: #1f9d57; flex: 0 0 auto; box-shadow: 0 0 0 3px rgba(31, 157, 87, .15); }

/* ── Sample certificate drawn in HTML (was a 1050px PNG whose text shrank to ~6px) ── */
.cert-html { display: grid; grid-template-columns: 1fr 112px; background: #f8f6f1; border: 1px solid #e4ded2; border-radius: 16px;
  box-shadow: var(--shadow-card-hover); color: #2b2620; font-family: var(--font-sans); aspect-ratio: 1050 / 560; overflow: hidden; container-type: inline-size; }
.cert-html .ch-main { padding: 6% 0 5% 6%; display: flex; flex-direction: column; min-width: 0; }
.cert-html .ch-top { display: flex; align-items: center; gap: 10px; }
.cert-html .ch-brand { font-weight: 700; letter-spacing: .18em; color: #a3927a; font-size: clamp(13px, 2.6cqi, 18px); }
.cert-html .ch-level { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #ddd5c6; background: #efebe3; border-radius: 6px;
  padding: 3px 9px; font-size: clamp(11px, 2cqi, 14px); font-weight: 600; letter-spacing: .12em; color: #6f6455; }
.cert-html .ch-level i { width: 7px; height: 7px; border-radius: 50%; background: #8a7d6b; display: inline-block; }
.cert-html .ch-kind { margin-top: 8px; letter-spacing: .2em; font-weight: 600; font-size: clamp(11px, 2.1cqi, 15px); color: #3a332b; }
.cert-html .ch-mid { margin: auto 0; }
.cert-html .ch-label { letter-spacing: .18em; font-size: clamp(10px, 1.8cqi, 13px); color: #a3927a; font-weight: 600; }
.cert-html .ch-name { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500; font-size: clamp(30px, 7.4cqi, 54px); line-height: 1.05; margin: 6px 0 6px; color: #1f1a15; }
.cert-html .ch-for { font-size: clamp(12px, 2.1cqi, 15px); color: #a3927a; }
.cert-html .ch-for em { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35em; color: #2b2620; }
.cert-html .ch-foot b { font-family: var(--font-mono); font-weight: 700; font-size: clamp(11px, 2.2cqi, 15px); color: #2b2620; letter-spacing: .03em; }
.cert-html .ch-date { font-size: clamp(11px, 1.9cqi, 13px); color: #5c5348; margin-top: 3px; }
.cert-html .ch-side { border-left: 1px solid #e4ded2; margin: 5% 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 0 8px; }
.cert-html .ch-star { color: #b8ab96; font-size: 13px; }
.cert-html .ch-qr { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cert-html .ch-qr img { width: 64px; height: 64px; image-rendering: pixelated; }
.cert-html .ch-qr span, .cert-html .ch-seal span { font-size: 10px; letter-spacing: .14em; color: #8f826f; font-weight: 600; }
.cert-html .ch-seal { width: 76px; height: 76px; border-radius: 50%; border: 1px dashed #d7cfbf; background: #efebe3; display: grid; place-content: center; text-align: center; box-shadow: 0 0 0 4px #f8f6f1, 0 0 0 5px #e4ded2; }
.cert-html .ch-seal b { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: 24px; color: #6f6455; line-height: 1; }
.cert-html .ch-lv { font-family: var(--font-mono); font-size: 13px; color: #8f826f; letter-spacing: .1em; }
@media (max-width: 480px) { .cert-html { grid-template-columns: 1fr 84px; aspect-ratio: auto; min-height: 240px; } .cert-html .ch-seal { width: 58px; height: 58px; } .cert-html .ch-seal b { font-size: 18px; } .cert-html .ch-qr img { width: 48px; height: 48px; } }

/* ── Hero search panel (opens under "What do you want to learn?") ───────── */
.pick-search { position: relative; }
.sx-cancel { display: none; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink); padding: 0 4px; cursor: pointer; }
.sx { position: absolute; z-index: 60; top: calc(100% + 10px); left: 0; width: min(720px, calc(100vw - 32px)); max-height: min(70vh, 620px); overflow: auto;
      background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px 22px 20px;
      box-shadow: 0 28px 60px -24px rgba(15, 23, 42, .35); text-align: left; }
.sx[hidden] { display: none; }
.sx-h { font-weight: 700; font-size: 16px; color: var(--ink); margin: 18px 0 10px; }
.sx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sx .chip.on, .sx .chip:focus-visible { border-color: var(--ink); background: var(--lime-tint); }
.sx-rc { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); }
.sx-rc button { border: 0; background: none; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.sx-rc .sx-o { padding: 7px 4px 7px 14px; font-weight: 600; }
.sx-rc .sx-o::before { content: "↺ "; color: var(--muted); font-weight: 400; }
.sx-rc .sx-x { padding: 7px 12px 7px 8px; color: var(--muted); font-size: 12px; }
.sx-rc .sx-x:hover { color: var(--ink); }
.sx-rc:has(.sx-o.on) { border-color: var(--ink); background: var(--lime-tint); }
.sx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sx-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; background: var(--surface); transition: border-color 150ms ease-out, box-shadow 150ms ease-out; }
.sx-card:hover, .sx-card.on { border-color: var(--ink); box-shadow: 0 10px 24px -16px rgba(15, 23, 42, .45); }
.sx-cv { aspect-ratio: 16 / 10; background: var(--navy) center / cover no-repeat; }
.sx-cb { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px 12px; }
.sx-a { font-size: 12px; color: var(--muted); }
.sx-card .sx-t { font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sx-m { font-size: 12.5px; color: var(--muted); }
.sx-st { color: #B4690E; font-weight: 700; }
.sx-rows { display: flex; flex-direction: column; gap: 2px; margin: 0 -10px; }
.sx-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: inherit; }
.sx-row:hover, .sx-row.on { background: var(--cream); }
.sx-th { flex: none; width: 72px; aspect-ratio: 16 / 10; border-radius: 8px; background: var(--navy) center / cover no-repeat; }
.sx-tx { display: flex; flex-direction: column; min-width: 0; }
.sx-row .sx-t { font-size: 14.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-row .sx-t b { font-weight: 800; background: var(--lime-tint); border-radius: 3px; }
.sx-all { display: block; width: 100%; margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font: inherit; font-weight: 700; font-size: 14px; color: var(--ink); padding: 11px 14px; text-align: left; cursor: pointer; }
.sx-all:hover, .sx-all.on { border-color: var(--ink); background: var(--lime-tint); }
.sx-none { padding: 18px 0 4px; color: var(--muted); font-size: 14px; }

/* Phones: the search becomes a full-screen sheet */
@media (max-width: 640px) {
  .pick-search.sx-open { position: fixed; z-index: 2000; inset: 0 0 auto 0; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); align-items: center; }
  .pick-search.sx-open .btn-sr { display: none; }
  .pick-search.sx-open .sx-cancel { display: block; }
  .pick-search.sx-open .sx { position: fixed; top: 68px; left: 0; right: 0; bottom: 0; width: auto; max-height: none; border: 0; border-radius: 0; box-shadow: none; padding: 0 16px 28px; }
  .sx-cards { grid-template-columns: 1fr 1fr; }
  .sx-cards .sx-card:nth-child(3) { display: none; }
  body.sx-lock { overflow: hidden; }
}
/* The hero clips its glow (overflow:hidden); while the panel is open let it hang below the hero. */
.hero:has(.sx-open) { overflow-x: clip; overflow-y: visible; z-index: 20; }

/* ── Header search: shows once the hero search has scrolled away ─────────── */
.nav-search { display: none; margin: 0; }
.nav-sx { position: relative; display: flex; align-items: center; }
.nav-sx .sx-ic { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.nav-sx input { width: 100%; font: inherit; font-size: 14.5px; padding: 9px 14px 9px 40px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink); }
.nav-sx input:focus { outline: 2px solid var(--lime-glow); outline-offset: 1px; background: #fff; }
.nav-sx .sx { top: calc(100% + 12px); }
.nav-sx-btn { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.nav-sx-btn:hover { border-color: var(--ink); }

/* Wide screens: a real box next to the logo, faded in */
@media (min-width: 1200px) {
  .sr-nav.sx-show .nav-search { display: block; width: 320px; margin-left: 20px; animation: sxIn 200ms ease-out; }
}
/* Laptops/tablets: the 🔍 button once scrolled; phones: always */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .sr-nav.sx-show .nav-sx-btn { display: inline-flex; margin-left: 16px; }
}
@media (max-width: 991.98px) {
  .nav-sx-btn { display: inline-flex; margin-left: auto; margin-right: 8px; }
}
/* 🔍 pressed (below 1200px): the box opens as a bar across the top of the screen */
@media (max-width: 1199.98px) {
  .sr-nav.sx-pop .nav-search { display: block; position: fixed; z-index: 2000; inset: 0 0 auto 0; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .sr-nav.sx-pop .sx-cancel { display: block; margin-left: 8px; }
  .sr-nav.sx-pop .nav-sx .sx { left: 0; }
}
@media (max-width: 640px) {
  .sr-nav.sx-pop .nav-sx .sx { position: fixed; top: 66px; left: 0; right: 0; bottom: 0; width: auto; max-height: none !important; border: 0; border-radius: 0; box-shadow: none; padding: 0 16px 28px; }
}
@keyframes sxIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sr-nav.sx-show .nav-search { animation: none; } }

/* Header search, Coursera-sized: a wide, tall box with a round search button inside (user 2026-11-24) */
.nav-sx input { padding: 12px 54px 12px 44px; font-size: 15.5px; border: 1.5px solid #CBD5E1; background: var(--surface); }
.nav-sx input::-webkit-search-cancel-button { margin-right: 4px; }
.nav-sx .sx-ic { left: 16px; }
.nav-sx-go { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--ink); color: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.nav-sx-go:hover { background: #1E293B; }
.sr-nav.sx-pop .nav-sx-go { display: none; }
@media (min-width: 1200px) {
  .sr-nav .navbar > .container { flex-wrap: nowrap; }
  .sr-nav.sx-show .nav-search { width: auto; flex: 1 1 520px; max-width: 560px; min-width: 300px; margin: 0 16px 0 24px; }
  .sr-nav .navbar-nav { gap: 0; }
  .sr-nav .navbar-nav .nav-link { padding: 8px 10px; }
}
@media (min-width: 1200px) {
  .sr-nav.sx-show .nav-search { flex: 1 1 0; min-width: 260px; max-width: 540px; }
  .sr-nav .navbar-nav .nav-link, .sr-nav .offcanvas .btn-sr { white-space: nowrap; }
  .sr-nav .offcanvas { flex: 0 0 auto; }
  .sr-nav .offcanvas-body { flex-grow: 0; }
}
@media (min-width: 1200px) { .sr-nav .offcanvas-body > .d-flex { margin-left: 18px; } }
.sx-quiz { display: block; width: calc(100% + 44px); margin: 20px -22px -20px; padding: 16px 22px; border: 0; border-top: 1px solid var(--line); background: var(--bg); font: inherit; font-size: 15px; color: var(--body); text-align: left; cursor: pointer; border-radius: 0 0 18px 18px; }
.sx-quiz b { color: var(--ink); font-weight: 700; margin-left: 4px; }
.sx-quiz:hover b, .sx-quiz.on b { text-decoration: underline; text-underline-offset: 3px; }
.sx-quiz:hover, .sx-quiz.on { background: var(--lime-tint); }
@media (max-width: 640px) { .sx-quiz { width: calc(100% + 32px); margin: 20px -16px 0; padding: 16px; border-radius: 0; } }

/* Header is now: logo · search · "Become an instructor" · "Join for free" (user 2026-11-24).
   With only two items on the right, the full search box fits from 992px up; the 🔍 button is for phones/tablets only. */
@media (min-width: 992px) {
  .sr-nav .navbar > .container { flex-wrap: nowrap; }
  .sr-nav.sx-show .nav-search { display: block; flex: 1 1 0; min-width: 240px; max-width: 560px; margin: 0 auto 0 24px; animation: none; }
  .sr-nav.sx-show .nav-sx-btn { display: none; }
  .sr-nav .offcanvas { flex: 0 0 auto; }
  .sr-nav .offcanvas-body { flex-grow: 0; }
  .sr-nav .navbar-nav .nav-link, .sr-nav .offcanvas .btn-sr { white-space: nowrap; }
}
.cc-why { margin: 6px 0 2px; } .cc-why span { font-size: 11px; padding: 2px 8px; }

/* Highlighted quiz prompt at the top of Explore (also in the search drop-down). */
.quiz-band { display: flex; align-items: center; gap: 16px; width: 100%; margin: 4px 0 20px; padding: 16px 18px; border: 0; border-radius: 18px; text-align: left; cursor: pointer;
  background: var(--ink); color: #fff; box-shadow: 0 10px 30px -14px rgba(15, 23, 42, .55); position: relative; overflow: hidden; transition: transform 180ms ease-out, box-shadow 180ms ease-out; font: inherit; }
.quiz-band::after { content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--lime); opacity: .14; pointer-events: none; }
.quiz-band:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(15, 23, 42, .6); }
.quiz-band:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.qb-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(201, 247, 90, .16); display: grid; place-items: center; font-size: 24px; }
.qb-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.qb-tx b { font-size: 18px; font-weight: 700; color: #fff; }
.qb-tx span { font-size: 14px; color: rgba(255, 255, 255, .78); }
.qb-go { flex: none; position: relative; z-index: 1; background: var(--lime); color: var(--ink); font-weight: 700; font-size: 15px; border-radius: 999px; padding: 11px 18px; white-space: nowrap; box-shadow: 0 6px 18px -8px rgba(168, 221, 47, .9); }
.quiz-band:hover .qb-go { background: var(--lime-glow); }
@media (max-width: 640px) {
  .quiz-band { flex-wrap: wrap; gap: 12px; padding: 16px; }
  .qb-ic { width: 40px; height: 40px; font-size: 21px; }
  .qb-tx { flex-basis: calc(100% - 56px); }
  .qb-go { width: 100%; text-align: center; }
}

/* "Your course matches" head (Explore after the questions). */
.quiz-result { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 4px 0 24px; padding: 18px 20px; border-radius: 18px; background: var(--lime-tint); border: 1px solid #d3ec8f; }
.quiz-result[hidden] { display: none; }
.qr-top { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.qr-ok { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.qr-n { font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.qr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qr-chip { background: #fff; border: 1px solid #d3ec8f; border-radius: 999px; padding: 4px 12px; font-size: 14px; color: var(--muted); }
.qr-chip b { color: var(--ink); font-weight: 600; }
.qr-act { display: flex; gap: 10px; flex-wrap: wrap; }
.searchbar[hidden], .chips[hidden], .quiz-band[hidden] { display: none !important; }
@media (max-width: 640px) { .qr-act, .qr-act .btn-sr { width: 100%; } .qr-act .btn-sr { justify-content: center; } }

/* Contact Us → address + Copy / Gmail / mail app */
.contact-pop { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line, #e5e2da); border-radius: 14px; background: var(--white, #fff); overflow-wrap: anywhere; }
.contact-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.contact-acts .btn-sr { padding: 8px 14px; font-size: 14px; }
