/* PeopleLoop broker onboarding course. Tokens from the PeopleLoop design system. */

:root {
  --pl-pistachio: #dcf587;
  --pl-pistachio-100: #f4fbdf;
  --pl-pistachio-200: #eaf9c2;
  --pl-pistachio-400: #cbe96a;
  --pl-pistachio-500: #b6e239;
  --pl-pistachio-700: #75a010;
  --pl-green-light: #e6f8ab;
  --pl-green-lighter: #f8fde7;
  --pl-orange: #fe7639;
  --pl-pale-sky: #dbe3ef;
  --pl-pale-sky-100: #f2f5fa;
  --pl-pale-sky-200: #e6ebf3;
  --pl-pale-sky-400: #c3cedf;
  --pl-dark-olive: #252517;
  --pl-sand: #ede2d0;
  --pl-sand-100: #faf6ef;
  --pl-sand-200: #f3ece0;
  --pl-barbara: #ff498c;
  --pl-daisy: #ff9557;
  --n0: #ffffff; --n25: #fbfbf9; --n50: #f6f6f3; --n100: #edede8; --n200: #deded7;
  --n300: #c7c7be; --n400: #a3a399; --n500: #7c7c72; --n600: #5c5c53; --n700: #42423a; --n800: #31312a;
  --success: #3e8e4e; --success-surface: #e9f4ea;
  --warning: #ff9557; --warning-surface: #ffeee2;
  --danger: #ff498c; --danger-surface: #ffe6ef;
  --info: #4a6b9e;
  --text-strong: var(--pl-dark-olive);
  --text-body: var(--n600);
  --text-muted: var(--n500);
  --border-subtle: var(--n100);
  --border-default: var(--n200);
  --sans: "Instrument Sans", "Figtree", "Helvetica Neue", Arial, sans-serif;
  --heading: "Geist", "Instrument Sans", "Figtree", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r-xs: 6px; --r-sm: 8px; --r-md: 12px; --r-card: 20px; --r-panel: 28px; --r-2xl: 40px; --r-pill: 999px; --r-control: 12px;
  --shadow-sm: 0 1px 3px rgba(37,37,23,.06), 0 1px 2px rgba(37,37,23,.04);
  --shadow-md: 0 4px 12px rgba(37,37,23,.06), 0 1px 3px rgba(37,37,23,.04);
  --shadow-lg: 0 12px 32px rgba(37,37,23,.08), 0 2px 6px rgba(37,37,23,.04);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --d-fast: 140ms; --d-base: 220ms; --d-slow: 400ms; --d-reveal: 700ms;
  --gradient-hero: linear-gradient(225deg, #dbe3ef 0%, #dcf587 53%, #ffffff 100%);
  --gradient-cta: linear-gradient(160deg, #F7FCE8 0%, #EAF3E6 40%, #E4EAF2 100%);
  --gradient-accent-bar: linear-gradient(90deg, #DCF587 0%, #B4D74A 100%);
  --page-max: 1240px; --page-pad: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text-body);
  background: var(--n0); -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--text-strong); margin: 0 0 12px; font-weight: 500; font-family: var(--heading); }
h1 { font-size: 44px; line-height: 1.1; letter-spacing: -0.024em; }
h2 { font-size: 34px; line-height: 1.16; letter-spacing: -0.02em; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.012em; font-weight: 600; }
h4 { font-size: 17px; line-height: 1.35; letter-spacing: -0.008em; font-weight: 600; }
p { margin: 0 0 16px; }
a { color: var(--text-strong); text-decoration: none; }
a:hover { color: var(--n600); }
strong { font-weight: 600; color: var(--text-strong); }
button { font-family: inherit; font-size: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--pl-dark-olive); outline-offset: 2px; }
img { max-width: 100%; display: block; }
ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { margin-bottom: 6px; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 14.5px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border-subtle); vertical-align: top; }
th { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; font-weight: 500; color: var(--text-muted); background: var(--n25); }
tbody tr:last-child td { border-bottom: 1px solid var(--border-default); }
blockquote { margin: 0 0 16px; padding: 4px 0 4px 20px; border-left: 3px solid var(--pl-pistachio); font-size: 19px; line-height: 1.5; color: var(--text-strong); }

.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; font-weight: 500; color: var(--text-muted); margin: 0 0 12px; }
.mono { font-family: var(--mono); font-size: 13px; }
.muted { color: var(--text-muted); }
.wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--page-pad); }
@media (min-width: 900px) { .wrap { padding: 0 48px; } }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 64px;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand img { height: 24px; width: auto; }
.brand .divider { width: 1px; height: 22px; background: var(--border-default); }
.brand .course-name { font-size: 15px; font-weight: 500; color: var(--text-strong); white-space: nowrap; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 500; transition: background var(--d-fast) var(--ease-out); }
.nav a:hover { background: var(--n50); }
.nav a.active { background: var(--pl-pistachio); color: var(--pl-dark-olive); }
.header-progress { display: none; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--text-muted); }
.header-progress .bar { width: 96px; height: 6px; border-radius: var(--r-pill); background: var(--n100); overflow: hidden; }
.header-progress .bar i { display: block; height: 100%; background: var(--gradient-accent-bar); border-radius: var(--r-pill); transition: width var(--d-slow) var(--ease-out); }
.header-progress { white-space: nowrap; flex: none; }
@media (min-width: 1200px) { .header-progress { display: flex; } }
.header-progress #hp-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1099px) { .brand .course-name, .brand .divider { display: none; } }
@media (max-width: 640px) { .nav a { padding: 8px 10px; font-size: 13.5px; } }

main { padding-top: 64px; min-height: 100vh; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; border-radius: var(--r-pill); border: 1px solid transparent;
  padding: 11px 20px; font-weight: 500; font-size: 15px; line-height: 1.2; transition: background var(--d-fast) var(--ease-out), transform var(--d-fast) var(--ease-out), border-color var(--d-fast);
}
.btn:active { transform: scale(.985); }
.btn-primary { background: var(--pl-dark-olive); color: var(--n0); padding-right: 12px; }
.btn-primary .arrow { width: 26px; height: 26px; border-radius: 50%; background: var(--pl-pistachio); color: var(--pl-dark-olive); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; line-height: 1; }
.btn-primary:hover { background: var(--n800); color: var(--n0); }
.btn-accent { background: var(--pl-pistachio); color: var(--pl-dark-olive); }
.btn-accent:hover { background: var(--pl-pistachio-400); }
.btn-ghost { background: transparent; color: var(--text-strong); border-color: var(--border-default); }
.btn-ghost:hover { background: var(--n50); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; background: var(--n100); color: var(--text-muted); border-color: transparent; }
.btn .arrow { transition: transform var(--d-fast) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* Cards */
.card { background: var(--n0); border: 1px solid var(--border-subtle); border-radius: var(--r-card); padding: 24px; }
.card-tint { border: none; }
.card-tint.pistachio { background: var(--pl-pistachio-100); }
.card-tint.sky { background: var(--pl-pale-sky-200); }
.card-tint.sand { background: var(--pl-sand-200); }
.card-link { display: block; transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out); }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: inherit; }
.panel { background: var(--n0); border: 1px solid var(--border-subtle); border-radius: var(--r-panel); padding: 32px; }

/* Badges and tags */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill); font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; font-weight: 500; }
.badge-neutral { background: var(--n100); color: var(--n600); }
.badge-accent { background: var(--pl-pistachio); color: var(--pl-dark-olive); }
.badge-success { background: var(--success-surface); color: var(--success); }
.badge-warn { background: var(--warning-surface); color: #b85c2a; }
.badge-sky { background: var(--pl-pale-sky-200); color: var(--info); }

/* Hero */
.hero { background: var(--gradient-hero); padding: 80px 0 64px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("assets/site/cta-shapes.webp") center / cover no-repeat; opacity: .75; pointer-events: none; }
.hero .wrap { position: relative; }
.hero .wrap { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 7fr 5fr; } .hero { padding: 104px 0 88px; } }
.hero h1 { font-size: 48px; margin-bottom: 20px; }
@media (min-width: 960px) { .hero h1 { font-size: 60px; line-height: 1.04; letter-spacing: -0.028em; } }
.hero .lead { font-size: 19px; line-height: 1.55; max-width: 560px; color: var(--n700); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-card { background: var(--n0); border-radius: var(--r-panel); padding: 28px; box-shadow: var(--shadow-lg); }
.hero-card .stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.stat { }
.stat .num { font-size: 38px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 500; color: var(--text-strong); }
.stat .lbl { font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; color: var(--text-muted); margin-top: 6px; }
.hero-card .progress-line { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border-subtle); }
.progress-track { height: 8px; border-radius: var(--r-pill); background: var(--n100); overflow: hidden; margin: 10px 0 6px; }
.progress-track i { display: block; height: 100%; background: var(--gradient-accent-bar); border-radius: var(--r-pill); transition: width var(--d-slow) var(--ease-out); }

/* Sections */
.section { padding: 72px 0; }
.section.tint { background: var(--n25); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { margin-bottom: 10px; }
.section-head p { font-size: 17px; }
.grid-2 { display: grid; gap: 20px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.week-label { display: flex; align-items: center; gap: 14px; margin: 36px 0 18px; }
.week-label:first-child { margin-top: 0; }
.week-label h3 { margin: 0; }
.week-label .line { flex: 1; height: 1px; background: var(--border-default); }

.module-card { display: flex; flex-direction: column; gap: 12px; min-height: 190px; }
.module-card .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.module-card h3 { margin: 0; font-size: 19px; font-weight: 600; }
.module-card p { margin: 0; font-size: 14.5px; }
.module-card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--text-muted); padding-top: 8px; }
.module-card .num { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--text-muted); }

.feature { }
.feature .icon { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--pl-pistachio-200); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--pl-dark-olive); }
.feature .icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { font-size: 15px; margin: 0; }

.cta-band { background: var(--gradient-hero) ; border-radius: var(--r-2xl); padding: 56px 32px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("assets/site/cta-shapes.webp") center / cover no-repeat; opacity: .8; pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { max-width: 560px; margin: 0 auto 24px; }

/* Module layout */
.module-hero { background: var(--pl-pale-sky-100); padding: 48px 0 40px; border-bottom: 1px solid var(--border-subtle); }
.module-hero h1 { font-size: 36px; margin-bottom: 12px; }
@media (min-width: 960px) { .module-hero h1 { font-size: 44px; } }
.module-hero .lead { font-size: 18px; max-width: 720px; color: var(--n700); }
.module-hero .meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.module-layout { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 40px 0 80px; }
@media (min-width: 960px) { .module-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; } }
.side-nav { position: sticky; top: 88px; align-self: start; }
.side-nav .group { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--text-muted); margin: 18px 0 6px; padding-left: 12px; }
.side-nav .group:first-child { margin-top: 0; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--r-control); font-size: 14px; color: var(--n700); transition: background var(--d-fast) var(--ease-out); }
.side-nav a:hover { background: var(--n50); }
.side-nav a.active { background: var(--pl-pistachio); color: var(--pl-dark-olive); font-weight: 500; }
.side-nav .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--n200); flex: none; }
.side-nav .dot.done { background: var(--pl-pistachio-500); }
.side-nav .dot.part { background: var(--pl-daisy); }
.side-nav .back { margin-bottom: 14px; font-size: 13.5px; }
@media (max-width: 959px) {
  .side-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--border-subtle); }
  .side-nav .group { width: 100%; margin: 10px 0 2px; }
  .side-nav a { padding: 6px 12px; background: var(--n50); font-size: 13px; }
  .side-nav .back { width: 100%; background: none; }
}

.lesson { max-width: 760px; }
.lesson-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.lesson h2 { font-size: 30px; margin-bottom: 20px; }
.lesson .body h3 { font-size: 21px; margin: 32px 0 10px; }
.lesson .body h4 { margin: 24px 0 8px; }
.lesson .body p { font-size: 16.5px; }
.lesson .body li { font-size: 16px; }
.lesson-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border-subtle); flex-wrap: wrap; }

.callout { border-radius: var(--r-card); padding: 18px 20px; margin: 20px 0; background: var(--pl-pale-sky-100); font-size: 15.5px; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--text-strong); }
.callout-warn { background: var(--warning-surface); }
.callout-example { background: var(--pl-sand-100); }
.callout-call { background: var(--pl-pistachio-100); border-left: 3px solid var(--pl-pistachio-500); }
.callout-call strong::before { content: ""; }

.objectives { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; }
.objectives li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--n0); border: 1px solid var(--border-subtle); border-radius: var(--r-md); font-size: 15px; margin: 0; }
.objectives .n { font-family: var(--mono); font-size: 12px; color: var(--text-muted); padding-top: 3px; }

.terms-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .terms-grid { grid-template-columns: repeat(2, 1fr); } }
.term { padding: 16px 18px; }
.term h4 { margin-bottom: 4px; }
.term p { margin: 0; font-size: 14.5px; }

/* Quiz */
.quiz-q { padding: 22px 24px; margin-bottom: 14px; }
.quiz-q .qn { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 6px; }
.quiz-q .qt { font-size: 17px; font-weight: 500; color: var(--text-strong); margin-bottom: 14px; }
.opt { display: flex; align-items: flex-start; gap: 12px; padding: 10px 14px; border: 1px solid var(--border-default); border-radius: var(--r-md); margin-bottom: 8px; cursor: pointer; transition: background var(--d-fast) var(--ease-out), border-color var(--d-fast); font-size: 15px; }
.opt:hover { background: var(--n50); }
.opt input { margin-top: 4px; accent-color: var(--pl-dark-olive); }
.opt.selected { background: var(--pl-pistachio-100); border-color: var(--pl-pistachio-500); }
.opt.correct { background: var(--success-surface); border-color: var(--success); }
.opt.wrong { background: var(--danger-surface); border-color: var(--danger); }
.quiz-why { margin-top: 10px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--n50); font-size: 14.5px; }
.quiz-result { padding: 28px; border-radius: var(--r-panel); margin-bottom: 24px; }
.quiz-result.pass { background: var(--pl-pistachio-100); }
.quiz-result.fail { background: var(--pl-sand-100); }
.quiz-result .num { font-size: 44px; font-weight: 500; letter-spacing: -0.03em; color: var(--text-strong); line-height: 1; }
.quiz-result .actions { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.sticky-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 20px; }

/* Drill */
.drill-scenario { padding: 22px 24px; margin-bottom: 20px; }
.drill-scenario .who { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--pl-pale-sky); color: var(--pl-dark-olive); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; flex: none; }
.avatar.rep { background: var(--pl-pistachio); }
.chat { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.bubble { display: flex; gap: 12px; align-items: flex-start; max-width: 680px; }
.bubble .msg { padding: 14px 18px; border-radius: 18px; background: var(--n50); font-size: 15.5px; color: var(--n700); }
.bubble.rep { align-self: flex-end; flex-direction: row-reverse; }
.bubble.rep .msg { background: var(--pl-pistachio-100); }
.bubble .name { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 4px; }
.hint { font-size: 14px; color: var(--text-muted); margin: 0 0 10px; padding-left: 56px; }
textarea.input { width: 100%; min-height: 140px; padding: 14px 16px; border: 1px solid var(--border-default); border-radius: var(--r-md); font-family: inherit; font-size: 15.5px; line-height: 1.55; color: var(--text-strong); resize: vertical; transition: border-color var(--d-fast), box-shadow var(--d-fast); background: var(--n0); }
textarea.input:focus { outline: none; border-color: var(--pl-dark-olive); box-shadow: 0 0 0 4px rgba(37,37,23,.08); }
.rubric { display: grid; gap: 10px; margin: 16px 0; }
.rubric-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--border-subtle); }
.rubric-item.hit { background: var(--success-surface); border-color: transparent; }
.rubric-item.miss { background: var(--n50); }
.rubric-item .mark { width: 22px; height: 22px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.rubric-item.hit .mark { background: var(--success); color: #fff; }
.rubric-item.miss .mark { background: var(--n200); color: var(--n600); }
.rubric-item .lbl { font-weight: 600; color: var(--text-strong); }
.rubric-item p { margin: 0; font-size: 14px; }
.model-answer { padding: 20px 22px; border-radius: var(--r-card); background: var(--pl-sand-100); margin-top: 16px; }
.model-answer .eyebrow { margin-bottom: 6px; }
.model-answer p { margin: 0; font-size: 15.5px; color: var(--n700); }
details.disclosure > summary { cursor: pointer; font-weight: 500; color: var(--text-strong); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
details.disclosure > summary::-webkit-details-marker { display: none; }
details.disclosure > summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform var(--d-fast); }
details.disclosure[open] > summary::before { transform: rotate(45deg); }

/* Track chooser */
.track-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; min-height: 220px; background: var(--n0); }
.track-card.current { border-color: var(--pl-pistachio-500); }
.track-card .top { display: flex; justify-content: space-between; align-items: center; }
.track-card .num { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--text-muted); }
.track-card h2 { margin: 0; font-size: 28px; }
.track-card p { margin: 0; font-size: 15px; }
.track-card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--text-muted); padding-top: 12px; }
.nav a.switch { color: var(--text-muted); font-weight: 400; }

/* Role-plays */
.rp-script .rp-note { padding: 12px 16px; border-radius: var(--r-md); background: var(--pl-sand-100); border-left: 3px solid var(--pl-daisy); font-size: 14.5px; max-width: 680px; }
.rp-script.partner .rp-rep { display: none; }
.rp-script .bubble .msg { white-space: pre-wrap; }
.part-divider { margin-top: 56px; padding-top: 32px; border-top: 2px solid var(--pl-dark-olive); }
.cert-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.cert-list li { display: flex; gap: 12px; align-items: center; margin: 0; font-size: 15px; }

/* Capstone */
.packet { display: grid; gap: 20px; }
.packet .card h3 { margin-bottom: 10px; }
.packet table { font-size: 14px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 14.5px; }
.kv dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; color: var(--text-muted); }
.kv dd { margin: 0; color: var(--text-strong); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-sm); background: var(--n0); border: 1px solid var(--border-subtle); font-size: 14.5px; margin: 0; }
.checklist input { margin-top: 4px; accent-color: var(--pl-dark-olive); }

.schedule td { vertical-align: middle; }
.schedule td:first-child { min-width: 140px; }

/* Figures */
.figure { margin: 24px 0 28px; padding: 18px 20px 14px; background: var(--n25); border: 1px solid var(--border-subtle); border-radius: var(--r-card); }
.figure-head { margin-bottom: 12px; }
.figure-stage { width: 100%; height: auto; display: block; background: var(--n0); border: 1px solid var(--border-subtle); border-radius: var(--r-md); font-family: var(--sans); }
.figure-stage text { font-family: var(--sans); }
.figure figcaption { margin-top: 10px; font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }

/* Narrated clips */
.clip { padding: 20px 22px 18px; margin: 0 0 8px; background: var(--n25); }
.clip-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.clip-stage { width: 100%; height: auto; display: block; background: var(--n0); border: 1px solid var(--border-subtle); border-radius: var(--r-md); font-family: var(--sans); }
.clip-stage text { font-family: var(--sans); }
.clip-caption { margin: 14px 0 12px; padding: 12px 16px; border-left: 3px solid var(--pl-pistachio-500); background: var(--pl-pistachio-100); border-radius: var(--r-sm); font-size: 15px; color: var(--n700); min-height: 44px; }
.clip-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.clip-bar { flex: 1; min-width: 140px; height: 10px; border-radius: var(--r-pill); background: var(--n100); position: relative; cursor: pointer; }
.clip-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--gradient-accent-bar); border-radius: var(--r-pill); transition: width 200ms linear; }
.clip-bar b { position: absolute; top: -2px; width: 2px; height: 14px; background: var(--n300); border-radius: 1px; }
.clip-dots { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.clip-dot { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-default); background: var(--n0); font-family: var(--mono); font-size: 12px; color: var(--n600); transition: background var(--d-fast) var(--ease-out); }
.clip-dot:hover { background: var(--n50); }
.clip-dot.active { background: var(--pl-pistachio); border-color: var(--pl-pistachio); color: var(--pl-dark-olive); font-weight: 500; }
.clip-transcript { margin-top: 14px; font-size: 14px; }
.clip-transcript ol { margin: 10px 0 0; padding-left: 20px; }
.clip-transcript li { color: var(--text-muted); margin-bottom: 6px; }
.clip-transcript li a { color: inherit; }
.clip-transcript li.active { color: var(--text-strong); font-weight: 500; }

/* Progress */
.progress-table td:first-child { font-weight: 500; color: var(--text-strong); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 8px); background: var(--pl-dark-olive); color: #fff; padding: 10px 18px; border-radius: var(--r-pill); font-size: 14px; opacity: 0; transition: opacity var(--d-base) var(--ease-out), transform var(--d-base) var(--ease-out); pointer-events: none; z-index: 60; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--d-reveal) var(--ease-out), transform var(--d-reveal) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.site-footer { border-top: 1px solid var(--border-subtle); padding: 32px 0; font-size: 13.5px; color: var(--text-muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.site-footer img { height: 18px; opacity: .8; }
.empty { padding: 48px 24px; text-align: center; color: var(--text-muted); }

/* Accounts */
.auth-hero .wrap { grid-template-columns: 1fr; }
@media (min-width: 960px) { .auth-hero .wrap { grid-template-columns: 6fr 5fr; } }
.auth-card { background: var(--n0); border-radius: var(--r-panel); padding: 28px; box-shadow: var(--shadow-lg); max-width: 460px; width: 100%; }
.auth-tabs { display: flex; gap: 4px; background: var(--n50); border-radius: var(--r-pill); padding: 4px; margin-bottom: 20px; }
.auth-tabs .tab { flex: 1; border: none; background: transparent; border-radius: var(--r-pill); padding: 9px 12px; font-weight: 500; color: var(--text-muted); }
.auth-tabs .tab.active { background: var(--n0); color: var(--text-strong); box-shadow: var(--shadow-sm); }
.auth-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--text-strong); }
input.input { width: 100%; padding: 12px 14px; border: 1px solid var(--border-default); border-radius: var(--r-control); font-family: inherit; font-size: 16px; color: var(--text-strong); background: var(--n0); transition: border-color var(--d-fast), box-shadow var(--d-fast); }
input.input:focus { outline: none; border-color: var(--pl-dark-olive); box-shadow: 0 0 0 4px rgba(37,37,23,.08); }
.form-error { display: none; padding: 10px 14px; border-radius: var(--r-sm); background: var(--danger-surface); color: #b2275f; font-size: 14px; }
.auth-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.auth-actions .btn { width: 100%; justify-content: center; }
.auth-note { margin: 18px 0 0; font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }
.avatar.sm { width: 34px; height: 34px; font-size: 13px; }
.account-menu { position: relative; margin-left: 8px; }
.account-menu summary { list-style: none; cursor: pointer; display: flex; border-radius: 50%; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu .menu { position: absolute; right: 0; top: 44px; min-width: 220px; background: var(--n0); border: 1px solid var(--border-subtle); border-radius: var(--r-card); box-shadow: var(--shadow-lg); padding: 8px; display: grid; gap: 2px; z-index: 60; }
.account-menu .who { display: grid; padding: 8px 10px 10px; border-bottom: 1px solid var(--border-subtle); margin-bottom: 4px; font-size: 14px; }
.account-menu .who .muted { font-size: 12.5px; word-break: break-all; }
.account-menu .menu a, .account-menu .menu button { display: block; width: 100%; text-align: left; padding: 9px 10px; border-radius: var(--r-sm); border: none; background: none; font-size: 14.5px; color: var(--text-strong); }
.account-menu .menu a:hover, .account-menu .menu button:hover { background: var(--n50); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.team-table { min-width: 760px; }

/* Small screens */
@media (max-width: 640px) {
  :root { --page-pad: 18px; }
  .site-header .wrap { gap: 12px; }
  .nav { overflow-x: auto; scrollbar-width: none; flex: 1; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; flex: none; }
  h1 { font-size: 34px; }
  h2 { font-size: 27px; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 17px; }
  .hero-card { padding: 22px; }
  .hero-card .stat-row { gap: 10px; }
  .stat .num { font-size: 30px; }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 24px; }
  .panel { padding: 20px; border-radius: var(--r-card); }
  .card { padding: 18px; }
  .track-card { padding: 22px; min-height: 0; }
  .track-card h2 { font-size: 24px; }
  .cta-band { padding: 32px 20px; border-radius: var(--r-panel); }
  .module-hero { padding: 32px 0 28px; }
  .module-hero h1 { font-size: 30px; }
  .module-hero .lead { font-size: 16.5px; }
  .module-layout { padding: 24px 0 56px; gap: 20px; }
  .lesson h2 { font-size: 26px; }
  .lesson .body h3 { font-size: 19px; }
  .lesson .body table, .packet table, .progress-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: normal; }
  .lesson .body table td, .lesson .body table th { min-width: 110px; }
  blockquote { font-size: 17px; padding-left: 14px; }
  .quiz-q { padding: 18px 16px; }
  .opt { padding: 12px 14px; }
  .quiz-result { padding: 22px 20px; }
  .drill-scenario { padding: 18px 16px; }
  .bubble { max-width: 100%; }
  .bubble .msg { font-size: 15px; padding: 12px 14px; }
  .hint { padding-left: 0; }
  textarea.input { font-size: 16px; min-height: 120px; }
  .clip { padding: 16px 14px 14px; }
  .clip-caption { font-size: 14.5px; }
  .clip-dot { width: 34px; height: 34px; }
  .figure { padding: 14px 12px 12px; }
  .kv { grid-template-columns: 1fr; gap: 10px; }
  .kv dt { margin-top: 2px; }
  .lesson-footer .btn, .sticky-actions .btn { width: 100%; justify-content: center; }
  .lesson-footer { flex-direction: column; align-items: stretch; }
  .week-label { margin: 28px 0 14px; }
  .auth-card { padding: 22px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}
@media (hover: none) {
  .card-link:hover { transform: none; box-shadow: none; }
  .btn:hover .arrow { transform: none; }
}
html { -webkit-text-size-adjust: 100%; }
button, a, .opt, .clip-dot { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* Pieces borrowed from peopleloop.com */
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border: 1px solid var(--pl-orange); border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--text-strong); background: var(--n0); margin-bottom: 16px; }
.eyebrow-pill img { width: 20px; height: 20px; display: block; }
.feature .icon.icon-img { background: transparent; width: 48px; height: 48px; margin-bottom: 12px; }
.feature .icon.icon-img img { width: 44px; height: 44px; display: block; }
.photo-band { padding: 0 0 72px; }
.photo-band-inner { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; background: var(--pl-green-lighter); border-radius: var(--r-2xl); overflow: hidden; }
@media (min-width: 860px) { .photo-band-inner { grid-template-columns: 5fr 6fr; gap: 0; } }
.photo-band-img img { width: 100%; height: 100%; min-height: 280px; max-height: 420px; object-fit: cover; display: block; }
.photo-band-copy { padding: 28px 28px 32px; }
@media (min-width: 860px) { .photo-band-copy { padding: 44px 48px; } }
.photo-band-copy h2 { font-size: 30px; margin-bottom: 12px; }
.photo-band-copy p:last-child { margin: 0; font-size: 16.5px; color: var(--n700); }
.figure-image { background: var(--pl-green-lighter); border-color: var(--pl-green-light); }
.figure-shot { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border-subtle); background: var(--n0); }
.figure-shot img { width: 100%; height: auto; display: block; }
.site-footer { position: relative; overflow: hidden; }
.footer-mark { margin: 24px auto 0; max-width: var(--page-max); padding: 0 var(--page-pad); }
.footer-mark img { width: 100%; max-width: 720px; display: block; opacity: .06; margin: 0 auto; }
@media (max-width: 640px) { .photo-band { padding-bottom: 44px; } .photo-band-copy h2 { font-size: 24px; } .photo-band-img img { min-height: 200px; max-height: 260px; } .hero::before { opacity: .6; } }

/* Account flows: reset links, the email banner */
.auth-links { margin: 2px 0 0; font-size: 14px; text-align: center; }
.auth-links a { color: var(--text-strong); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--n300); }
.auth-links a:hover { text-decoration-color: var(--pl-dark-olive); }
.notice-bar { background: var(--pl-sand-200); border-bottom: 1px solid var(--pl-sand); font-size: 14.5px; color: var(--text-strong); }
.notice-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }

/* Team page detail */
.team-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.team-table tr.team-detail > td { background: var(--n25); padding: 20px 18px 24px; }
.detail-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: 18px; }
.detail-block { background: var(--n0); border: 1px solid var(--border-subtle); border-radius: var(--r-md); padding: 16px 18px; }
.detail-block h4 { font-size: 15px; margin: 0 0 10px; }
.mini-table { width: 100%; font-size: 13.5px; }
.mini-table th, .mini-table td { padding: 5px 6px; }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.plain-list li { display: flex; justify-content: space-between; gap: 12px; }
.signoff-box { background: var(--n0); border: 1px solid var(--border-subtle); border-radius: var(--r-md); padding: 12px 18px; margin-bottom: 14px; }
.signoff-box > summary { font-weight: 500; color: var(--text-strong); cursor: pointer; }
.account-controls { margin-top: 4px; }
.temp-pass { display: inline-block; font-family: var(--mono); font-size: 22px; letter-spacing: .06em; color: var(--text-strong); background: var(--n0); border-radius: var(--r-sm); padding: 6px 14px; user-select: all; }
.plain-list li .mono { white-space: nowrap; }

/* Certificate */
.certificate { background: var(--gradient-hero); border-radius: var(--r-2xl); padding: 22px; aspect-ratio: 1.414 / 1; box-shadow: var(--shadow-md); }
.cert-inner { background: var(--n0); border-radius: var(--r-panel); height: 100%; padding: 6% 7%; display: flex; flex-direction: column; position: relative; }
.cert-inner::after { content: ""; position: absolute; top: 8%; right: 7%; width: 14px; height: 14px; border-radius: 50%; background: var(--pl-orange); }
.cert-logo { width: 172px; height: auto; margin-bottom: 26px; }
.cert-title { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -0.02em; margin-bottom: 18px; }
.cert-lead { margin: 0; color: var(--n600); font-size: 17px; }
.cert-name { font-family: var(--heading); font-weight: 500; color: var(--text-strong); font-size: clamp(34px, 5.4vw, 62px); line-height: 1.1; margin: 6px 0 14px; padding-bottom: 8px; border-bottom: 6px solid var(--pl-pistachio); align-self: flex-start; min-width: 40%; }
.cert-body { font-size: 17px; max-width: 760px; color: var(--n700); margin: 0; }
.cert-meta { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid var(--border-default); padding-top: 18px; }
.cert-meta .eyebrow { display: block; margin: 0 0 4px; font-size: 11px; }
.cert-meta strong { font-size: 15.5px; }
.cert-meta .mono { font-size: 13.5px; }
@media (max-width: 760px) { .certificate { aspect-ratio: auto; padding: 12px; } .cert-meta { grid-template-columns: 1fr; } }
@media print {
  @page { size: A4 landscape; margin: 10mm; }
  body { background: #fff; }
  .site-header, .site-footer, .no-print, .notice-bar, .toast { display: none !important; }
  .cert-page { padding: 0 !important; max-width: none !important; }
  .certificate { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; break-inside: avoid; height: 180mm; aspect-ratio: auto; }
}

/* Demo mode */
#account { display: flex; align-items: center; gap: 8px; }
.demo-badge { white-space: nowrap; }
.linklike { border: none; background: none; padding: 0; font: inherit; color: var(--text-strong); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--n300); cursor: pointer; }
.linklike:hover { text-decoration-color: var(--pl-dark-olive); }
.demo-box { border-top: 1px solid var(--border-subtle); margin-top: 18px; }

/* Five-minute review */
.review-streak { display: inline-flex; align-items: baseline; gap: 10px; background: var(--pl-pistachio-100); border: 1px solid var(--pl-pistachio-200); border-radius: var(--r-pill); padding: 8px 18px; margin: 4px 0 24px; }
.review-streak .num { font-family: var(--heading); font-size: 28px; font-weight: 500; color: var(--text-strong); line-height: 1; }
.review-streak .lbl { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--text-muted); }
.review-opt { width: 100%; text-align: left; background: var(--n0); font: inherit; font-size: 15px; color: var(--text-body); }
.review-opt[disabled] { cursor: default; }
.review-opt.correct, .review-opt.wrong { color: var(--text-strong); }

/* Header search */
.header-search { position: relative; flex: none; display: none; }
.header-search input { width: 168px; height: 36px; border: 1px solid var(--border-default); border-radius: var(--r-pill); padding: 0 34px 0 14px; font: inherit; font-size: 14px; color: var(--text-strong); background: var(--n25); transition: width var(--d-base) var(--ease-out), border-color var(--d-fast), background var(--d-fast); }
.header-search input::placeholder { color: var(--text-muted); }
.header-search input:focus { outline: none; border-color: var(--pl-dark-olive); background: var(--n0); width: 220px; }
.header-search input::-webkit-search-cancel-button { display: none; }
.header-search kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 11px; color: var(--text-muted); border: 1px solid var(--border-default); border-radius: 5px; padding: 0 5px; line-height: 17px; pointer-events: none; }
.header-search input:focus + kbd { display: none; }
.nav a.nav-search { display: inline-flex; }
@media (min-width: 1000px) { .header-search { display: block; } .nav a.nav-search { display: none; } }
@media (min-width: 1200px) { .site-header .wrap { gap: 18px; } }
@media (min-width: 760px) and (max-width: 1359px) { .brand .course-name, .brand .divider { display: none; } }
@media (min-width: 641px) and (max-width: 1199px) { .nav a { padding: 8px 9px; font-size: 14px; } .site-header .wrap { gap: 12px; } .header-search input { width: 140px; } .header-search input:focus { width: 180px; } }

/* Search page */
.search-box { display: flex; gap: 10px; margin: 8px 0 10px; }
.search-box .input { flex: 1; font-size: 17px; }
.search-results { display: grid; gap: 12px; margin-top: 18px; }
.search-hit { display: block; padding: 18px 20px; }
.search-hit .eyebrow { margin: 0 0 4px; }
.search-hit h3 { font-size: 18px; margin: 0 0 6px; }
.search-hit p { margin: 0; font-size: 14.5px; color: var(--n700); }
.search-hit mark { background: var(--pl-pistachio); color: var(--pl-dark-olive); border-radius: 3px; padding: 0 2px; }
@media (max-width: 640px) { .demo-badge { padding: 2px 7px; font-size: 10.5px; } .demo-badge .demo-word { display: none; } #account { gap: 6px; } .account-menu { margin-left: 0; } }
@media (min-width: 641px) and (max-width: 999px) { .nav { overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 1 1 auto; } .nav::-webkit-scrollbar { display: none; } .nav a { white-space: nowrap; flex: none; } }
.activity-table td.mono { white-space: nowrap; font-size: 12.5px; }

/* Invites */
.invite-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.invite-form .input { flex: 1 1 260px; max-width: 420px; padding: 9px 12px; font-size: 15px; }
.invite-link { display: block; font-family: var(--mono); font-size: 13px; word-break: break-all; background: var(--n0); border-radius: var(--r-sm); padding: 8px 12px; color: var(--text-strong); user-select: all; }
.invite-list li { align-items: center; }
input.input.locked { background: var(--n50); color: var(--text-muted); }
.invites-box { margin-bottom: 18px; }

/* Search on the track chooser: front and centre under the two tracks */
.home-search { margin-top: 28px; background: var(--n0); border-radius: var(--r-panel); padding: 22px 24px 20px; box-shadow: var(--shadow-lg); }
.home-search-form { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--border-default); border-radius: var(--r-pill); padding: 6px 6px 6px 18px; background: var(--n25); transition: border-color var(--d-fast), background var(--d-fast), box-shadow var(--d-fast); }
.home-search-form:focus-within { border-color: var(--pl-dark-olive); background: var(--n0); box-shadow: 0 0 0 4px rgba(37,37,23,.08); }
.home-search-icon { display: flex; color: var(--text-muted); flex: none; }
.home-search-icon svg { width: 22px; height: 22px; }
.home-search-form input { flex: 1; min-width: 0; border: none; background: transparent; font: inherit; font-size: 18px; color: var(--text-strong); padding: 10px 0; outline: none; }
.home-search-form input::placeholder { color: var(--text-muted); }
.home-search-form input::-webkit-search-cancel-button { display: none; }
.home-search-form kbd { font-family: var(--mono); font-size: 12px; color: var(--text-muted); border: 1px solid var(--border-default); border-radius: 6px; padding: 1px 7px; flex: none; }
.home-search-form:focus-within kbd { display: none; }
.home-search-form .btn { flex: none; }
.home-search-tries { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 14px; }
.chip { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: var(--r-pill); border: 1px solid var(--border-default); background: var(--n0); font: inherit; font-size: 13.5px; color: var(--text-strong); cursor: pointer; transition: background var(--d-fast), border-color var(--d-fast); }
.chip:hover { background: var(--n50); color: var(--text-strong); }
.chip.active { background: var(--pl-pistachio); border-color: var(--pl-pistachio-500); }
.home-search-list { display: grid; gap: 2px; margin-top: 14px; }
.home-search-hit { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: var(--r-md); transition: background var(--d-fast); }
.home-search-hit:hover, .home-search-hit:focus-visible { background: var(--pl-pistachio-100); color: inherit; }
.home-search-hit .arrow { margin-left: auto; color: var(--text-muted); flex: none; }
.home-search-text { display: grid; gap: 1px; min-width: 0; }
.home-search-text strong { font-weight: 500; font-size: 15.5px; }
.home-search-text .muted { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-search-hit mark, .home-search-text mark { background: var(--pl-pistachio); color: var(--pl-dark-olive); border-radius: 3px; padding: 0 2px; }
.home-search-all { display: inline-flex; align-items: center; gap: 8px; margin: 10px 12px 2px; font-weight: 500; font-size: 14.5px; }
.search-track { display: inline-flex; flex: none; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; padding: 2px 8px; border-radius: var(--r-pill); background: var(--pl-pale-sky-200); color: var(--info); margin-right: 8px; white-space: nowrap; }
.home-search-hit .search-track { margin-right: 0; min-width: 88px; justify-content: center; }
.scope-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
@media (max-width: 640px) {
  .home-search { padding: 16px; }
  .home-search-form { padding-left: 14px; }
  .home-search-form input { font-size: 16px; }
  .home-search-form kbd, .home-search-form .btn .arrow { display: none; }
  .home-search-form .btn { padding: 10px 14px; }
  .home-search-hit .search-track { min-width: 0; }
}
@media (max-width: 640px) { .home-search-hit { flex-wrap: wrap; align-items: flex-start; gap: 4px 10px; padding: 10px 8px; } .home-search-hit .arrow { display: none; } .home-search-text { flex-basis: 100%; } .home-search-text .muted { white-space: normal; } }

/* Public pages (about, privacy) and the note for visitors who are not on the team */
.static-nav { margin-left: auto; }
.static-hero { padding: 72px 0 48px; }
.static-wrap { max-width: 860px; }
.static-body h2 { font-size: 26px; margin: 36px 0 10px; }
.static-body h2:first-child { margin-top: 0; }
.static-body p, .static-body li { font-size: 16.5px; color: var(--n700); }
.static-body ul { padding-left: 20px; display: grid; gap: 10px; }
.static-body a, .outsider-card a:not(.btn), .site-footer span a, .static-hero .lead a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--n300); }
.static-body code { font-family: var(--mono); font-size: 14px; background: var(--n50); padding: 1px 6px; border-radius: 5px; }
.outsider-section { padding: 0; margin-top: -24px; position: relative; }
.outsider-card { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; background: var(--pl-green-lighter); border: 1px solid var(--pl-green-light); border-radius: var(--r-card); padding: 26px 28px; }
.outsider-card h2 { font-size: 24px; margin: 0 0 8px; }
.outsider-card p:last-child { margin: 0; color: var(--n700); }
.outsider-card .btn { flex: none; }
@media (max-width: 640px) { .outsider-card { flex-direction: column; align-items: flex-start; padding: 20px; } .static-hero { padding: 40px 0 32px; } }
.static-hero .wrap { display: block; } .static-hero h1 { max-width: 760px; } .static-hero .lead { max-width: 700px; }

/* About page for the public: photos and who PeopleLoop is */
.static-wrap-wide { max-width: 1080px; }
.about-hero { padding: 64px 0 56px; }
.about-hero-grid { display: grid !important; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 900px) { .about-hero-grid { grid-template-columns: 6fr 5fr; gap: 56px; } }
.about-hero h1 { font-size: clamp(38px, 5vw, 60px); letter-spacing: -0.02em; }
.about-hero-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r-2xl); display: block; box-shadow: var(--shadow-lg); }
.about-features { margin-top: 8px; }
.about-pair { align-items: stretch; }
.about-sequoia { display: flex; flex-direction: column; justify-content: center; padding: 32px; background: var(--pl-pale-sky-100); border-color: var(--pl-pale-sky-200); }
.about-sequoia h3 { font-size: 26px; }
.about-sequoia p:last-child { margin: 0; font-size: 16.5px; color: var(--n700); }
.about-photo-card img { width: 100%; height: 100%; min-height: 260px; max-height: 380px; object-fit: cover; border-radius: var(--r-card); display: block; }
.about-footnote { text-align: center; margin: 24px 0 0; font-size: 14.5px; }
.about-footnote a, .cta-band a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--n300); }
.static-body h3 { font-size: 19px; margin: 22px 0 6px; }

.outsider-note { margin-top: 28px; max-width: 520px; background: rgba(255,255,255,.72); border: 1px solid var(--border-subtle); border-radius: var(--r-card); padding: 18px 20px; font-size: 15px; color: var(--n700); }
.outsider-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.auth-links-inline { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--n300); }

/* Sign-in page: scrolling posts from PeopleLoop's LinkedIn under the sign-in section */
.li-strip { padding: 0 0 44px; background: var(--n0); overflow: hidden; }
/* A clear break under the sign-in section: white space, then a short rule, so the eye stays on the sign-in box. */
.li-strip::before { content: ""; display: block; width: min(1192px, calc(100% - 48px)); height: 1px; margin: 56px auto 40px; background: linear-gradient(90deg, transparent, var(--border-default) 15%, var(--border-default) 85%, transparent); }
.li-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.li-follow { font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--n300); white-space: nowrap; }
.li-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.li-track { display: flex; gap: 16px; width: max-content; animation: li-scroll 80s linear infinite; padding: 4px 0 8px; }
.li-copy { display: flex; gap: 16px; }
.li-viewport:hover .li-track, .li-viewport:focus-within .li-track { animation-play-state: paused; }
@keyframes li-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
.li-card { flex: none; width: 236px; display: flex; flex-direction: column; background: var(--n0); border: 1px solid var(--border-subtle); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out); color: inherit; }
.li-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: inherit; }
.li-card-img { background: var(--n50); overflow: hidden; flex: none; }
.li-card-img img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.li-card-body { padding: 14px 16px 16px; }
.li-card-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--text-muted); margin: 0 0 6px; }
.li-card-stat { font-family: var(--heading); font-size: 22px; font-weight: 500; color: var(--text-strong); margin: 0 0 4px; line-height: 1.15; }
.li-card-text { font-size: 13.5px; line-height: 1.45; color: var(--n700); margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .li-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .li-track { animation: none; }
  .li-copy { display: none; }
}
@media (max-width: 640px) { .li-card { width: 200px; } .li-strip { padding: 0 0 32px; } .li-strip::before { margin: 36px auto 28px; } }

/* Pacing card on the track home */
.pace-section { padding: 40px 0 0; }
.pace-card { max-width: 860px; }
.pace-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.pace-head h3 { margin: 0 0 4px; }
.pace-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.pace-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border-subtle); border-radius: var(--r-md); font-size: 15px; }
.pace-list li a { font-weight: 500; }

/* Team page tools: search, filters, spreadsheet */
.team-tools { display: grid; gap: 10px; margin: 8px 0 18px; }
.team-tools-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.team-search { max-width: 340px; padding: 9px 12px; font-size: 15px; }
.filter-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.filter-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--text-muted); min-width: 52px; }
.start-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.start-input { width: auto; padding: 7px 10px; font-size: 14.5px; }
.start-label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }

/* Grading the written capstone */
.draft-box { white-space: pre-wrap; max-height: 360px; overflow: auto; background: var(--n25); border: 1px solid var(--border-subtle); border-radius: var(--r-md); padding: 14px 16px; font-size: 14.5px; line-height: 1.6; color: var(--text-strong); margin: 0 0 12px; }
.grade-note { min-height: 90px; margin-top: 10px; font-size: 14.5px; }

/* Certificate check */
.cert-check-line { margin: 12px 0 0; font-size: 12.5px; color: var(--text-muted); }
.check-result { margin-top: 6px; }
.check-result h3 { margin: 0 0 6px; }
.team-table .badge { white-space: nowrap; } .badge-plain { background: transparent; color: var(--text-muted); padding-left: 0; }
/* Dropdowns match the text and date fields: same rounded border, colours, font and focus ring, with a quiet arrow. */
select.input { -webkit-appearance: none; appearance: none; padding: 12px 36px 12px 14px; border: 1px solid var(--border-default); border-radius: var(--r-control); font-family: inherit; font-size: 16px; color: var(--text-strong); background-color: var(--n0); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237c7c72' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; background-size: 12px 8px; cursor: pointer; transition: border-color var(--d-fast), box-shadow var(--d-fast); }
select.input:focus { outline: none; border-color: var(--pl-dark-olive); box-shadow: 0 0 0 4px rgba(37,37,23,.08); }
.role-input { width: auto; }
/* In the add panel, the role and date fields sit beside the email at the same height and size. */
.invite-form .start-input, .invite-form .role-input { flex: none; width: auto; max-width: none; padding-top: 9px; padding-bottom: 9px; font-size: 15px; }
.invite-form .start-input { padding-left: 12px; padding-right: 12px; }
.invite-form .role-input { padding-left: 12px; padding-right: 34px; }
.invite-form .input { height: 40px; box-sizing: border-box; padding-top: 0; padding-bottom: 0; }

/* Weekly summary switch on the account page */
.summary-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; flex: none; position: relative; }
.switch-input { position: absolute; opacity: 0; width: 44px; height: 26px; margin: 0; cursor: pointer; }
.switch-track { width: 44px; height: 26px; border-radius: var(--r-pill); background: var(--n200); position: relative; transition: background var(--d-fast); }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--n0); box-shadow: var(--shadow-sm); transition: transform var(--d-base) var(--ease-out); }
.switch-input:checked + .switch-track { background: var(--pl-dark-olive); }
.switch-input:checked + .switch-track::after { transform: translateX(18px); background: var(--pl-pistachio); }
.switch-input:focus-visible + .switch-track { outline: 2px solid var(--pl-dark-olive); outline-offset: 2px; }
.switch-input:disabled + .switch-track { opacity: .5; }
.switch-state { font-family: var(--mono); font-size: 12px; color: var(--text-muted); min-width: 24px; }
.missed-table td:nth-child(2) { max-width: 520px; }
