:root {
  --navy: #1e3a5f;
  --navy-deep: #152a45;
  --teal: #0e7c7b;
  --teal-deep: #0a5f5e;
  --teal-soft: #e6f2f1;
  --ink: #2b2b2b;
  --muted: #5a5f66;
  --line: #e8e2d8;
  --surface: #fff;
  --paper: #fdfbf6;
  --alert: #fff8d6;
  --alert-border: #e8c547;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Public Sans", system-ui, sans-serif; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); }
.header-inner { max-width: 1220px; margin: auto; min-height: 72px; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand { border: 0; background: transparent; text-align: left; cursor: pointer; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--navy); color: white; font: 900 20px "Fraunces", serif; }
.brand-kicker, .brand-title, .brand-author { display: block; }
.brand-kicker { color: var(--teal); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.brand-title { margin-top: 2px; font: 700 18px "Fraunces", serif; }
.brand-author { margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 600; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 800; background: var(--paper); }
.tab.active { border-color: var(--navy); background: var(--navy); color: white; }
.link-button, .text-button { border: 0; background: transparent; color: var(--teal-deep); font-weight: 800; cursor: pointer; }
.dashboard-shell { max-width: 1220px; min-height: 720px; margin: 24px auto 48px; display: grid; grid-template-columns: 220px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--surface); box-shadow: 0 18px 50px rgba(30,58,95,.08); }
.dashboard-sidebar { display: flex; flex-direction: column; gap: 20px; padding: 20px 14px; border-right: 1px solid var(--line); background: #fbfaf6; }
.dashboard-profile { display: flex; align-items: center; gap: 10px; padding: 8px; }
.profile-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--navy); color: white; font-weight: 900; }
.dashboard-profile strong, .dashboard-profile small { display: block; }
.dashboard-profile small { margin-top: 3px; color: var(--muted); }
.dashboard-menu { display: grid; gap: 6px; }
.dashboard-menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); text-align: left; font-weight: 800; cursor: pointer; }
.dashboard-menu button span { width: 26px; text-align: center; }
.dashboard-menu button.active, .dashboard-menu button:hover { background: var(--teal-soft); color: var(--teal-deep); }
.dashboard-license { margin-top: auto; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 12px; text-align: left; cursor: pointer; }
.dashboard-license > span:first-child { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--alert); color: #5a4300; font-weight: 900; }
.dashboard-license strong, .dashboard-license small { display: block; }
.dashboard-license small { margin-top: 2px; color: var(--muted); }
.dashboard-main { min-width: 0; padding: 32px; }
.dashboard-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.dashboard-heading h1 { font-size: 42px; }
.stat-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat-card { min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; border-radius: 18px; color: white; }
.stat-card span { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.stat-card strong { font: 900 38px "Fraunces", serif; }
.stat-card small { opacity: .78; }
.stat-card.navy { background: var(--navy); }
.stat-card.teal { background: var(--teal); }
.stat-card.gold { background: #a87817; }
.dashboard-columns { margin-top: 14px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 14px; }
.dashboard-panel { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-heading h2 { margin: 4px 0 0; }
.dashboard-categories { margin-top: 14px; display: grid; gap: 8px; }
.dashboard-category { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 10px; text-align: left; cursor: pointer; }
.dashboard-category:hover { border-color: var(--teal); }
.dashboard-category-number { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--teal-soft); color: var(--teal-deep); font-weight: 900; }
.dashboard-category strong, .dashboard-category small { display: block; }
.dashboard-category small { margin-top: 2px; color: var(--muted); }
.quick-actions { display: grid; align-content: start; gap: 10px; }
.resource-card { width: 100%; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 12px; text-align: left; cursor: pointer; }
.resource-card strong, .resource-card small { display: block; }
.resource-card small { margin-top: 3px; color: var(--muted); }
.resource-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: var(--navy-soft, #eaf0f7); color: var(--navy); font-size: 18px; }
.dashboard-feature { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; border-radius: 18px; background: var(--navy); color: white; }
.dashboard-feature h2 { margin: 5px 0; }
.dashboard-feature p:last-child { margin: 0; opacity: .78; }
.license-page { max-width: 900px; }
.license-card { margin-top: 24px; padding: 36px; border: 2px solid var(--alert-border); border-radius: 20px; background: var(--alert); color: #5a4300; line-height: 1.8; }
.license-seal { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #5a4300; color: white; font: 900 28px "Fraunces", serif; }
.featured { max-width: 1220px; margin: 0 auto; padding: 12px 24px 4px; text-align: center; font-size: 14px; }
.featured a { color: var(--teal-deep); font-weight: 800; }
.hero { margin: 0; background: white; }
.hero img { display: block; width: 100%; height: auto; object-fit: contain; }
.home-intro { max-width: 900px; margin: auto; padding: 28px 24px 56px; text-align: center; }
.home-intro p { max-width: 760px; margin: auto; font-size: 18px; font-weight: 600; line-height: 1.6; }
.intro-actions, .note-actions { margin-top: 24px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 800; }
.button.primary { border-color: var(--navy); background: var(--navy); color: white; }
.content { max-width: 1220px; margin: auto; padding: 40px 24px; }
.notes-page { max-width: 900px; }
.eyebrow, .section-label { color: var(--teal); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; }
h1 { margin: 8px 0 0; font-size: clamp(32px, 5vw, 51px); line-height: 1.02; }
.lede { color: var(--muted); line-height: 1.6; }
.lede a { color: var(--teal-deep); font-weight: 800; }
.search-panel { margin-top: 24px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 8px 20px rgba(30,58,95,.04); }
.search-box { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 12px 16px; }
.search-icon { width: 16px; height: 16px; margin-right: 10px; border: 2px solid var(--muted); border-radius: 50%; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; font: 500 15px "Public Sans", sans-serif; }
.filters { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 1px solid var(--line); border-radius: 999px; background: var(--paper); padding: 8px 14px; color: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; }
.filters button.active { border-color: var(--navy); background: var(--navy); color: white; }
.result-count { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.result-count strong { color: var(--teal); }
.category-list { margin-top: 32px; display: grid; gap: 40px; }
.category-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--teal); }
.category-heading h2 { margin: 0; font-size: 24px; }
.category-heading p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.course-count { flex: none; border-radius: 999px; background: var(--teal-soft); color: var(--teal-deep); padding: 5px 12px; font-size: 12px; font-weight: 800; }
.course-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.course-card { display: flex; flex-direction: column; min-height: 220px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.course-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 11px; }
.course-meta span:first-child { border-radius: 999px; background: var(--paper); padding: 5px 9px; text-transform: uppercase; font-weight: 800; }
.course-card h3 { margin: 12px 0 0; font-size: 17px; line-height: 1.4; }
.course-card p { flex: 1; color: var(--muted); font-size: 14px; line-height: 1.6; }
.course-card a { width: fit-content; color: var(--teal-deep); text-decoration: none; font-size: 14px; font-weight: 800; }
.course-card a:hover { text-decoration: underline; }
.no-results { padding: 40px; border: 1px dashed var(--line); border-radius: 16px; background: white; text-align: center; }
.no-results p { color: var(--muted); }
.no-results .button { margin-top: 10px; }
.video-section { margin-top: 48px; display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: white; }
.video-copy { padding: 32px; background: var(--navy); color: white; }
.eyebrow.light, .section-label.light { color: #7ad0ce; }
.video-copy h2 { margin: 12px 0; font-size: 30px; line-height: 1.25; }
.video-copy > p:not(.eyebrow) { line-height: 1.7; }
.video-link { margin-top: 24px; padding: 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 16px; background: rgba(255,255,255,.1); }
.video-link p { margin: 0; font-size: 12px; text-transform: uppercase; }
.video-link h3 { margin: 8px 0 16px; }
.button.watch { background: white; color: var(--navy); }
.takeaways { padding: 32px; }
.takeaways p { color: var(--muted); }
.takeaways ol { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.takeaways li { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.takeaways li span, .steps li span { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: white; font-size: 12px; }
.takeaways li strong { font-size: 14px; }
.about { margin: 16px 0 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: white; font-size: 14px; }
.about a { color: var(--teal-deep); font-weight: 800; }
.notes-list { margin-top: 32px; display: grid; gap: 20px; }
.note { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.note h2 { margin: 8px 0 0; font-size: 24px; }
.note > p:last-child { line-height: 1.7; }
.disclaimer { border: 2px solid var(--alert-border); background: var(--alert); color: #5a4300; }
.audit { border: 4px solid var(--alert-border); background: var(--alert); color: #5a4300; }
.section-label.teal { color: var(--teal); }
.steps { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.note-grid div { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.note-grid ul { margin: 10px 0 0; padding-left: 18px; line-height: 1.8; font-size: 14px; }
.next { background: var(--navy); color: white; }
.light-steps li span { background: white; color: var(--navy); }
footer { border-top: 1px solid var(--line); background: white; }
.footer-inner { max-width: 1220px; margin: auto; min-height: 64px; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.footer-inner a { color: var(--teal-deep); font-weight: 800; }
@media (max-width: 900px) {
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .video-section { grid-template-columns: 1fr; }
  .dashboard-shell { margin: 16px; grid-template-columns: 180px minmax(0, 1fr); }
  .dashboard-main { padding: 24px; }
  .dashboard-columns { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .header-inner { align-items: flex-start; flex-direction: column; }
  .brand-title { font-size: 16px; }
  .tabs { width: 100%; }
  .tab { flex: 1; text-align: center; }
  .course-grid, .note-grid { grid-template-columns: 1fr; }
  .category-heading { align-items: flex-start; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .dashboard-shell { grid-template-columns: 1fr; }
  .dashboard-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .dashboard-license { margin-top: 0; }
  .dashboard-main { padding: 20px 16px; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; }
  .dashboard-heading h1 { font-size: 34px; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-card { min-height: 120px; }
  .dashboard-feature { align-items: flex-start; flex-direction: column; }
}
