/* The site's pages (built by website/build-site.py): styles.css does the look. This only adds what splitting the
   long page needs: each page's title is an h1 (the long page's section titles were h2s), styled the same way. */
.section-head h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 780; letter-spacing: -0.03em; }
.spotlight h1 { color: #fff; }
/* "See all …" under a section of the homepage that has a page of its own. */
.page-more { display: flex; justify-content: center; margin-top: 36px; }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 650; }
/* Anchored badges (features linked from the homepage) land below the sticky header. */
[id] { scroll-margin-top: 90px; }
/* The homepage's short plans: the credit packs are on the pricing page. */
.home-packs { display: none !important; }
/* The export page's Tabletop Simulator kit contents, in the style of the Board Game Arena ZIP. */
.export-kit { max-width: 640px; margin: 8px auto 0; }
/* The menu needs about 1,140 px on one line: below that it folds into the menu button the site already uses on
   phones (the same rules as styles.css at 880 px), instead of wrapping its labels. */
.nav-links a, .brand span { white-space: nowrap; }
@media (max-width: 1150px) {
  .nav-links {
    display: none; position: absolute; left: 16px; right: 16px; top: 70px; flex-direction: column; padding: 8px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: inline-grid; place-items: center; }
}

/* Screenshots come as WebP with the JPEG as fallback (<picture>): the picture element itself takes no space. */
picture { display: contents; }
