/* Shared base for the static public site (landing, privacy policy, 404).
   Plain CSS with literal values: these pages carry the palette of the imported
   landing design, not the app's design-system tokens. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Hanken Grotesk', sans-serif;
  color: #1b201c;
  background: #ffffff;
}

/* The pages toggle `hidden` on elements that also carry an inline `display`;
   without this the inline style would win and nothing would ever hide. */
[hidden] {
  display: none !important;
}

/* An image covering its positioned parent — what Angular's `ngSrc … fill` did. */
.bn-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ---------- Language switch ----------
   The look of the app's `bn-lang-picker`, with its tokens resolved to their
   values: sunken #eef0ec, tertiary #4e554b, raised #fff, flat elevation. */
.bn-langpicker {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #eef0ec;
  border-radius: 10px;
}

.bn-langpicker__btn {
  padding: 4px 12px;
  color: #4e554b;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 6px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.bn-langpicker__btn:hover:not(.bn-langpicker__btn--active) {
  color: #3a403a;
}

.bn-langpicker__btn:focus-visible {
  outline: 2px solid #3f6b4f;
  outline-offset: 2px;
}

.bn-langpicker__btn--active {
  color: #1b201c;
  background: #ffffff;
  box-shadow: 0 1px 2px rgb(27 32 28 / 12%);
}

/* ---------- 404 ---------- */
.bn-notfound {
  max-width: 42rem;
  margin: 0 auto;
  padding: 72px 20px;
}

.bn-notfound-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 48px;
  color: inherit;
  text-decoration: none;
  font-family: 'Newsreader', serif;
  font-size: 21px;
  font-weight: 500;
}

.bn-notfound h1,
.bn-notfound h2 {
  margin: 0 0 12px;
  font-family: 'Newsreader', serif;
  font-size: 32px;
  font-weight: 400;
}

.bn-notfound section + section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #eef0ec;
}

.bn-notfound p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: #62695f;
}

.bn-notfound a {
  color: #3f6b4f;
}
