.tk-public-header {
  --tk-header-ink: #475569;
  --tk-header-muted: #334155;
  --tk-header-line: #e5e7eb;
  --tk-header-paper: #ffffff;
  position: sticky;
  top: 0;
  z-index: 30;
  color: var(--tk-header-ink);
  background: var(--tk-header-paper);
  border-bottom: 1px solid var(--tk-header-line);
  font-family: var(--rlc-font-sans, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  line-height: 1.5;
  backdrop-filter: saturate(180%) blur(8px);
}
.tk-public-header *,
.tk-public-header *::before,
.tk-public-header *::after { box-sizing: border-box; }
.tk-public-header a { color: inherit; text-decoration: none; }
.tk-public-header a:focus-visible,
.tk-public-header summary:focus-visible { outline: 2px solid #0f766e; outline-offset: 3px; }
.tk-public-header__inner {
  width: 100%;
  max-width: 1140px;
  padding: .85rem 1.25rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.tk-public-header__brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.tk-public-header__brand img { display: block; width: auto; height: 44px; object-fit: contain; }
.tk-public-header__desktop { display: none; align-items: center; gap: 1.25rem; flex: 1; justify-content: center; }
.tk-public-header__group { position: relative; }
.tk-public-header__trigger,
.tk-public-header__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .25rem;
  border: 0;
  color: var(--tk-header-ink);
  background: transparent;
  font: 400 .95rem/1.5 var(--rlc-font-sans, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  cursor: pointer;
  transition: color 120ms ease;
}
.tk-public-header__trigger:hover,
.tk-public-header__link:hover { color: #0f172a; }
.tk-public-header__trigger svg,
.tk-public-header__link svg { width: 16px; height: 16px; stroke-width: 2; }
.tk-public-header__chevron { width: 14px !important; height: 14px !important; transition: transform 150ms ease; }
.tk-public-header__group[open] .tk-public-header__chevron { transform: rotate(180deg); }
.tk-public-header__trigger::-webkit-details-marker,
.tk-public-header__group summary::marker { display: none; content: ""; }
.tk-public-header__menu {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  min-width: 220px;
  display: grid;
  padding: .4rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 24px -8px rgba(15, 23, 42, .18);
  z-index: 40;
}
.tk-public-header__menu a {
  padding: .55rem .7rem;
  border-radius: 6px;
  color: var(--tk-header-muted);
  font-size: .95rem;
  transition: color .18s ease, background-color .18s ease;
}
.tk-public-header__menu a:hover { color: #0f172a; background: #f1f5f9; }
.tk-public-header a.tk-public-header__newsletter {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: .5rem;
  min-height: 44px; padding: .65rem 1rem; border: 1px solid #d9d9d9; border-radius: 999px;
  background: transparent; color: #475569; font-size: .8125rem; font-weight: 500; line-height: 1.4;
  white-space: nowrap; transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.tk-public-header a.tk-public-header__newsletter:hover { background: #f7f7f7; border-color: #bfbfbf; color: #242424; }
.tk-public-header__newsletter svg { width: 16px; height: 16px; flex: 0 0 auto; }
.tk-public-header a.tk-public-header__newsletter--desktop { display: none; }
.tk-public-header a.tk-public-header__newsletter--mobile { display: flex; width: 100%; margin: .3rem 0 .75rem; }
.tk-public-header__mobile { display: block; }
.tk-public-header__mobile-toggle {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--tk-header-line); border-radius: 8px; background: #ffffff;
  color: #111827; cursor: pointer; list-style: none;
}
.tk-public-header__mobile-toggle::-webkit-details-marker { display: none; }
.tk-public-header__mobile-toggle svg { width: 20px; height: 20px; }
.tk-public-header__close-icon { display: none; }
.tk-public-header__mobile[open] .tk-public-header__open-icon { display: none; }
.tk-public-header__mobile[open] .tk-public-header__close-icon { display: block; }
.tk-public-header__mobile-panel {
  position: absolute; top: 100%; left: 0; right: 0; padding: .5rem 1.25rem 1rem;
  border-top: 1px solid #f1f5f9; border-bottom: 1px solid var(--tk-header-line); background: var(--tk-header-paper);
  max-height: calc(100dvh - 72px); overflow-y: auto;
}
.tk-public-header__mobile-group { width: 100%; }
.tk-public-header__mobile-label { display: inline-flex; align-items: center; gap: .55rem; }
.tk-public-header__mobile-label svg { width: 16px; height: 16px; stroke-width: 2; }
.tk-public-header__mobile-group summary,
.tk-public-header__mobile-panel > a {
  display: flex; align-items: center; justify-content: space-between;
  gap: .55rem; padding: .65rem .6rem; color: #334155; font-size: .95rem; font-weight: 400;
  border-radius: 8px; list-style: none; cursor: pointer;
}
.tk-public-header__mobile-group summary::-webkit-details-marker { display: none; }
.tk-public-header__mobile-group summary::after { content: "⌄"; color: var(--tk-header-muted); }
.tk-public-header__mobile-group[open] summary::after { transform: rotate(180deg); }
.tk-public-header__mobile-links { display: grid; gap: .05rem; }
.tk-public-header__mobile-links a { display: flex; align-items: center; padding: .65rem .6rem .65rem 1.25rem; border-radius: 8px; color: var(--tk-header-muted); font-size: .95rem; }
.tk-public-header__mobile-panel a:hover,
.tk-public-header__mobile-group summary:hover { background: #f8fafc; color: #0f172a; }
.tk-public-header__mobile-socials { display: flex; gap: .4rem; flex-wrap: wrap; padding: .75rem .4rem .25rem; border-top: 1px solid #f1f5f9; margin-top: .5rem; }
.tk-public-header__mobile-socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: #f8fafc; color: var(--tk-header-muted); }
.tk-public-header__mobile-socials svg { width: 18px; height: 18px; }
@media (min-width: 768px) {
  .tk-public-header__brand img { height: 52px; }
}
@media (min-width: 1024px) {
  .tk-public-header__desktop { display: flex; }
  .tk-public-header a.tk-public-header__newsletter--desktop { display: inline-flex; }
  .tk-public-header__mobile { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-public-header *, .tk-public-header *::before, .tk-public-header *::after { transition-duration: .01ms !important; }
}
