/* Navigation bar shared by every page of the site, and the start page. Colours from interactive/style.css. */
nav.site { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center;
  gap: .2rem .9rem; margin: 0 -16px 1rem; padding: .55rem 16px; background: var(--bg, #ffffff);
  border-bottom: 1px solid var(--line, #d0d0d0); font-size: .92rem; }
nav.site .brand { font-weight: 700; color: var(--fg, #1a1a1a); text-decoration: none; margin-right: .6rem; }
nav.site a { color: var(--link, #0b57a4); text-decoration: none; padding: .15rem 0; }
nav.site a:hover { text-decoration: underline; }
nav.site a[aria-current="page"] { color: var(--fg, #1a1a1a); font-weight: 600;
  border-bottom: 2px solid var(--link, #0b57a4); }
nav.site a:focus-visible { outline: 2px solid var(--focus, #0b57a4); outline-offset: 2px; }
@media (max-width: 600px) { nav.site { position: static; font-size: .88rem; } }
@media (min-width: 601px) { .wt-progress { top: 2.6rem; } }

/* start page */
.home { max-width: 62rem; margin: 0 auto; }
.home .hero { text-align: left; margin: 1.5rem 0 1rem; }
.home .hero h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 .6rem; }
.home .hero .lead { font-size: 1.15rem; line-height: 1.6; max-width: 46rem; margin: 0; }
.home figure { margin: 1.2rem 0; border: 1px solid var(--line, #d0d0d0); border-radius: 12px; overflow: hidden;
  background: #ffffff; }
.home figure img { display: block; width: 100%; height: auto; }
.home figcaption { font-size: .85rem; color: var(--muted, #5a5a5a); padding: .4rem .8rem; border-top: 1px solid var(--line, #d0d0d0); }
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.doors a { display: block; padding: 1.1rem 1.2rem; border-radius: 12px; text-decoration: none; color: #ffffff; }
.doors a strong { display: block; font-size: 1.2rem; margin-bottom: .3rem; }
.doors a span { font-size: .95rem; line-height: 1.45; }
.doors a.d1 { background: #0b57a4; }
.doors a.d2 { background: #007a5a; }
.doors a.d3 { background: #6a3d9a; }
.doors a:focus-visible { outline: 3px solid var(--focus, #0b57a4); outline-offset: 3px; }
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .8rem; padding: 0;
  list-style: none; }
.paths li { border: 1px solid var(--line, #d0d0d0); border-radius: 10px; padding: .8rem .9rem; }
.paths h3 { margin: 0 0 .35rem; font-size: 1rem; }
.paths p { margin: 0 0 .4rem; font-size: .92rem; line-height: 1.5; }
.home section { margin: 2rem 0; }
.home .all { columns: 2 18rem; padding-left: 1.1rem; }
.home .all li { margin: .2rem 0; break-inside: avoid; }
.home footer { border-top: 1px solid var(--line, #d0d0d0); margin-top: 2.5rem; padding-top: 1rem; font-size: .88rem;
  color: var(--muted, #5a5a5a); }
