/* ==========================================================================
   SPC Archer Adaptive Training Experience
   Professional corporate theme — internal audit leadership audience.
   ========================================================================== */

:root {
  --navy-900: #0d1f38;
  --navy-800: #14304f;
  --navy-700: #1c4270;
  --navy-600: #24578f;
  --accent: #1e6fd9;
  --accent-soft: #e8f0fc;
  --teal: #0f7b70;
  --teal-soft: #e4f4f2;
  --amber: #a86400;
  --amber-soft: #fdf3e2;
  --crimson: #a32222;
  --crimson-soft: #fbeaea;

  --ink: #16202e;
  --ink-muted: #4c5a6d;
  --ink-faint: #71809a;
  --line: #dfe5ee;
  --line-strong: #c6d0de;
  --surface: #ffffff;
  --canvas: #f4f7fb;

  --radius: 8px;
  --radius-sm: 5px;
  --shadow-sm: 0 1px 2px rgba(13, 31, 56, .06), 0 1px 3px rgba(13, 31, 56, .05);
  --shadow-md: 0 4px 14px rgba(13, 31, 56, .09);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;

  --sidebar-w: 268px;
  --header-h: 58px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
}

a { color: var(--accent); }

/* ---------- App header ------------------------------------------------- */

.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  background: var(--navy-900);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 2px 10px rgba(0, 0, 0, .18);
}

.app-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: .01em;
  white-space: nowrap;
}

.app-header__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: linear-gradient(140deg, var(--accent), #1a9c8c);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.app-header__sub {
  font-weight: 400;
  font-size: 13.5px;
  color: #a9bdd6;
  border-left: 1px solid rgba(255, 255, 255, .18);
  padding-left: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-header__spacer { flex: 1 1 auto; }

.app-header__meta {
  font-size: 13px;
  color: #a9bdd6;
  white-space: nowrap;
}

.app-header__meta strong { color: #fff; font-weight: 600; }

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

/* ---------- Layout ----------------------------------------------------- */

.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
}

.app-nav {
  position: sticky;
  top: var(--header-h);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 20px 14px 40px;
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.app-nav__title {
  font-size: 11.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 700;
  margin: 0 8px 10px;
}

.app-nav__list { list-style: none; margin: 0 0 18px; padding: 0; }

.app-nav__link {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.35;
  border: 1px solid transparent;
}

.app-nav__link:hover { background: var(--accent-soft); }

.app-nav__link[aria-current="page"] {
  background: var(--accent-soft);
  border-color: #c3d9f6;
  font-weight: 620;
  color: var(--navy-800);
}

.app-nav__num {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: #eef2f8;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.app-nav__link[aria-current="page"] .app-nav__num { background: var(--navy-700); color: #fff; }

.app-nav__check { color: var(--teal); font-size: 13px; font-weight: 700; }

.app-nav__progress {
  margin: 0 8px 16px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.progress-bar {
  height: 6px;
  border-radius: 99px;
  background: #e6ebf3;
  overflow: hidden;
  margin-top: 6px;
}

.progress-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  transition: width .3s ease;
}

.app-nav__tools { border-top: 1px solid var(--line); padding-top: 14px; margin: 0 8px; }

.app-main {
  min-width: 0;
  padding: 28px 34px 80px;
}

/* ---------- Typography / content --------------------------------------- */

.lesson { max-width: 860px; }

.lesson__eyebrow {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 6px;
}

h1 {
  font-size: 31px;
  line-height: 1.22;
  letter-spacing: -.015em;
  margin: 0 0 10px;
  color: var(--navy-900);
}

.lesson__lede {
  font-size: 17.5px;
  color: var(--ink-muted);
  margin: 0 0 22px;
  max-width: 68ch;
}

h2 {
  font-size: 21px;
  letter-spacing: -.01em;
  margin: 34px 0 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
  color: var(--navy-800);
}

h3 { font-size: 16.5px; margin: 22px 0 6px; color: var(--navy-800); }
h4 { font-size: 14.5px; margin: 16px 0 4px; color: var(--ink); }

p { margin: 0 0 12px; }

ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 5px; }
li > ul, li > ol { margin-top: 5px; }

strong { font-weight: 640; color: var(--navy-900); }

code {
  font-family: var(--font-mono);
  font-size: .89em;
  background: #eef2f8;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--navy-800);
}

hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }

/* ---------- Content components ----------------------------------------- */

.callout {
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--accent);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 18px 0;
}

.callout__title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 5px;
}

.callout > :last-child { margin-bottom: 0; }

.callout--leader { border-left-color: var(--teal); }
.callout--leader .callout__title { color: var(--teal); }

.callout--warn { border-left-color: var(--amber); background: var(--amber-soft); }
.callout--warn .callout__title { color: var(--amber); }

.callout--risk { border-left-color: var(--crimson); background: var(--crimson-soft); }
.callout--risk .callout__title { color: var(--crimson); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  margin: 18px 0;
}

.card > :last-child { margin-bottom: 0; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.grid-2 .card { margin: 0; }

.table-wrap { overflow-x: auto; margin: 18px 0; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

th, td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: #eff3f9;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink-muted);
  white-space: nowrap;
}

tbody tr:last-child td { border-bottom: 0; }

.checklist { list-style: none; padding-left: 0; }

.checklist li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 7px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .38em;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 3px;
  background: var(--surface);
}

.steps { counter-reset: step; list-style: none; padding-left: 0; }

.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 38px;
  margin-bottom: 14px;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-700);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 99px;
  background: #eef2f8;
  color: var(--ink-muted);
  border: 1px solid var(--line);
}

.tag--sev1 { background: var(--crimson-soft); color: var(--crimson); border-color: #f0c9c9; }
.tag--sev2 { background: var(--amber-soft); color: var(--amber); border-color: #ecd6ac; }
.tag--sev3 { background: var(--accent-soft); color: var(--navy-700); border-color: #c3d9f6; }
.tag--ok { background: var(--teal-soft); color: var(--teal); border-color: #b9e0da; }

/* Interactive knowledge check */

.quiz { margin: 18px 0; }

.quiz__q { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 14px 16px; margin-bottom: 12px; }
.quiz__q > p:first-child { font-weight: 620; color: var(--navy-900); }

.quiz__opt { display: block; padding: 6px 0; cursor: pointer; }
.quiz__opt input { margin-right: 8px; }

.quiz__result { font-size: 14px; margin-top: 8px; min-height: 1.2em; font-weight: 600; }
.quiz__result[data-state="right"] { color: var(--teal); }
.quiz__result[data-state="wrong"] { color: var(--crimson); }

/* ---------- Mode selector ---------------------------------------------- */

.mode-bar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 0 0 24px;
  box-shadow: var(--shadow-sm);
  max-width: 860px;
}

.mode-bar__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.mode-bar__label {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-faint);
}

.mode-bar__hint { font-size: 13px; color: var(--ink-muted); }

.mode-options { display: flex; flex-wrap: wrap; gap: 8px; }

.mode-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  background: var(--surface);
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  transition: background .12s, border-color .12s, color .12s;
}

.mode-option:hover { border-color: var(--accent); color: var(--navy-700); }
.mode-option input { position: absolute; opacity: 0; pointer-events: none; }

.mode-option:has(input:checked) {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
  font-weight: 600;
}

.mode-option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.mode-option__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.mode-option:has(input:checked) .mode-option__dot { background: #6fd0c2; }

.mode-desc {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--ink-muted);
  border-top: 1px dashed var(--line);
  padding-top: 9px;
}

/* Lens blocks shown/hidden by mode */

.lens { display: none; }
.lens.is-visible { display: block; animation: lens-in .18s ease-out; }

@keyframes lens-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.lens__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid #b9e0da;
  border-radius: 99px;
  padding: 2px 10px;
  margin-bottom: 10px;
}

/* ---------- Adaptive content ------------------------------------------- */

/* Banner summarising what Stephan's request changed on this page. */

.adapt-banner {
  max-width: 860px;
  margin: 0 0 22px;
  border: 1px solid #b9e0da;
  border-left: 4px solid var(--teal);
  background: var(--teal-soft);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
}

.adapt-banner__title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 7px;
}

.adapt-banner__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }

.adapt-chip {
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid #b9e0da;
  color: var(--teal);
}

.adapt-banner__unmatched {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--amber);
  background: var(--amber-soft);
  border: 1px solid #ecd6ac;
  border-radius: var(--radius-sm);
  padding: 8px 11px;
}

.adapt-banner__unmatched ul { margin: 5px 0 0; padding-left: 20px; }

.adapt-banner__actions { margin-top: 9px; }

/* Worked examples — hidden until requested, then one per group by sector. */

.adapt-example { display: none; }
.adapt-example.is-visible { display: block; animation: lens-in .18s ease-out; }

.adapt-example {
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--navy-600);
  background: #fbfcfe;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 16px 0;
}

.adapt-example > :last-child { margin-bottom: 0; }

.adapt-example__label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 700;
  color: var(--navy-600);
  margin: 0 0 6px;
}

/* Plain-language restatements. */

.adapt-plain-alt { display: none; }
body.adapt-plain .adapt-plain-alt { display: block; }
body.adapt-plain .adapt-plain-orig { display: none; }

.adapt-plain-alt {
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  margin: 16px 0;
}

.adapt-plain-alt > :last-child { margin-bottom: 0; }

/* Checklist / prose swap. Prose is the default; checklist variants are
   authored alongside and only one of the pair is ever shown. */

[data-adapt="checklist"] { display: none; }
body.adapt-checklist [data-adapt="checklist"] { display: block; }
body.adapt-checklist [data-adapt="prose"] { display: none; }

/* Condensed reading — drops the long asides, keeps the substance. */

body.adapt-brief [data-adapt-optional] { display: none; }

/* Quiz hoisted to the top of the lesson. */

.adapt-quiz-hoist {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 4px 18px 14px;
  margin: 0 0 24px;
  max-width: 860px;
  box-shadow: var(--shadow-sm);
}

.adapt-quiz-hoist h2 { margin-top: 16px; }

/* ---------- Trainer panel ---------------------------------------------- */

.trainer {
  max-width: 860px;
  margin: 40px 0 0;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.trainer__head {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: 16px 20px;
}

.trainer__head h2 {
  margin: 0;
  border: 0;
  padding: 0;
  color: #fff;
  font-size: 19px;
}

.trainer__head p { margin: 4px 0 0; color: #b9cbe2; font-size: 14px; }

.trainer__body { padding: 18px 20px 20px; }

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  color: var(--navy-800);
  margin: 0 0 6px;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }

.chip {
  font: inherit;
  font-size: 13px;
  padding: 5px 11px;
  border-radius: 99px;
  border: 1px solid var(--line-strong);
  background: #f7f9fc;
  color: var(--ink-muted);
  cursor: pointer;
}

.chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

textarea, input[type="text"] {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fcfdff;
  resize: vertical;
}

textarea:focus, input[type="text"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  border-color: var(--accent);
  background: #fff;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-top: 11px; }

.btn {
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--navy-800);
  background: var(--navy-800);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.btn:hover { background: var(--navy-700); }

.btn--ghost { background: var(--surface); color: var(--navy-800); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--navy-800); }

.btn--sm { font-size: 13px; padding: 6px 11px; }

.btn--link {
  background: none;
  border: 0;
  color: var(--crimson);
  padding: 2px 4px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.save-status {
  font-size: 13px;
  color: var(--teal);
  font-weight: 600;
  opacity: 0;
  transition: opacity .2s;
}

.save-status.is-on { opacity: 1; }

.trainer__divider { border: 0; border-top: 1px solid var(--line); margin: 20px 0 16px; }

.request-list { list-style: none; padding: 0; margin: 10px 0 0; }

.request-item {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: #fbfcfe;
  padding: 10px 12px;
  margin-bottom: 9px;
}

.request-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--ink-faint);
  margin-bottom: 4px;
}

.request-item__text { margin: 0; font-size: 14.5px; white-space: pre-wrap; }

.empty-note { font-size: 14px; color: var(--ink-faint); font-style: italic; margin: 8px 0 0; }

.complete-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  margin-top: 4px;
}

.complete-row input { width: 17px; height: 17px; }

/* ---------- Pager ------------------------------------------------------- */

.pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  max-width: 860px;
  margin: 34px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.pager a {
  display: block;
  max-width: 46%;
  text-decoration: none;
  color: var(--ink);
  font-size: 14.5px;
}

.pager a span {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-faint);
  font-weight: 700;
}

.pager a:hover strong { color: var(--accent); }
.pager a strong { font-weight: 620; color: var(--navy-800); }
.pager .pager__next { text-align: right; margin-left: auto; }

/* ---------- Home page --------------------------------------------------- */

.hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 62%, #176a72 130%);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 32px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-md);
}

.hero h1 { color: #fff; margin-bottom: 8px; }
.hero p { color: #c3d5ea; max-width: 66ch; font-size: 16.5px; }
.hero .btn { background: #fff; color: var(--navy-900); border-color: #fff; }
.hero .btn:hover { background: var(--accent-soft); }
.hero .btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.18); }

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 18px 0 0;
}

.module-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 17px 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s;
}

.module-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.module-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.module-card__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
}

.module-card h3 { margin: 0 0 6px; font-size: 17px; }
.module-card p { font-size: 14px; color: var(--ink-muted); margin: 0 0 12px; }
.module-card__foot { margin-top: auto; font-size: 12.5px; color: var(--ink-faint); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.stat__value { font-size: 26px; font-weight: 700; color: var(--navy-800); line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 12.5px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 650; }

/* ---------- Site footer -------------------------------------------------- */

.app-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 24px 20px 30px;
  text-align: center;
}

.app-footer__love {
  font-size: 16px;
  font-weight: 620;
  color: var(--navy-800);
  margin: 0 0 4px;
  letter-spacing: .01em;
}

.app-footer__line {
  font-size: 14.5px;
  color: var(--ink-muted);
  margin: 0 0 12px;
}

.app-footer__meta {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin: 0;
}

/* ---------- Responsive -------------------------------------------------- */

@media (max-width: 900px) {
  .app-shell { grid-template-columns: minmax(0, 1fr); }

  .app-nav {
    display: none;
    position: static;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .app-nav.is-open { display: block; }
  .nav-toggle { display: inline-block; }
  .app-header__sub { display: none; }
  .app-main { padding: 20px 18px 60px; }
  h1 { font-size: 26px; }
  .hero { padding: 22px 20px; }
}

@media (max-width: 520px) {
  body { font-size: 15.5px; }
  .app-header__meta { display: none; }
  .pager { flex-direction: column; }
  .pager a { max-width: 100%; }
  .pager .pager__next { text-align: left; }
}

@media print {
  .app-header, .app-nav, .trainer, .mode-bar, .pager, .nav-toggle { display: none !important; }
  .app-main { padding: 0; }
  .lens { display: block !important; }
  body { background: #fff; }
}
