/* Shared light header for the home page, the app pages and their legal pages. */
.rs-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #e4ddd2; color: #161719; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.rs-header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(1200px, calc(100% - 32px)); min-height: 68px; margin: 0 auto; }
.rs-wordmark { display: inline-flex; align-items: center; gap: 10px; color: #161719; font-size: 1.15rem; font-weight: 800; letter-spacing: .03em; text-decoration: none; }
.rs-wordmark img { width: 34px; height: 34px; border-radius: 8px; }
.rs-wordmark b { color: #D40808; }
.rs-nav { display: flex; align-items: center; gap: 4px; }
.rs-nav a { padding: 8px 12px; border-radius: 8px; color: #3b4144; font-size: .92rem; font-weight: 600; text-decoration: none; }
.rs-nav a:hover, .rs-nav a:focus-visible { background: #f7f4ef; outline: none; }
.rs-nav .rs-talk { margin-left: 6px; padding: 9px 14px; color: #fff; background: #D40808; font-weight: 700; }
.rs-nav .rs-talk:hover, .rs-nav .rs-talk:focus-visible { background: #9f0606; }
.rs-lang { display: inline-flex; gap: 2px; margin-left: 6px; padding: 2px; border: 1px solid #e4ddd2; border-radius: 8px; }
.rs-lang button { min-width: 34px; min-height: 30px; border: 0; border-radius: 6px; color: #5b6164; background: transparent; font: inherit; font-size: .76rem; font-weight: 800; cursor: pointer; }
.rs-lang button.is-active { color: #fff; background: #161719; }
.rs-tools { display: flex; align-items: center; gap: 8px; }
.rs-tools .rs-lang { display: none; }
.rs-menu { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid #e4ddd2; border-radius: 8px; background: #fff; cursor: pointer; }
.rs-menu span { display: block; height: 2px; margin: 4px 0; background: #161719; }

@media (max-width: 900px) {
  .rs-menu { display: block; }
  .rs-tools .rs-lang { display: inline-flex; margin-left: 0; }
  .rs-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; padding: 10px; border: 1px solid #e4ddd2; border-radius: 12px; background: #fff; box-shadow: 0 20px 50px rgba(22, 23, 25, .14); }
  .rs-nav.is-open { display: flex; }
  .rs-nav a { padding: 12px; }
  .rs-nav .rs-talk { margin: 6px 0 0; padding: 12px; text-align: center; }
  .rs-nav .rs-lang { display: none; }
}
