/* The clutter-free landing and its three hub pages (VKG 2026-10-25). Tokens come from portal.css. */

/* On the landing nothing competes with the four tiles: the second bar of links waits on the other pages. */
body[data-route="home"] .subbar { display: none; }

.ld { padding-block: 28px 24px; display: grid; gap: 22px; }
.ld-head { display: grid; gap: 4px; }
.ld-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; }
.ld-head h1 .dev { color: var(--gold); font-weight: 600; font-size: .8em; margin-left: .2em; }
.ld-line { color: var(--muted); font-size: 1.05rem; margin: 0; }

.ld-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ld-tile {
  --tile: var(--en);
  display: grid; gap: 6px; align-content: start; min-height: 168px;
  padding: 20px 20px 18px; border-radius: 14px; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--tile);
  transition: transform .15s ease, box-shadow .15s ease;
}
.ld-tile:hover, .ld-tile:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 22px rgb(0 0 0 / .08); }
.ld-books { --tile: var(--sa); }
.ld-res { --tile: var(--ma); }
.ld-specials { --tile: var(--sc); }
.ld-dev { color: var(--tile); font-size: 1rem; }
.ld-name { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; line-height: 1.15; }
.ld-sub { color: var(--muted); font-size: .92rem; line-height: 1.4; }

.ld-free { display: grid; gap: 10px; }
.ld-free h2 { font-size: 1.25rem; }
.ld-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 28px;
}
.ld-list li { display: flex; flex-wrap: wrap; gap: 0 8px; align-items: baseline; padding: 5px 0; border-bottom: 1px solid var(--line); }
.ld-list a, .hub-list a { font-weight: 600; color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
.ld-list a:hover, .hub-list a:hover { color: var(--gold); text-decoration-color: currentColor; }
.ld-list span, .hub-list span { color: var(--muted); font-size: .88rem; }

.ld-about { margin: 0; font-size: .95rem; }
.ld-about a { font-weight: 600; color: var(--gold); }
.ld-about span { color: var(--muted); }

/* Hub pages: one line per item, no card walls. */
.hub { padding-block: 28px 40px; max-width: 54rem; display: grid; gap: 10px; }
.hub h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.hub-back { margin: 0; font-size: .9rem; }
.hub-back a { color: var(--muted); }
.hub-line { color: var(--muted); margin: 0 0 6px; }
.hub-h { font-size: 1.1rem; margin-top: 14px; }
.hub-list { list-style: none; margin: 0; padding: 0; }
.hub-list li { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hub-list a { min-width: 13rem; }
.hub-foot { margin-top: 8px; color: var(--muted); }

@media (max-width: 1000px) {
  .ld-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .ld { padding-block: 18px; gap: 16px; }
  .ld-tiles { gap: 10px; }
  .ld-tile { min-height: 0; padding: 14px; }
  .ld-name { font-size: 1.2rem; }
  .ld-sub { font-size: .82rem; }
  .ld-list { grid-template-columns: 1fr; }
  .hub-list a { min-width: 0; }
}

/* The 27 courses (VKG 2026-10-25, PRICING.md §13): a compact group line on the landing, and the Courses page list. */
.ld-crs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: -8px; font-size: .92rem; }
.ld-crs-h { font-weight: 700; color: var(--gold); }
.ld-crs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.ld-crs li + li::before { content: "·"; color: var(--muted); margin: 0 8px; }
.ld-crs li a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
.ld-crs li a:hover { color: var(--gold); }
.ld-crs small { color: var(--muted); }

.crs-head { color: var(--ink); font-weight: 600; font-size: 1.05rem; margin: 0; }
.crs-offer, .crs-count { margin: 0; font-size: .92rem; }
.crs-offer a { font-weight: 600; color: var(--gold); }
.crs-grp { border-bottom: 1px solid var(--line); }
.crs-grp > .crs-list > li { border-bottom: 0; }
.crs-grp details > summary { cursor: pointer; padding: 9px 0; display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; }
.crs-grp details > summary strong { min-width: 13rem; }
.crs-grp details .crs-list { padding-left: 18px; border-top: 1px solid var(--line); }
.crs-grp details .crs-list li:last-child { border-bottom: 0; }
.crs-list li > strong, .crs-list li > a { min-width: 13rem; }
.crs-n { color: var(--muted); font-size: .88rem; }
.crs-cov { color: var(--muted); font-size: .88rem; }
.hub-list .crs-st { font-size: .85rem; font-weight: 600; }
.hub-list .crs-open, .crs-grp summary .crs-open { color: var(--ma, #2e7d32); font-size: .85rem; font-weight: 600; }
.hub-list .crs-prep { color: var(--muted); }
.hub-list .crs-go a, .hub-list .crs-rel a { min-width: 0; font-weight: 500; }
.crs-rel { font-size: .85rem; }
