:root {
  color-scheme: light;
  --ink: #17253d;
  --muted: #50617d;
  --blue: #2854c5;
  --wash: #edf2ff;
  --line: #e0e7f1;
  background: #f6f8fc;
  color: var(--ink);
  font: 16px/1.65 system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.container { width: min(100%, 1180px); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.bar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 750; line-height: 1.25; border-radius: 8px; }
.brand small { display: block; color: var(--muted); font-weight: 500; }
.mark { display: block; width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; }
.nav-link { display: grid; place-items: center; min-height: 44px; padding-inline: 14px; border-radius: 11px; color: var(--blue); font-weight: 700; white-space: nowrap; transition: background-color 160ms ease; }
.nav-link:active { background: var(--wash); }

.hero { position: relative; isolation: isolate; overflow: hidden; margin-block: clamp(16px, 4vw, 38px); padding: clamp(24px, 6vw, 64px); border: 1px solid #dce6f9; border-radius: 26px; background: #eaf1ff; }
.art { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 52%; height: 100%; opacity: .58; }
h1 { margin: 0 0 12px; font-size: clamp(32px, 6vw, 66px); letter-spacing: -.045em; line-height: 1.08; }
h2 { margin: 0 0 12px; font-size: 24px; }
p { margin: 0; color: var(--muted); }
.courses { scroll-margin-top: 16px; }
.empty { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.icon { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--wash); color: var(--blue); }
.footer { margin-block: 34px 20px; color: var(--muted); font-size: 13px; }

@media (hover: hover) { .nav-link:hover { background: var(--wash); } }
@media (max-width: 600px) {
  .bar { min-height: 62px; }
  .hero { border-radius: 20px; }
  .art { opacity: .24; width: 76%; }
}
@media (prefers-reduced-motion: reduce) { .nav-link { transition: none; } }
