:root {
  color-scheme: light;
  --forest: #14263e;
  --green: #96372e;
  --ink: #17273a;
  --muted: #505c6c;
  --line: #d7dde5;
  --paper: #f7f5f0;
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--green); text-underline-offset: .14em; }
a:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid #9d4840; outline-offset: 3px; }
.wrap { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }
.training-top { background: var(--forest); color: white; }
.top-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; text-decoration: none; color: white; }
.brand img { border-radius: 9px; }
.workspace-link { color: #f4e8d2; font-weight: 700; }
.intro { padding: clamp(25px, 5vw, 55px) 0 8px; }
h1, h2, h3 { margin: 0; color: var(--forest); line-height: 1.13; letter-spacing: -.035em; }
h1 { font-size: clamp(2rem, 6vw, 3.6rem); }
.intro p { max-width: 64ch; font-size: 1.02rem; margin: 12px 0 19px; line-height: 1.5; color: var(--muted); }
.role-links { display: flex; flex-wrap: wrap; gap: 8px; }
.role-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid #bac6d3; border-radius: 999px; text-decoration: none; font-weight: 700; }
.role-links a:hover { background: #f4e8d2; }
.role { margin-top: 31px; scroll-margin-top: 12px; }
.role h2 { font-size: 1.6rem; margin-bottom: 12px; }
.course-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; align-items: start; }
.course { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: white; scroll-margin-top: 12px; }
.course:target { outline: 3px solid #9d4840; outline-offset: 2px; }
.course h3 { font-size: 1.18rem; }
.course-description { line-height: 1.42; min-height: 3em; margin: 8px 0; color: var(--muted); }
.duration { font-size: .86rem; font-weight: 700; margin: 0 0 8px; color: var(--green); }
.course video { display: block; width: 100%; height: auto; aspect-ratio: 720 / 760; border-radius: 9px; background: var(--forest); }
.course details { margin-top: 8px; }
.course summary { min-height: 38px; padding-top: 9px; cursor: pointer; color: var(--green); font-weight: 700; }
.course ol { padding-left: 22px; margin-block: 6px 0; }
.course li { padding-block: 5px; }
.course li p { margin: 4px 0; line-height: 1.45; color: var(--muted); }
footer { padding-block: 32px; font-size: .92rem; }
@media (max-width: 860px) { .course-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 540px) { .course-grid { grid-template-columns: 1fr; } .course-description { min-height: 0; } }
