/* The site's own header (.top) and footer (.site-foot), as the homepage draws them, for pages that do not carry the
   homepage's whole stylesheet (kruujai.com/creators and /creators/apply; 1.9.181). Copied from index.html's rules,
   line for line; keep the two the same (app/tests/the-creators-page-uses-the-site-chrome.test.mjs checks it). */
  :root { --navy: #13233a; --ink: #1b2d45; --blue: #285cce; --blue-deep: #1d47a6; --tint: #eaf0fc; --orange: #ed773f;
    --soft: #55667d; --faint: #5a697e; --rule: #dde4ee; --ground: #f6f8fb; --white: #ffffff; }
  .top, .site-foot, .top *, .site-foot * { box-sizing: border-box; }
  .top svg, .site-foot svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
  .wrap { max-width: 1280px; margin: 0 auto; padding-inline: 32px; }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px;
    font-size: 16px; font-weight: 800; text-decoration: none; white-space: nowrap; }
  .btn-primary { background: var(--blue); color: var(--white); }
  .btn-primary:hover { background: var(--blue-deep); color: var(--white); }
  .btn-ghost { background: var(--white); color: var(--navy); border: 1.5px solid var(--rule); }
  .btn-ghost:hover { border-color: var(--blue); color: var(--navy); }
  .btn:focus-visible, a:focus-visible { outline: 3px solid #8fb0ec; outline-offset: 3px; }
  .top { position: sticky; top: 0; z-index: 10; background: rgba(246, 248, 251, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
  .top .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
  .brand b { color: var(--orange); font-weight: 800; }
  .top nav { display: flex; align-items: center; gap: 28px; }
  .top nav a:not(.btn) { font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; }
  .top .btn { min-height: 44px; padding: 0 20px; }
  footer .wrap { min-height: 140px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--rule); padding-block: 28px; }
  footer .brand img { width: 32px; height: 32px; }
  footer .brand span { font-size: 18px; }
  footer p { margin: 0; display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--soft); }
  footer.site-foot { background: #13233a; color: #d6e0f2; margin-top: 0; }
  footer.site-foot .wrap { display: flex; flex-direction: column; gap: 28px; padding-block: 48px 28px; min-height: 0; border-top: 0; align-items: stretch; }
  footer.site-foot .foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
  footer.site-foot .brand span { color: #fff; font-size: 20px; }
  footer.site-foot .brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28); }
  footer.site-foot .foot-brand p { margin: 12px 0 0; display: block; max-width: 320px; font-size: 14px; line-height: 1.6; color: #d6e0f2; }
  footer.site-foot nav { display: flex; flex-direction: column; gap: 9px; }
  footer.site-foot nav h2 { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #9fb4d8; }
  footer.site-foot nav a { color: #fff; text-decoration: none; font-size: 14px; }
  footer.site-foot nav a:hover, footer.site-foot .foot-bottom a:hover { text-decoration: underline; }
  footer.site-foot .foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid #2a3f5f; font-size: 12px; color: #9fb4d8; }
  footer.site-foot .foot-bottom a { color: #9fb4d8; text-decoration: none; }
  @media (max-width: 820px) {
    .wrap { padding-inline: 20px; }
    .top nav a:not(.btn):not(.lang-link) { display: none; }
    /* Two buttons beside the logo on a phone (Log in, 12 October 2026): tighter, and under 480px the wordmark goes, the logo stays. */
    .top nav { gap: 8px; }
    .top .btn { min-height: 40px; padding: 0 14px; font-size: 15px; }
  }
  @media (max-width: 820px) {
    footer.site-foot .foot-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
    footer.site-foot .foot-brand { grid-column: 1 / -1; }
    footer.site-foot .foot-bottom { flex-direction: column; }
  }
  @media (max-width: 480px) { .top .brand span { display: none; } }
  /* The homepage sets this on body; these pages set their own fonts inline, so the header and footer carry it. */
  .top, .site-foot { font: 16px/1.5 Manrope, system-ui, sans-serif; -webkit-font-smoothing: antialiased; color: var(--ink); }
  .site-foot { color: #d6e0f2; }
