/* BMatic short-link hub. Official bee artwork is used unchanged. */
:root {
  --bm-navy: #011E58;
  --bm-gold: #FDC411;
  --bm-blue: #00A9FD;
  --bm-sky: #29A8FC;
  --bm-white: #FDFDFD;
  --bm-ink: #0C0B0B;
  --bm-surface: #F4F6FA;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--bm-text); background: var(--bm-page); font: 400 16px/1.6 Inter, ui-sans-serif, system-ui, sans-serif; }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible { outline: 3px solid var(--bm-text); outline-offset: 6px; box-shadow: 0 0 0 8px var(--bm-gold); }
.page-shell { width: min(100% - 40px, 580px); margin: 0 auto; padding: 28px 0 24px; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.masthead a { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; font-weight: 800; letter-spacing: -.05em; text-decoration: none; }
.masthead a span { color: var(--bm-text); border-bottom: 3px solid var(--bm-gold); }
.edition { font-size: 10px; font-weight: 650; letter-spacing: .02em; }
.hub { position: relative; padding: 40px 36px 28px; border: 2px solid var(--bm-ink); border-radius: 4px; background: var(--bm-panel); box-shadow: 6px 6px 0 var(--bm-ink); }
.hub::before { content: ''; position: absolute; top: -2px; left: 36px; width: 56px; height: 5px; background: var(--bm-gold); }
.identity { text-align: center; }
.mark { position: relative; width: 112px; margin: 0 auto 24px; }
.mark::after { content: ''; width: 7px; height: 7px; background: var(--bm-blue); border-radius: 50%; position: absolute; right: -24px; top: 20px; }
img { display: block; max-width: 100%; height: auto; }
.eyebrow { margin: 0 0 8px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .17em; }
h1 { margin: 0; font-weight: 850; font-size: clamp(40px, 9vw, 54px); letter-spacing: -.055em; line-height: 1.1; }
.tagline { margin: 16px 0 0; font-weight: 750; font-size: 18px; letter-spacing: -.02em; }
.intro { margin: 18px auto 30px; font-size: 14px; line-height: 1.8; max-width: 360px; color: var(--bm-muted); }
.link-list { display: grid; gap: 16px; }
.destination { display: flex; gap: 18px; align-items: center; min-height: 88px; padding: 18px 20px; border: 2px solid var(--bm-ink); border-radius: 3px; box-shadow: 4px 4px 0 var(--bm-ink); text-decoration: none; background: var(--bm-panel); transition: transform .15s ease, box-shadow .15s ease; }
.destination:first-child { background: var(--bm-gold); }
.destination:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--bm-ink); }
.card-icon { width: 26px; height: 26px; flex: 0 0 26px; }
.card-icon svg { width: 100%; height: 100%; }
.card-copy { display: grid; gap: 3px; min-width: 0; }
.label { font-size: 16px; font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
.card-description { font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.arrow { margin-left: auto; font-size: 23px; flex-shrink: 0; }
.new-tab { display: block; font-size: 11px; font-weight: 500; }
.signoff { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; }
.signoff span { height: 1px; width: 28px; background: #d3dae5; }
.signoff svg { width: 15px; height: 15px; fill: none; stroke: var(--bm-text); stroke-width: 1.5; }
footer { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 5px 8px; margin: 26px 0 0; font-size: 12px; color: var(--bm-muted); }
footer a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 750; color: var(--bm-text); }
.skip-link { position: absolute; z-index: 2; top: 8px; left: 12px; transform: translateY(-180%); padding: 12px 18px; background: var(--bm-gold); font-weight: 700; }
.skip-link:focus { transform: none; }
.error-hub { text-align: center; padding-top: 48px; padding-bottom: 40px; }
.error-bee { margin: 0 auto 28px; }
.error-hub h1 { font-size: clamp(28px, 7vw, 39px); margin-top: 16px; }
.error-hub .destination { text-align: left; }
.empty-note { margin: 0; text-align: center; font-size: 14px; }
@media (max-width: 420px) {
  .page-shell { width: calc(100% - 32px); padding-top: 12px; }
  .masthead { margin-bottom: 20px; gap: 12px; }
  .edition { max-width: 135px; text-align: right; font-size: 9px; }
  .hub { padding: 30px 20px 24px; box-shadow: 4px 4px 0 var(--bm-ink); }
  .hub::before { left: 20px; }
  .mark { width: 96px; margin-bottom: 20px; }
  .tagline { font-size: 16px; }
  .destination { gap: 12px; padding: 16px 14px; }
  .card-icon { width: 22px; height: 22px; flex-basis: 22px; }
  .label { font-size: 15px; }
  .card-description { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .destination { transition: none; } }

/* Theme surfaces are separate from the unchanged canonical brand colors. */
:root { color-scheme: light; --bm-text: #011E58; --bm-panel: #FDFDFD; --bm-page: #F4F6FA; --bm-muted: #405273; --bm-line: #cdd5e2; --bm-image: #e9eef6; }
:root[data-theme="dark"] { color-scheme: dark; --bm-text: #edf3ff; --bm-panel: #11213b; --bm-page: #081327; --bm-muted: #b9c8e2; --bm-line: #3e5273; --bm-image: #182b48; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; --bm-text: #edf3ff; --bm-panel: #11213b; --bm-page: #081327; --bm-muted: #b9c8e2; --bm-line: #3e5273; --bm-image: #182b48; }
}
[hidden] { display: none !important; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 12px; margin: 0; flex-shrink: 0;
  border: 2px solid var(--bm-line); border-radius: 4px;
  background: var(--bm-panel); color: var(--bm-text);
  font: 700 13px/1.4 Inter, ui-sans-serif, system-ui, sans-serif;
  cursor: pointer; box-shadow: none;
}
.theme-toggle:hover { background: var(--bm-image); }
.theme-toggle[aria-pressed="true"] { background: var(--bm-gold); color: var(--bm-navy); border-color: var(--bm-gold); }
.theme-toggle:focus-visible { outline: 3px solid var(--bm-text); outline-offset: 4px; box-shadow: 0 0 0 6px var(--bm-gold); }
.skip-link { color: var(--bm-navy); }
.destination:first-child { color: var(--bm-navy); }
.signoff span { background: var(--bm-line); }
@media (max-width: 600px) { .edition { display: none; } }
