/* BetaWave shared shell: one header, footer, font set and button for every page.
   Classes start with bw- so they never collide with a product's own styles.
   The HTML comes from scripts/shell.mjs. */
@font-face { font-family: "Schibsted Grotesk"; font-weight: 400; font-display: swap; src: url(/assets/fonts/schibsted-grotesk-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 500; font-display: swap; src: url(/assets/fonts/schibsted-grotesk-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 700; font-display: swap; src: url(/assets/fonts/schibsted-grotesk-latin-700-normal.woff2) format("woff2"); }

.bw-head, .bw-foot {
  --bw-ink: #0d0f12; --bw-ink-2: #3f4550; --bw-rule: #d3d7de; --bw-wash: #f2f4fa; --bw-blue: #1740d0; --bw-blue-deep: #0f2fa3;
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--bw-ink); background: #fff; line-height: 1.4;
}
.bw-head *, .bw-foot * { box-sizing: border-box; }
.bw-head ul, .bw-foot ul { list-style: none; margin: 0; padding: 0; }
.bw-head p, .bw-foot p { margin: 0; }
.bw-head a, .bw-foot a { color: inherit; }
.bw-head { position: relative; z-index: 30; }
.bw-skip { position: absolute; left: 12px; top: -80px; z-index: 50; padding: 10px 16px; background: #0d0f12; color: #fff; font: 500 17px/1.4 "Schibsted Grotesk", system-ui, sans-serif; }
.bw-skip:focus { top: 12px; }
.bw-in { width: min(1280px, 100% - 64px); margin-inline: auto; }
.bw-bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.bw-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 26px; letter-spacing: -0.025em; text-decoration: none; white-space: nowrap; }
.bw-brand svg { width: 32px; height: 32px; flex: none; }
.bw-nav { display: flex; align-items: center; gap: 28px; }
.bw-nav > a, .bw-menu > summary { display: inline-block; padding-block: 8px; font-size: 17px; font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; }
.bw-nav > a:hover, .bw-menu > summary:hover { color: var(--bw-blue); }
.bw-nav > a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.bw-call .bw-short { display: none; }
.bw-menu > summary { list-style: none; }
.bw-menu > summary::-webkit-details-marker { display: none; }
.bw-menu > summary::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-3px) rotate(45deg); }
.bw-menu[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.bw-panel { position: absolute; right: 0; top: 100%; display: grid; grid-template-columns: repeat(3, 190px); gap: 28px; margin-top: -8px; padding: 22px 24px; background: #fff; border: 2px solid var(--bw-ink); }
.bw-panel b { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--bw-ink-2); }
.bw-panel a { display: block; padding-block: 6px; font-size: 17px; font-weight: 500; text-decoration: none; }
.bw-panel a:hover { color: var(--bw-blue); }
.bw-panel .bw-soon { display: block; padding-block: 6px; font-size: 17px; color: var(--bw-ink-2); }
.bw-panel .bw-soon small { font-size: 14px; }
.bw-more { display: none; }
.bw-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 0; background: var(--bw-blue, #1740d0); color: #fff !important; font: 500 17px/1.2 "Schibsted Grotesk", system-ui, sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 120ms ease-out; }
.bw-btn:hover { background: var(--bw-blue-deep, #0f2fa3); }
/* The menu's link rule would otherwise override the button's centering. */
.bw-nav > a.bw-btn { display: inline-flex; padding-block: 0; }
.bw-head :focus-visible, .bw-foot :focus-visible { outline: 3px solid var(--bw-blue); outline-offset: 3px; }

.bw-foot { padding-block: 36px; font-size: 16px; border-top: 1px solid var(--bw-rule); }
.bw-foot-in { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; align-items: center; }
.bw-foot ul { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.bw-foot a { display: inline-block; padding-block: 6px; }
.bw-foot a:hover { color: var(--bw-blue); }

@media (max-width: 900px) {
  .bw-in { width: calc(100% - 40px); }
  .bw-bar { gap: 12px; padding-block: 10px; }
  .bw-brand { font-size: 20px; gap: 8px; padding-block: 10px; }
  .bw-brand svg { width: 24px; height: 24px; }
  .bw-nav { gap: 14px; }
  .bw-nav > .bw-wide { display: none; }
  .bw-call .bw-full { display: none; }
  .bw-call .bw-short { display: inline; }
  .bw-nav > a, .bw-menu > summary { padding-block: 11px; }
  .bw-btn { min-height: 44px; padding: 0 14px; font-size: 16px; }
  .bw-panel { left: 0; right: 0; grid-template-columns: 1fr; gap: 16px; margin-top: 0; }
  .bw-panel a { padding-block: 10px; }
  .bw-more { display: block; }
}
@media (max-width: 420px) {
  .bw-in { width: calc(100% - 32px); }
  .bw-bar, .bw-nav { gap: 8px; }
  .bw-brand { font-size: 18px; gap: 6px; }
  .bw-menu > summary::after { margin-left: 6px; }
  .bw-btn { padding: 0 10px; }
}
@media (max-width: 350px) {
  .bw-brand svg { display: none; }
  .bw-btn { padding: 0 8px; font-size: 15px; }
}
@media (max-width: 480px) {
  .bw-nav > .bw-call { display: none; }
}
@media (prefers-reduced-motion: reduce) { .bw-btn { transition: none; } }
@media print { .bw-skip, .bw-head, .bw-foot { display: none !important; } }
