/* A simple course directory in General Compute's brand colors. */
:root {
  color-scheme: light;
  --bg: #f3f6fc;
  --text: #0c1530;
  --muted: #5d667a;
  --line: #d9dfeb;
  --orange: #ff4f00;
  --link: #b93a00;
  font-family: Arial, Helvetica, system-ui, sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; touch-action: manipulation; }
a:hover { color: var(--link); text-decoration: underline; }
:focus-visible { outline: 2px solid #446dba; outline-offset: 5px; }
.skip { position: fixed; top: -100px; left: 16px; padding: 10px; background: white; z-index: 30; }
.skip:focus { top: 8px; }
.top { min-height: 52px; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.top-brand { flex-shrink: 0; }
.brand-logo { position: relative; display: block; width: 174px; height: 30px; background: var(--text); mask: url('../brand/general-compute.png') center / contain no-repeat; }
.brand-logo::after { content: ''; position: absolute; inset: 0; background: var(--orange); clip-path: inset(0 83% 0 0); }
.top-links { display: flex; gap: 24px; font-size: .813rem; color: var(--muted); }
.wrap { max-width: 1060px; margin: 0 auto; padding: 48px 32px 28px; }
.hero { max-width: 650px; margin-bottom: 44px; }
h1 { margin: 0 0 14px; font-size: clamp(1.9rem, 3.5vw, 2.5rem); font-weight: 500; line-height: 1.15; letter-spacing: -1.3px; }
.hero p { margin: 0; color: var(--muted); max-width: 590px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 0; font-size: 1.125rem; font-weight: 500; }
.section-heading > span { font-size: .75rem; color: var(--muted); }
.card { display: grid; grid-template-columns: minmax(0, 1fr) 205px; gap: 36px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.card-content { min-width: 0; }
.course-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 7px; color: var(--muted); font-size: .75rem; }
.course-meta > span + span { border-left: 1px solid var(--line); padding-left: 16px; }
.card h3 { margin: 0 0 7px; font-size: 1.25rem; font-weight: 500; letter-spacing: -.3px; line-height: 1.35; }
.card-desc { margin: 0; max-width: 670px; color: var(--muted); font-size: .938rem; line-height: 1.6; }
.card-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; min-width: 0; text-align: right; }
.btn { display: block; color: var(--link); font-size: .875rem; line-height: 1.5; }
.btn span[aria-hidden] { margin-left: 5px; }
.link { font-size: .75rem; color: var(--muted); }
.progress { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; color: var(--muted); font-size: .75rem; }
.card:not(.started) .progress { display: none; }
.progress-row { display: flex; gap: 8px; }
.track { width: 80px; height: 2px; background: var(--line); }
.fill { height: 100%; width: 0; background: var(--orange); }
.labs { margin-top: 48px; }
.foot { margin-top: 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; font-size: .75rem; color: var(--muted); }
.foot p { margin: 0; }
.foot a { text-decoration: underline; }
@media (max-width: 760px) {
  .top { min-height: 48px; padding: 10px 16px; }
  .brand-logo { width: 164px; height: 28px; }
  .top-links { gap: 16px; font-size: .75rem; }
  .top-links a:last-child { display: none; }
  .wrap { padding: 32px 20px 24px; }
  .hero { margin-bottom: 32px; }
  .card { grid-template-columns: minmax(0, 1fr); gap: 15px; padding: 22px 0; }
  .card-actions { flex-direction: row; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px 20px; text-align: left; }
  .card h3 { font-size: 1.125rem; }
  .section-heading { gap: 6px; }
  .labs { margin-top: 36px; }
}
