/* The page frame: one bar over every page (pages keep their top 72 px free for it). */
.ks.page { background: #06141C; min-height: 100vh; }
.ks .nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  /* a solid bar: a blur behind a fixed bar is redrawn on every scrolled frame */
  background: rgba(252, 244, 230, .96);
  border-bottom: 1px solid rgba(15, 29, 34, .07);
  container-type: inline-size; container-name: nav;
}
.ks .nav-in { max-width: 1240px; margin-inline: auto; padding-inline: 48px; height: 68px; display: flex; align-items: center; gap: 26px; }
.ks .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 900; font-size: 22px; letter-spacing: -.02em; min-height: 44px; }
.ks .brand img { width: 26px; height: 29px; }
.ks .nav-links { display: flex; align-items: center; gap: 2px; margin-inline-start: 6px; }
.ks .nav-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 700; padding: 10px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.ks .nav-links a:hover { color: var(--ink); background: rgba(15, 29, 34, .06); }
.ks .nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }
.ks .langs { display: flex; padding: 3px; gap: 2px; border-radius: 12px; background: rgba(15, 29, 34, .07); }
.ks .langs button { border: 0; background: transparent; color: var(--ink-2); min-height: 38px; min-width: 48px; padding: 0 12px; border-radius: 9px; font-size: 14px; font-weight: 800; transition: background .25s, color .25s, box-shadow .25s; }
.ks .langs button:hover { color: var(--ink); }
.ks .langs button.on { background: #fff; color: #0F1D22; box-shadow: 0 1px 2px rgba(15,29,34,.08), 0 3px 10px rgba(15,29,34,.08); }
.ks .langs .l-ckb { font-family: 'Rabar', 'Lama Sans', sans-serif; font-weight: 700; }
.ks .nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.ks .sections { display: block; }

@container nav (max-width: 1100px) { .ks .nav-links { display: none; } }
@container nav (max-width: 640px) {
  .ks .nav-in { padding-inline: 16px; gap: 10px; height: 62px; }
  .ks .brand { font-size: 0; gap: 0; }
  .ks .brand img { width: 24px; height: 27px; }
  .ks .langs button { padding: 0 9px; min-width: 44px; font-size: 13px; }
  .ks .nav .btn { padding: 0 14px; font-size: 14px; }
}

/* every header control is at least 48 px to tap (as on the Get and About pages) */
.ks .brand { min-height: 48px; min-width: 48px; justify-content: center; }
.ks .langs button { min-height: 48px; min-width: 48px; }
