:root {
  --bee-blue: #1e28a5;
  --bee-blue-dark: #161d7a;
  --bee-blue-deep: #0e1457;
  --bee-yellow: #fad741;
  --bee-coral: #f55a78;
  --bee-pink: #fbe8df;
  --bee-pink-2: #fcdfd3;
  --bee-line: #e2e4f4;
  --bee-muted: #4a4f77;
  --bee-off: #fcfcff;
  --shadow-1: 0 1px 2px rgba(30, 40, 165, .1), 0 1px 3px rgba(30, 40, 165, .06);
  --shadow-2: 0 2px 8px rgba(30, 40, 165, .12), 0 1px 3px rgba(30, 40, 165, .08);
  --shadow-3: 0 16px 40px rgba(30, 40, 165, .18), 0 4px 12px rgba(30, 40, 165, .12);
  --motion-ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-y: scroll;
}
body {
  margin: 0;
  font-family: var(--public-font-body, "Montserrat", system-ui, sans-serif);
  background: var(--bee-off);
  color: var(--bee-blue-dark);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.material-symbols-outlined { vertical-align: middle; }
.filled { font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24; }

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none !important;
  }
  .marquee {
    animation: none !important;
    transform: none !important;
  }
}

.container {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}
.chrome-container {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--bee-line);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
}

.system-announcement {
  min-height: 38px;
  padding: 8px clamp(18px, 4vw, 54px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #17352a;
  color: #f9f2d8;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
}

.system-announcement .material-symbols-outlined {
  color: #f4bd2f;
  font-size: 19px;
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.site-header .chrome-container {
  width: min(100% - 32px, 1360px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  width: clamp(76px, 8vw, 112px);
  height: auto;
  max-height: 48px;
  object-fit: contain;
}
.header-brand-name {
  color: var(--bee-blue);
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1;
  white-space: nowrap;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--bee-blue);
  color: var(--bee-yellow);
  box-shadow: var(--shadow-1);
}
.brand-text {
  display: block;
  color: var(--bee-blue);
  font-weight: 900;
  letter-spacing: 0;
  line-height: .9;
}
.brand-text span {
  display: block;
  max-width: 210px;
  color: inherit;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.brand-text strong {
  display: block;
  margin-top: 5px;
  color: var(--bee-coral);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.025em;
  text-transform: none;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
}
.desktop-nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
  overflow: visible;
}
.desktop-nav a, .mobile-nav a, .nav-group-trigger {
  border-radius: 999px;
  padding: 9px 10px;
  color: var(--bee-muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.desktop-nav > a,
.desktop-nav-group {
  /*
   * Keep every desktop item measurable at its natural width. If links are
   * allowed to shrink, their labels can be clipped while the fit detector
   * incorrectly believes the navigation still fits. The shared header then
   * switches to its complete compact menu before any option can disappear.
   */
  flex: 0 0 auto;
}
.desktop-nav-group {
  position: relative;
}
.desktop-nav-group[data-nav-open="true"]::after {
  content: "";
  position: absolute;
  z-index: 89;
  top: 100%;
  right: -8px;
  left: -8px;
  height: 12px;
}
.nav-group-trigger {
  min-height: 38px;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: transparent;
  cursor: pointer;
}
.nav-group-trigger .material-symbols-outlined {
  width: 18px;
  height: 18px;
  font-size: 18px;
  transition: transform .18s var(--motion-ease);
}
.desktop-nav-group[data-nav-open="true"] > .nav-group-trigger .material-symbols-outlined,
.mobile-nav-group[data-nav-open="true"] > .nav-group-trigger .material-symbols-outlined {
  transform: rotate(180deg);
}
.desktop-nav-group:hover > .nav-group-trigger,
.desktop-nav-group:focus-within > .nav-group-trigger,
.desktop-nav-group.is-current > .nav-group-trigger,
.nav-group-trigger[data-current="true"] {
  background: rgba(30, 40, 165, .09);
  color: var(--bee-blue);
}
.desktop-nav-submenu {
  position: absolute;
  z-index: 90;
  top: calc(100% + 10px);
  left: 50%;
  width: max-content;
  min-width: 220px;
  max-width: min(320px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid rgba(30, 40, 165, .14);
  border-radius: 18px;
  display: grid;
  gap: 2px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 22px 55px rgba(17, 24, 79, .18);
  transform: translateX(-50%);
}
.desktop-nav-submenu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: calc(50% - 6px);
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(30, 40, 165, .14);
  border-left: 1px solid rgba(30, 40, 165, .14);
  background: #fff;
  transform: rotate(45deg);
}
.desktop-nav-submenu[hidden],
.mobile-nav-children[hidden] {
  display: none !important;
}
.desktop-nav-submenu a {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 11px 13px;
  border-radius: 12px;
}
.desktop-nav a:hover, .mobile-nav a:hover {
  background: rgba(30, 40, 165, .09);
  color: var(--bee-blue);
}
.desktop-nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  background: var(--bee-blue);
  color: #fff;
  box-shadow: 0 5px 14px rgba(30, 40, 165, .20);
}
.desktop-nav a[aria-current="page"]:hover,
.mobile-nav a[aria-current="page"]:hover {
  background: var(--bee-blue-dark);
  color: #fff;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.language-switcher { position: relative; flex: none; }
.language-button { min-width: 73px; height: 40px; padding: 0 9px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid rgba(30,40,165,.16); border-radius: 999px; background: #fff; color: var(--bee-blue); cursor: pointer; }
.language-button:hover, .language-button[aria-expanded="true"] { background: rgba(30,40,165,.08); }
.language-current-flag { width: 22px; height: 15px; display: block; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(17,24,79,.14); }
.language-button strong { font-size: 10px; letter-spacing: .06em; }
.language-button .language-chevron { width: 14px; min-width: 14px; height: 14px; transition: transform .18s ease; }
.language-button[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }
.language-menu {
  position: fixed;
  z-index: 250;
  top: var(--language-tray-top, 76px);
  right: 0;
  left: 0;
  width: 100%;
  max-height: calc(100dvh - var(--language-tray-top, 76px) - 18px);
  padding: 22px max(24px, calc((100vw - 1360px) / 2 + 16px)) 24px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  border: 0;
  border-top: 1px solid rgba(17,24,79,.08);
  border-bottom: 1px solid rgba(17,24,79,.12);
  border-radius: 0 0 22px 22px;
  background:
    linear-gradient(90deg, rgba(32,42,150,.035), transparent 24%, transparent 76%, rgba(244,189,47,.055)),
    #fff;
  box-shadow: 0 24px 54px rgba(17,24,79,.18);
  animation: languageTrayEnter .24s cubic-bezier(.2,.8,.2,1) both;
}
.language-menu[hidden] { display: none !important; }
.language-menu.is-closing {
  pointer-events: none;
  animation: languageTrayExit .18s cubic-bezier(.4,0,1,1) both;
}
.language-menu::-webkit-scrollbar { display: none; }
.language-menu button {
  position: relative;
  width: 100%;
  min-height: 62px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--bee-blue);
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.language-menu button:hover,
.language-menu button:focus-visible {
  outline: 0;
  border-color: rgba(30,40,165,.14);
  background: rgba(30,40,165,.055);
  box-shadow: 0 8px 20px rgba(17,24,79,.07);
  transform: translateY(-1px);
}
.language-menu button.active {
  border-color: rgba(30,40,165,.2);
  background: rgba(30,40,165,.08);
}
.language-menu .language-flag {
  width: 36px;
  height: 24px;
  display: block;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(17,24,79,.14), 0 3px 8px rgba(17,24,79,.12);
}
.language-menu button > strong {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.language-menu button > small {
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(17,24,79,.055);
  color: var(--bee-muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-align: center;
}
.language-menu button > i {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
}
.language-menu button.active > i {
  background: var(--bee-yellow);
  box-shadow: 0 0 0 3px rgba(250,215,65,.22);
}
@keyframes languageTrayEnter {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes languageTrayExit {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-9px); }
}
@media (prefers-reduced-motion: reduce) {
  .language-menu { animation: none; }
  .language-menu button { transition: none; }
}
@media (min-width: 1500px) {
  .language-menu { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .language-menu {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 16px 18px 18px;
  }
}
@media (max-width: 640px) {
  .language-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 10px 8px 14px;
    border-radius: 0 0 16px 16px;
  }
  .language-menu button {
    min-height: 56px;
    padding: 8px 9px;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 7px;
    border-radius: 10px;
  }
  .language-menu .language-flag { width: 30px; height: 20px; }
  .language-menu button > strong { font-size: 12px; }
  .language-menu button > small { padding: 3px 4px; font-size: 8px; }
}
.icon-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--bee-blue);
  cursor: pointer;
}
.icon-button:hover { background: rgba(30, 40, 165, .09); }
.notification-link {
  position: relative;
  text-decoration: none;
}
.notification-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bee-coral);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 2px #fff;
}
.login-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 10px 12px;
  color: var(--bee-blue);
  font-size: 14px;
  font-weight: 700;
}
.header-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.header-user-link {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 16px;
  padding: 4px 9px 4px 5px;
  color: var(--bee-blue);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.header-user-link:hover {
  background: rgba(30, 40, 165, .09);
  box-shadow: var(--shadow-1);
}
.header-user-link[aria-current="page"] {
  background: rgba(30, 40, 165, .10);
  box-shadow: inset 0 0 0 1px rgba(30, 40, 165, .16);
}
.header-user-link:active { transform: translateY(1px); }
.header-user-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--bee-blue);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
}
.header-user-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.header-user-avatar [hidden] { display: none !important; }
.header-user-fallback {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .02em;
}
.header-user-copy {
  min-width: 0;
  display: grid;
  line-height: 1.05;
}
.header-user-copy strong {
  max-width: 9rem;
  overflow: hidden;
  color: var(--bee-blue-dark);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-user-copy small {
  margin-top: 3px;
  color: var(--bee-muted);
  font-size: 10px;
  font-weight: 700;
}
.mobile-only { display: none; }
.mobile-nav {
  display: none;
  border-top: 1px solid var(--bee-line);
  padding: 10px 16px 14px;
  background: #fff;
}
.mobile-nav.open { display: grid; gap: 2px; }
.mobile-nav-group {
  display: grid;
  gap: 2px;
}
.mobile-nav-group > .nav-group-trigger {
  width: 100%;
  justify-content: space-between;
  padding: 11px 10px;
  text-align: left;
}
.mobile-nav-group.is-current > .nav-group-trigger {
  background: rgba(30, 40, 165, .08);
  color: var(--bee-blue);
}
.mobile-nav-children {
  display: grid;
  gap: 2px;
  margin: 0 0 7px 12px;
  padding: 4px 0 4px 10px;
  border-left: 2px solid rgba(30, 40, 165, .16);
}
.mobile-nav-children a {
  padding: 10px 12px;
}
.site-header.nav-collapsed .desktop-nav,
.site-header.nav-collapsed .login-link { display: none; }
.site-header.nav-collapsed .mobile-only { display: grid; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.button.primary { background: var(--bee-blue); color: #fff; }
.button.small { min-height: 38px; padding: 9px 16px; }
.button.yellow { background: var(--bee-yellow); color: var(--bee-blue-deep); }
.button.coral { background: var(--bee-coral); color: #fff; }
.button.white { background: #fff; color: var(--bee-blue); }
.button.ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.button.ghost-light {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
}
.button.outline {
  background: rgba(255, 255, 255, .65);
  color: var(--bee-blue);
  box-shadow: inset 0 0 0 1px rgba(30, 40, 165, .28);
}
.button.tonal { background: rgba(30, 40, 165, .09); color: var(--bee-blue); }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bee-blue);
  background:
    linear-gradient(90deg, rgba(14, 20, 87, .88) 0%, rgba(14, 20, 87, .68) 42%, rgba(14, 20, 87, .22) 100%),
    url("/modules/public/assets/home-hero-mirror-poster.jpg?v=20260611-home-video-mirror") 58% 44% / cover no-repeat;
  isolation: isolate;
  min-height: clamp(560px, 74svh, 760px);
  --hero-x: 50%;
  --hero-y: 42%;
  --hero-scroll: 0;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 44%;
  transform: scale(1.035) translate3d(0, calc(var(--hero-scroll) * -18px), 0);
  transform-origin: center;
  pointer-events: none;
  will-change: transform;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(14, 20, 87, .88) 0%, rgba(14, 20, 87, .68) 42%, rgba(14, 20, 87, .22) 100%),
    radial-gradient(580px 380px at var(--hero-x) var(--hero-y), rgba(250, 215, 65, .20), transparent 66%),
    radial-gradient(820px 520px at 12% 14%, rgba(245, 90, 120, .20), transparent 60%);
  transform: translate3d(0, calc(var(--hero-scroll) * -10px), 0);
  transform-origin: center;
  will-change: transform;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 20, 87, .08) 0%, rgba(14, 20, 87, .02) 48%, rgba(14, 20, 87, .74) 100%),
    radial-gradient(900px 520px at 78% 40%, rgba(255, 255, 255, .14), transparent 68%);
  mix-blend-mode: normal;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .10) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 72% 42%, #000, transparent 62%);
  transform: translate3d(0, calc(var(--hero-scroll) * -18px), 0);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -36% -10%;
  height: 44%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(250, 215, 65, .34), transparent 72%);
  filter: blur(26px);
  opacity: .60;
}
.honeycomb {
  position: absolute;
  right: clamp(18px, 6vw, 92px);
  top: clamp(72px, 10vw, 118px);
  width: clamp(150px, 18vw, 260px);
  color: rgba(250, 215, 65, .22);
  animation: floaty 6s ease-in-out infinite;
  transform: translate3d(0, var(--honey-y, 0), 0);
  z-index: 1;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 780px);
  align-content: center;
  min-height: inherit;
  gap: 0;
  padding: clamp(58px, 8vh, 96px) 0 clamp(66px, 10vh, 108px);
  z-index: 2;
}
.hero-copy {
  max-width: 780px;
  color: #fff;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, .11);
  color: var(--bee-yellow);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; letter-spacing: 0; }
.hero h1 {
  max-width: 780px;
  font-size: clamp(44px, 5.8vw, 78px);
  line-height: .98;
  font-weight: 900;
  text-wrap: balance;
  text-shadow: 0 24px 68px rgba(0, 0, 0, .30);
}
.hero h1 span:first-of-type { color: var(--bee-yellow); }
.hero h1 span:last-of-type { color: var(--bee-coral); }
.hero-lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .90);
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 600;
  line-height: 1.62;
  text-shadow: 0 12px 36px rgba(0, 0, 0, .32);
}
.hero-search {
  width: min(100%, 720px);
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 8px 8px 8px 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 26px 80px rgba(7, 12, 58, .34), inset 0 0 0 1px rgba(255, 255, 255, .72);
  backdrop-filter: blur(16px);
}
.hero-search span { color: rgba(74, 79, 119, .6); }
.hero-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--bee-muted);
  font-weight: 650;
}
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero-media {
  display: none;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  pointer-events: none;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .36);
  box-shadow: inset 0 0 38px rgba(255, 255, 255, .12);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .18) 42%, transparent 58%);
  transform: translateX(-120%);
  animation: heroScan 7s var(--motion-ease) infinite;
}
@keyframes heroScan {
  0%, 48% { transform: translateX(-120%); }
  68%, 100% { transform: translateX(120%); }
}
.hero-media img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 34px;
}
.hero-badge {
  position: absolute;
  left: -28px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  padding: 14px 16px;
  background: #fff;
  color: var(--bee-blue);
  box-shadow: var(--shadow-3);
}
.hero-badge > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(250, 215, 65, .28);
}
.hero-badge strong, .hero-badge small { display: block; }
.hero-badge small { color: var(--bee-muted); font-weight: 650; }

.buzz {
  overflow: hidden;
  background: var(--home-buzz-background, var(--bee-yellow));
  color: var(--home-buzz-text, var(--bee-blue-deep));
}
.buzz[data-enabled="false"] { display: none; }
.buzz-accessible {
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.marquee {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  animation: marquee var(--home-buzz-speed, 36s) linear infinite;
  will-change: transform;
}
.buzz[data-direction="right"] .marquee { animation-direction: reverse; }
.buzz[data-pause-on-hover="true"]:hover .marquee { animation-play-state: paused; }
.buzz[data-uppercase="false"] .marquee { text-transform: none; }
.marquee-set {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 28px;
  padding: 12px 28px 12px 0;
  white-space: nowrap;
}
.marquee b {
  color: var(--home-buzz-label, var(--bee-coral));
  font-weight: 900;
}
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

.stats-band { background: #fff; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  padding: 34px 0 0;
}
.stat-card, .card-like {
  border: 1px solid var(--bee-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-1);
}
.home-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 140;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--bee-yellow), var(--bee-coral), #fff);
  box-shadow: 0 0 18px rgba(250, 215, 65, .48);
  transform: scaleX(0);
  transform-origin: left center;
}
.home-page .fx-reveal {
  opacity: 1;
  transform: none;
}
.home-motion-ready:not(.home-motion-reduced) .home-page .fx-reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(.985);
  transition:
    opacity .7s var(--motion-ease) var(--fx-delay, 0ms),
    transform .7s var(--motion-ease) var(--fx-delay, 0ms);
  will-change: opacity, transform;
}
.home-motion-ready:not(.home-motion-reduced) .home-page .fx-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
.home-page .fx-tilt {
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform .28s var(--motion-ease), box-shadow .28s var(--motion-ease), border-color .28s var(--motion-ease);
}
.home-page .hero-media.fx-tilt {
  transform: translate3d(0, var(--hero-media-y, 0), 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}
.home-page .fx-spotlight {
  position: relative;
  isolation: isolate;
}
.home-page .fx-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .22s ease;
  background:
    radial-gradient(220px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(250, 215, 65, .30), transparent 45%),
    radial-gradient(320px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(30, 40, 165, .16), transparent 62%);
}
.home-page .fx-spotlight:hover::after {
  opacity: 1;
}
.home-motion-ready:not(.home-motion-reduced) .home-page .stat-card strong {
  font-variant-numeric: tabular-nums;
}
.stat-card {
  min-height: 132px;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 8px;
}
.stat-card span { color: var(--bee-blue); }
.stat-card strong {
  color: var(--bee-blue);
  font-size: 29px;
  line-height: 1;
  font-weight: 900;
}
.stat-card small { color: var(--bee-muted); font-size: 12px; font-weight: 750; }

.section { padding: 82px 0; }
.section.white { background: #fff; }
.section.pink { background: var(--bee-pink); }
.eyebrow {
  margin: 0 0 10px;
  color: var(--bee-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section h2, .two-col h2 {
  color: var(--bee-blue);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  font-weight: 900;
}
.section p, .two-col p {
  color: var(--bee-muted);
  font-weight: 560;
  line-height: 1.75;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.two-col {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
}
.steps { border-left: 1px solid var(--bee-line); padding-left: 64px; }
.step-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.step-grid article {
  position: relative;
  min-height: 190px;
  border: 1px solid var(--bee-line);
  border-radius: 24px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.step-grid article::before,
.dataset-card::before,
.article-card::before,
.result-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .75) 45%, transparent 60%);
  transform: translateX(-110%);
  transition: opacity .2s ease;
}
.step-grid article:hover::before,
.dataset-card:hover::before,
.article-card:hover::before,
.result-card:hover::before {
  opacity: .52;
  animation: cardSweep .9s var(--motion-ease);
}
@keyframes cardSweep {
  from { transform: translateX(-110%); }
  to { transform: translateX(110%); }
}
.step-grid b {
  position: absolute;
  right: 18px;
  top: 12px;
  color: var(--bee-line);
  font-size: 38px;
  font-weight: 900;
}
.step-grid span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(30, 40, 165, .09);
  color: var(--bee-blue);
}
.step-grid strong, .step-grid small { display: block; }
.step-grid strong { margin-top: 18px; color: var(--bee-blue); font-weight: 900; }
.step-grid small { margin-top: 8px; color: var(--bee-muted); line-height: 1.55; font-weight: 600; }

.dataset-grid, .article-grid, .result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dataset-card, .article-card, .result-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--bee-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .18s ease;
}
.dataset-card:hover, .article-card:hover, .result-card:hover {
  transform: translateY(-3px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  box-shadow: var(--shadow-2);
}
.dataset-image {
  position: relative;
  height: 148px;
  background: linear-gradient(135deg, rgba(30, 40, 165, .15), rgba(245, 90, 120, .22));
  overflow: hidden;
}
.dataset-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chip, .chip-pink {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}
.chip { background: rgba(30, 40, 165, .09); color: var(--bee-blue); }
.chip-pink { background: rgba(255, 255, 255, .9); color: var(--bee-coral); }
.dataset-image .chip-pink { position: absolute; left: 12px; top: 12px; }
.dataset-body, .article-card, .result-card { padding: 20px; }
.dataset-card-cta {
  display: grid;
  min-height: 100%;
  background:
    radial-gradient(240px 160px at 100% 0%, rgba(250, 215, 65, .36), transparent 64%),
    linear-gradient(135deg, #fff, rgba(251, 232, 223, .76));
}
.dataset-card-cta .dataset-body {
  display: grid;
  align-content: center;
}
.dataset-card-cta .material-symbols-outlined {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(30, 40, 165, .10);
  color: var(--bee-blue);
  font-size: 30px;
}
.dataset-body h3, .article-card h3, .result-card h3 {
  color: var(--bee-blue);
  font-size: 17px;
  line-height: 1.32;
  font-weight: 900;
}
.dataset-title-link {
  color: inherit;
  text-decoration: none;
}
.dataset-title-link:hover {
  color: var(--bee-coral);
}
.dataset-body p, .article-card p, .result-card p {
  margin: 10px 0 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fair {
  display: flex;
  gap: 6px;
  margin-top: 16px;
}
.fair span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.fair span:nth-child(1) { background: var(--bee-blue); }
.fair span:nth-child(2) { background: var(--bee-coral); }
.fair span:nth-child(3) { background: var(--bee-yellow); color: var(--bee-blue-deep); }
.fair span:nth-child(4) { background: var(--bee-blue-dark); }

.vocab-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 44px;
  align-items: start;
}
.inline-search {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}
.inline-search input, .newsletter input {
  width: 100%;
  border: 1px solid var(--bee-line);
  border-radius: 999px;
  padding: 13px 18px;
  outline: none;
  color: var(--bee-muted);
  font-weight: 650;
}
.inline-search input:focus, .newsletter input:focus {
  border-color: var(--bee-blue);
  box-shadow: 0 0 0 3px rgba(30, 40, 165, .1);
}
.vocab-results {
  min-height: 220px;
  border: 1px solid var(--bee-line);
  border-radius: 28px;
  padding: 20px;
  background: #fff;
  box-shadow: var(--shadow-1);
}
.vocab-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--bee-line);
}
.vocab-item:last-child { border-bottom: 0; }
.vocab-item strong { color: var(--bee-blue); }
.vocab-item code { color: var(--bee-coral); font-weight: 800; }
.muted { color: var(--bee-muted); }

.coral-cta { background: #fff; }
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 52px 30px;
  text-align: center;
  background:
    radial-gradient(420px 260px at 8% 0%, rgba(250, 215, 65, .35), transparent 60%),
    radial-gradient(420px 260px at 100% 100%, rgba(30, 40, 165, .30), transparent 60%),
    var(--bee-coral);
  color: #fff;
  box-shadow: var(--shadow-3);
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  pointer-events: none;
  background:
    conic-gradient(from 180deg, transparent, rgba(255, 255, 255, .18), transparent 34%),
    radial-gradient(circle at 50% 50%, rgba(250, 215, 65, .18), transparent 46%);
  animation: ctaOrbit 14s linear infinite;
}
@keyframes ctaOrbit {
  to { transform: rotate(1turn); }
}
.cta-card > * {
  position: relative;
  z-index: 1;
}
.cta-card > span { font-size: 42px; }
.cta-card h2 { margin-top: 10px; color: #fff; font-size: clamp(28px, 4vw, 46px); font-weight: 900; }
.cta-card p { color: rgba(255, 255, 255, .9); }
.cta-card div { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.blue-news {
  background: var(--bee-off);
}
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  border-radius: 34px;
  padding: 44px;
  background:
    radial-gradient(500px 300px at 90% 110%, rgba(250, 215, 65, .28), transparent 60%),
    var(--bee-blue);
  color: #fff;
  box-shadow: var(--shadow-3);
}
.newsletter h2 { color: #fff; }
.newsletter p, .newsletter small { color: rgba(255, 255, 255, .78); }
.newsletter form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.newsletter small { grid-column: 1 / -1; font-weight: 600; }
.yellow-text { color: var(--bee-yellow); }

.footer {
  border-top: 1px solid var(--bee-line);
  background: #fff;
  padding: 48px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 34px;
}
.footer p { color: var(--bee-muted); line-height: 1.6; }
.footer nav { display: grid; align-content: start; gap: 10px; }
.footer strong { color: var(--bee-blue); }
.footer a { color: var(--bee-muted); font-weight: 650; }
.footer a:hover { color: var(--bee-blue); }
.footer-update { display:flex; flex-wrap:wrap; gap:8px 12px; align-items:center; margin-top:28px; padding-top:18px; border-top:1px solid var(--bee-line, #e1e6eb); color:var(--bee-muted); font-size:12px; }
.footer-update code { font:600 12px/1.6 ui-monospace, Consolas, monospace; overflow-wrap:anywhere; color:var(--bee-blue); user-select:all; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(14, 20, 87, .54);
}
.modal[hidden] { display: none; }
.modal-panel {
  position: relative;
  width: min(820px, 100%);
  max-height: min(82vh, 820px);
  overflow: auto;
  border-radius: 28px;
  padding: 30px;
  background: #fff;
  box-shadow: var(--shadow-3);
}
.modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(30, 40, 165, .08);
  color: var(--bee-blue);
  cursor: pointer;
}
.modal h2 { color: var(--bee-blue); font-size: 30px; }
.modal p, .modal li { color: var(--bee-muted); line-height: 1.7; font-weight: 560; }
.modal pre {
  white-space: pre-wrap;
  color: var(--bee-muted);
  font-family: inherit;
}
.modal .reading-body.rich {
  margin-top: 18px;
  color: var(--bee-muted);
  white-space: normal;
  line-height: 1.75;
  font-weight: 560;
}
.modal .reading-body.rich p { margin: 0 0 14px; }
.modal .reading-body.rich a { color: var(--bee-blue); font-weight: 800; text-decoration: underline; }
.cms-shortcode-card {
  display: grid;
  gap: 4px;
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid var(--bee-line);
  border-left: 5px solid var(--bee-yellow);
  border-radius: 12px;
  background: #fff;
  color: var(--bee-blue);
  text-decoration: none !important;
  box-shadow: var(--shadow-1);
}
.cms-shortcode-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.cms-shortcode-kicker {
  color: var(--bee-coral);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cms-shortcode-title {
  color: var(--bee-blue);
  font-weight: 900;
  line-height: 1.25;
}
.cms-shortcode-summary {
  color: var(--bee-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}
.cms-shortcode-missing {
  display: inline-flex;
  margin: 0 2px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(245, 90, 120, .12);
  color: var(--bee-coral);
  font-size: .92em;
  font-weight: 800;
}
.loading, .empty {
  border: 1px dashed rgba(30, 40, 165, .28);
  border-radius: 22px;
  padding: 22px;
  background: rgba(255, 255, 255, .55);
  color: var(--bee-muted);
  font-weight: 700;
}

/* Home content sizing copied from the brand demo. The shared chrome deliberately
   stays outside these overrides so its geometry is identical on every page. */
.home-page .container {
  width: 100%;
  max-width: 1280px;
  padding-right: 16px;
  padding-left: 16px;
}

.home-page .button {
  min-height: 44px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
}

.home-page .button.small {
  min-height: 40px;
  padding: 10px 16px;
}

/* Home buttons retain their campaign styling, except inside the shared header. */
.home-page .site-header .button {
  min-height: 42px;
  padding: 12px 20px;
  font-weight: 800;
}
.home-page .site-header .button.small {
  min-height: 38px;
  padding: 9px 16px;
}

.home-page .hero-grid {
  grid-template-columns: minmax(0, 780px);
  align-content: center;
  gap: 0;
  min-height: inherit;
  padding-top: clamp(58px, 8vh, 96px);
  padding-bottom: clamp(66px, 10vh, 108px);
}

.home-page .honeycomb {
  right: -24px;
  top: 40px;
  display: none;
  width: 160px;
}

.home-page .hero-chip {
  margin-bottom: 16px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.home-page .hero-chip .material-symbols-outlined {
  font-size: 16px;
}

.home-page .hero h1 {
  max-width: 780px;
  font-size: clamp(44px, 5.8vw, 78px);
  line-height: .98;
  font-weight: 900;
}

.home-page .hero-lead {
  max-width: 640px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .90);
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 600;
  line-height: 1.62;
}

.home-page .hero-search {
  margin-top: 28px;
  gap: 8px;
  padding: 8px;
}

.home-page .hero-search > span {
  padding-left: 12px;
}

.home-page .hero-search input {
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.home-page .hero-search .button {
  min-height: 40px;
  padding: 10px 20px;
}

.home-page .hero-links {
  gap: 12px;
  margin-top: 24px;
}

.home-page .hero-links .button {
  min-height: 48px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
}

.home-page .hero-links .material-symbols-outlined {
  font-size: 20px;
  line-height: 28px;
}

.home-page .hero-media {
  display: none;
}

.home-page .hero-media img {
  height: 420px;
  border-radius: 36px;
}

.home-page .hero-badge {
  left: -20px;
  bottom: -20px;
  gap: 12px;
  border-radius: 16px;
  padding: 16px;
}

.home-page .hero-badge > span {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.home-page .hero-badge strong {
  font-size: 14px;
  font-weight: 800;
}

.home-page .hero-badge small {
  font-size: 12px;
  font-weight: 500;
}

.home-page .buzz .marquee {
  padding: 0;
  font-size: 14px;
  font-weight: 900;
}

.home-page .buzz .marquee-set {
  gap: 28px;
  padding-right: 28px;
}

.home-page .stats-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  padding-top: 40px;
}

.home-page .stat-card {
  min-height: 114px;
  gap: 8px;
  border-radius: 16px;
  padding: 16px;
}

.home-page .stat-card strong {
  font-size: 24px;
  font-weight: 800;
}

.home-page .stat-card small {
  font-size: 12px;
  font-weight: 600;
}

.home-page .section {
  padding: 64px 0;
}

.home-page .section h2,
.home-page .two-col h2 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}

.home-page .section p,
.home-page .two-col p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.625;
}

.home-page .two-col {
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
}

.home-page .steps {
  padding-left: 64px;
}

.home-page .step-grid {
  gap: 20px;
  margin-top: 32px;
}

.home-page .step-grid article {
  min-height: 172px;
  border-radius: 16px;
  padding: 20px;
}

.home-page .step-grid b {
  right: 16px;
  top: 16px;
  font-size: 30px;
  font-weight: 800;
}

.home-page .step-grid span {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

.home-page .step-grid strong {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 800;
}

.home-page .step-grid small {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.625;
}

.home-page .dataset-body h3,
.home-page .article-card h3,
.home-page .result-card h3 {
  font-size: 16px;
  line-height: 1.375;
  font-weight: 800;
}

.home-page .dataset-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.home-page .dataset-body p,
.home-page .article-card p,
.home-page .result-card p {
  font-size: 14px;
  line-height: 1.625;
}

.home-page .cta-card h2 {
  font-size: 30px;
  line-height: 1.18;
  font-weight: 800;
}

.home-page .newsletter h2 {
  font-size: 24px;
  font-weight: 800;
}

/* Waggle product story ----------------------------------------------------- */
.home-page .platform-overview {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(520px 280px at 94% 6%, rgba(250, 215, 65, .22), transparent 68%),
    radial-gradient(500px 320px at 4% 92%, rgba(245, 90, 120, .12), transparent 70%),
    #f7f7fc;
}

.platform-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: end;
  margin-bottom: 44px;
}

.home-page .platform-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.03;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.platform-intro p {
  margin: 0 0 18px;
  font-size: 16px;
}

.text-link,
.platform-card > a,
.start-card > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bee-blue);
  font-size: 14px;
  font-weight: 850;
}

.text-link .material-symbols-outlined,
.platform-card > a .material-symbols-outlined,
.start-card > a .material-symbols-outlined {
  font-size: 18px;
  transition: transform .18s var(--motion-ease);
}

.text-link:hover .material-symbols-outlined,
.platform-card > a:hover .material-symbols-outlined,
.start-card > a:hover .material-symbols-outlined {
  transform: translateX(4px);
}

.platform-architecture {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.platform-architecture::before {
  content: "";
  position: absolute;
  top: 51px;
  right: 17%;
  left: 17%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(30, 40, 165, .24) 0 8px, transparent 8px 15px);
}

.platform-card {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 344px;
  flex-direction: column;
  border: 1px solid rgba(30, 40, 165, .12);
  border-radius: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-1);
  transition: transform .22s var(--motion-ease), box-shadow .22s var(--motion-ease), border-color .22s ease;
}

.platform-card:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 40, 165, .24);
  box-shadow: var(--shadow-3);
}

.platform-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.platform-card-top > .material-symbols-outlined {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(30, 40, 165, .09);
  color: var(--bee-blue);
  font-size: 28px;
}

.platform-card-flow .platform-card-top > .material-symbols-outlined {
  background: rgba(245, 90, 120, .12);
  color: #d83f60;
}

.platform-card-apps .platform-card-top > .material-symbols-outlined {
  background: rgba(250, 215, 65, .28);
  color: #8a6c00;
}

.platform-index {
  color: rgba(30, 40, 165, .34);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
}

.platform-kicker {
  margin: 0 0 7px !important;
  color: var(--bee-coral) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .14em;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.platform-card h3 {
  margin: 0;
  color: var(--bee-blue);
  font-size: 21px;
  line-height: 1.22;
  font-weight: 850;
  letter-spacing: -.02em;
}

.platform-card > p:not(.platform-kicker) {
  margin: 14px 0 22px;
  font-size: 14px;
  line-height: 1.65;
}

.platform-card > a {
  margin-top: auto;
}

.platform-principle {
  display: flex;
  max-width: 920px;
  align-items: center;
  gap: 12px;
  margin: 28px auto 0 !important;
  border: 1px solid rgba(30, 40, 165, .1);
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, .72);
  color: var(--bee-blue) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

.platform-principle .material-symbols-outlined {
  flex: none;
  color: var(--bee-coral);
}

/* Apps and access ---------------------------------------------------------- */
.home-page .apps-showcase {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(700px 460px at 93% 13%, rgba(245, 90, 120, .26), transparent 68%),
    radial-gradient(520px 340px at 0% 100%, rgba(250, 215, 65, .16), transparent 70%),
    var(--bee-blue-deep);
}

.apps-showcase::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -210px;
  top: -220px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(255, 255, 255, .025), 0 0 0 116px rgba(255, 255, 255, .018);
  pointer-events: none;
}

.apps-showcase-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
  gap: clamp(44px, 8vw, 100px);
  align-items: center;
}

.home-page .apps-showcase h2 {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.home-page .apps-showcase .apps-lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 16px;
  line-height: 1.7;
}

.access-model {
  display: grid;
  gap: 9px;
  margin-top: 26px;
}

.access-model article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .055);
}

.access-model article > .material-symbols-outlined {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(250, 215, 65, .13);
  color: var(--bee-yellow);
  font-size: 21px;
}

.access-model strong,
.access-model small {
  display: block;
}

.access-model strong {
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.access-model small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .63);
  font-size: 12px;
  font-weight: 580;
  line-height: 1.45;
}

.home-page .access-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .64);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.access-note .material-symbols-outlined {
  flex: none;
  margin-top: 1px;
  color: var(--bee-yellow);
  font-size: 17px;
}

.apps-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.apps-actions .button {
  gap: 9px;
}

.apps-actions .material-symbols-outlined {
  font-size: 19px;
}

.app-product-stack {
  display: grid;
  gap: 12px;
  perspective: 1000px;
}

.app-product-card,
.app-stack-more {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 22px;
  padding: 17px 18px;
  background: rgba(255, 255, 255, .96);
  color: var(--bee-blue-deep);
  box-shadow: 0 22px 54px rgba(3, 7, 42, .22);
  transition: transform .22s var(--motion-ease), box-shadow .22s var(--motion-ease);
}

.app-product-card:nth-child(2) {
  transform: translateX(28px);
}

.app-product-card:hover,
.app-product-card:nth-child(2):hover,
.app-stack-more:hover {
  transform: translateX(8px) translateY(-3px);
  box-shadow: 0 28px 68px rgba(3, 7, 42, .34);
}

.app-product-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(245, 90, 120, .12);
  color: #d83f60;
  font-size: 28px;
}

.app-product-territory .app-product-icon {
  background: rgba(37, 151, 107, .13);
  color: #137c58;
}

.app-product-calendar .app-product-icon {
  background: rgba(250, 215, 65, .3);
  color: #866800;
}

.app-product-copy {
  min-width: 0;
}

.app-product-copy small,
.app-product-copy strong,
.app-product-copy > span {
  display: block;
}

.app-product-copy small {
  margin-bottom: 3px;
  color: var(--bee-coral);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.app-product-territory small { color: #137c58; }
.app-product-calendar small { color: #806400; }

.app-product-copy strong {
  color: var(--bee-blue);
  font-size: 17px;
  font-weight: 900;
}

.app-product-copy > span {
  margin-top: 5px;
  color: var(--bee-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.app-product-arrow {
  color: rgba(30, 40, 165, .44);
  font-size: 20px;
}

.app-stack-more {
  margin-top: 2px;
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .07);
  color: #fff;
  box-shadow: none;
}

.app-stack-more > .material-symbols-outlined:first-child {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  color: var(--bee-yellow);
}

.app-stack-more strong,
.app-stack-more small {
  display: block;
}

.app-stack-more strong {
  font-size: 14px;
  font-weight: 850;
}

.app-stack-more small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .6);
  font-size: 11px;
  line-height: 1.4;
}

/* Goal-based entry points -------------------------------------------------- */
.home-page .start-guide {
  background: #fff;
}

.start-guide-head {
  align-items: end;
}

.start-guide-head > p {
  max-width: 520px;
  margin: 0;
}

.start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.start-card {
  position: relative;
  display: flex;
  min-height: 310px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--bee-line);
  border-radius: 26px;
  padding: 24px;
  background: var(--bee-off);
  transition: transform .2s var(--motion-ease), border-color .2s ease, box-shadow .2s ease;
}

.start-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -74px;
  top: -78px;
  border: 1px solid rgba(30, 40, 165, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(30, 40, 165, .025);
}

.start-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 40, 165, .22);
  box-shadow: var(--shadow-2);
}

.start-number {
  position: absolute;
  top: 22px;
  right: 22px;
  color: rgba(30, 40, 165, .23);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

.start-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: rgba(30, 40, 165, .09);
  color: var(--bee-blue);
  font-size: 26px;
}

.start-card:nth-child(2) .start-icon {
  background: rgba(245, 90, 120, .12);
  color: #d83f60;
}

.start-card:nth-child(3) .start-icon {
  background: rgba(250, 215, 65, .3);
  color: #806400;
}

.start-card h3 {
  margin: 24px 0 0;
  color: var(--bee-blue);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: -.02em;
}

.home-page .start-card p {
  margin: 12px 0 22px;
  font-size: 14px;
  line-height: 1.65;
}

.start-card > a {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

@media (min-width: 640px) {
  .home-page .container {
    padding-right: 24px;
    padding-left: 24px;
  }

  .home-page .hero h1 {
    font-size: clamp(50px, 5.8vw, 78px);
  }

  .home-page .section h2,
  .home-page .two-col h2 {
    font-size: 30px;
  }

  .home-page .cta-card h2 {
    font-size: 36px;
  }

  .home-page .newsletter h2 {
    font-size: 30px;
  }
}

@media (min-width: 1024px) {
  .home-page .container {
    padding-right: 32px;
    padding-left: 32px;
  }

  .home-page .honeycomb {
    display: block;
  }

  .home-page .hero-grid {
    padding-top: clamp(64px, 8vh, 102px);
    padding-bottom: clamp(72px, 10vh, 112px);
  }
}

@media (max-width: 1240px) {
  .desktop-nav, .login-link { display: none; }
  .mobile-only { display: grid; }
}

@media (max-width: 980px) {
  .desktop-nav, .login-link { display: none; }
  .mobile-only { display: grid; }
  .hero-grid, .two-col, .vocab-layout, .newsletter { grid-template-columns: 1fr; }
  .hero-media { display: none; }
  .steps { border-left: 0; padding-left: 0; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .dataset-grid, .article-grid, .result-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .home-page .hero-grid,
  .home-page .two-col,
  .home-page .vocab-layout,
  .home-page .newsletter {
    grid-template-columns: 1fr;
  }
  .home-page .hero-media { display: none; }
  .home-page .steps { border-left: 0; padding-left: 0; }
  .home-page .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .platform-heading,
  .apps-showcase-grid { grid-template-columns: 1fr; }
  .platform-heading { gap: 22px; }
  .platform-architecture,
  .start-grid { grid-template-columns: 1fr; }
  .platform-architecture::before { display: none; }
  .platform-card { min-height: 0; }
  .apps-showcase-grid { gap: 42px; }
  .app-product-stack { max-width: 720px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1180px); }
  .chrome-container { width: min(100% - 24px, 1180px); }
  .header-inner { min-height: 66px; gap: 8px; }
  .brand { gap: 6px; min-width: 0; }
  .brand-text { font-size: 15px; }
  .brand-logo {
    width: 104px;
    max-height: 34px;
  }
  .header-brand-name { font-size: 16px; letter-spacing: -.035em; }
  .brand-mark { width: 38px; height: 38px; border-radius: 14px; }
  .button { width: auto; padding: 11px 15px; }
  .header-actions .button.primary { display: none; }
  .header-actions #openSearch { display: none; }
  .header-actions { gap: 4px; min-width: 0; }
  .header-actions .notification-link { display: none !important; }
  .language-button { width: 42px; min-width: 42px; padding: 0; }
  .language-button > .material-symbols-outlined { display: none; }
  .language-current-code { display: none; }
  .header-user-copy { display: none; }
  .header-user-link { padding: 3px; }
  .hero-grid { padding: 50px 0; }
  .hero-search { border-radius: 24px; align-items: stretch; flex-wrap: wrap; padding: 12px; }
  .hero-search input { min-height: 42px; }
  .hero-search .button { width: 100%; }
  .hero-links .button { width: 100%; }
  .stats-grid, .dataset-grid, .article-grid, .result-grid, .step-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .inline-search, .newsletter form { grid-template-columns: 1fr; display: grid; }
  .newsletter { padding: 28px; border-radius: 26px; }
  .modal { padding: 12px; }
  .modal-panel { padding: 20px; border-radius: 22px; }
  .home-page .container {
    width: 100%;
    max-width: 1280px;
    padding-right: 16px;
    padding-left: 16px;
  }
  .home-page .hero {
    min-height: auto;
  }
  .home-page .hero-grid {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 52px;
  }
  .home-page .hero-chip { margin-bottom: 12px; }
  .home-page .hero h1 {
    font-size: clamp(40px, 11.5vw, 54px);
    line-height: 1;
  }
  .home-page .hero-lead {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.55;
  }
  .home-page .hero-search { margin-top: 20px; }
  .home-page .hero-links {
    gap: 8px;
    margin-top: 18px;
  }
  .home-page .hero-links .button {
    min-height: 42px;
    padding: 10px 16px;
  }
  .home-page .marquee {
    animation-duration: var(--home-buzz-speed, 28s);
  }
  .home-page .stats-grid,
  .home-page .dataset-grid,
  .home-page .article-grid,
  .home-page .result-grid,
  .home-page .step-grid {
    grid-template-columns: 1fr;
  }
  .home-page .section { padding: 64px 0; }
  .home-page .platform-heading h2,
  .home-page .apps-showcase h2 { font-size: 34px; }
  .platform-heading { margin-bottom: 30px; }
  .platform-card { border-radius: 22px; padding: 20px; }
  .platform-principle {
    align-items: flex-start;
    border-radius: 20px;
  }
  .app-product-card,
  .app-stack-more {
    grid-template-columns: 48px 1fr auto;
    gap: 12px;
    border-radius: 18px;
    padding: 14px;
  }
  .app-product-card:nth-child(2) { transform: none; }
  .app-product-card:hover,
  .app-product-card:nth-child(2):hover,
  .app-stack-more:hover { transform: translateY(-2px); }
  .app-product-icon,
  .app-stack-more > .material-symbols-outlined:first-child {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }
  .app-product-copy > span { font-size: 11px; }
  .apps-actions .button { width: 100%; justify-content: center; }
  .start-card { min-height: 0; border-radius: 22px; padding: 22px; }
}

@media (max-width: 360px) {
  .header-brand-name { display: none; }
  .brand-logo { width: 106px; }
}

/* --------------------------------------------------------------------------
   One hero system for every module
   Survey/CMS are the reference: identical blue field, spacing and typography.
   The page-specific content may differ, but its visual grammar may not.
   -------------------------------------------------------------------------- */
.unified-module-hero {
  position: relative !important;
  isolation: isolate;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: #fff !important;
  background:
    radial-gradient(600px 350px at 91% 4%, rgba(245, 90, 120, .32), transparent 64%),
    radial-gradient(440px 310px at 8% -10%, rgba(250, 215, 65, .24), transparent 65%),
    linear-gradient(135deg, #1e28a5 0%, #18218c 58%, #0d1355 100%) !important;
  box-shadow: none !important;
}

.unified-module-hero::before,
.unified-module-hero::after,
.unified-module-hero .unified-module-hero-inner::before,
.unified-module-hero .unified-module-hero-inner::after,
.unified-module-hero .unified-module-hero-inner > *::before,
.unified-module-hero .unified-module-hero-inner > *::after {
  content: none !important;
  display: none !important;
}

.unified-module-hero-fullbleed {
  width: var(--unified-module-viewport-width, 100vw) !important;
  margin-right: calc((100% - var(--unified-module-viewport-width, 100vw)) / 2) !important;
  margin-left: calc((100% - var(--unified-module-viewport-width, 100vw)) / 2) !important;
}

body > .unified-module-hero {
  width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.unified-module-hero .unified-module-decoration,
.unified-module-hero .page-hero-bg,
.unified-module-hero [class*="hero-decoration"],
.unified-module-hero [class*="hero-media"],
.unified-module-hero [class*="hero-visual"],
.unified-module-hero .hero-network {
  display: none !important;
}

.public-hero-server-prepared:not(.unified-module-hero-ready),
.public-hero-server-prepared:not(.unified-module-hero-ready) * {
  animation: none !important;
  transition: none !important;
}

.unified-module-hero .unified-module-hero-inner {
  position: relative !important;
  z-index: 1;
  width: min(calc(100% - 48px), 1180px) !important;
  max-width: 1180px !important;
  min-height: 340px;
  margin: 0 auto !important;
  padding: 58px 0 52px !important;
  color: #fff;
}

.unified-module-hero .unified-module-hero-inner.has-side-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr) !important;
  gap: 28px !important;
  align-items: center !important;
}

.unified-module-hero .unified-module-hero-inner:not(.has-side-panel) {
  display: block !important;
}

.unified-module-hero .unified-module-hero-inner > :not(aside):not([class*="status"]):not([class*="side"]) {
  min-width: 0;
}

.unified-module-hero .unified-module-hero-copy {
  min-width: 0;
}

.unified-module-hero .unified-module-side-panel {
  grid-column: 2;
  align-self: center !important;
  min-width: 0;
}

.unified-module-hero .unified-module-side-card {
  border: 1px solid rgba(255, 255, 255, .2) !important;
  border-radius: 24px !important;
  padding: 22px !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .1) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
}

.unified-module-hero .unified-module-side-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  border: 0 !important;
  padding: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.unified-module-hero .unified-module-side-grid > * {
  min-width: 0;
  min-height: 96px;
  border: 1px solid rgba(255, 255, 255, .2) !important;
  border-radius: 20px !important;
  padding: 16px !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .1) !important;
  box-shadow: none !important;
}

.unified-module-hero [class*="title-row"] {
  display: block !important;
}

.unified-module-hero h1,
.unified-module-hero .unified-module-hero-title {
  max-width: 900px !important;
  margin: 10px 0 16px !important;
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  font-size: clamp(44px, 4.8vw, 64px) !important;
  font-weight: 900 !important;
  line-height: 1.02 !important;
  letter-spacing: -.035em !important;
  text-shadow: none !important;
}

.unified-module-hero .unified-module-hero-highlight {
  color: #fad741 !important;
  -webkit-text-fill-color: #fad741 !important;
}

.unified-module-hero .unified-module-hero-highlight.single-word-title {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.unified-module-hero [class*="eyebrow"],
.unified-module-hero [class*="kicker"],
.unified-module-hero .unified-module-hero-kicker {
  display: block !important;
  width: fit-content;
  margin: 0 0 10px !important;
  border: 0 !important;
  padding: 0 !important;
  color: #fad741 !important;
  background: none !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

.unified-module-hero [class*="metric"] strong,
.unified-module-hero [class*="stat"] strong,
.unified-module-hero [class*="metric"] b,
.unified-module-hero [class*="stat"] b {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.unified-module-hero [class*="subtitle"],
.unified-module-hero [class*="lead"],
.unified-module-hero [class*="hero-copy"] > p:not([class*="eyebrow"]):not([class*="kicker"]),
.unified-module-hero .unified-module-hero-inner > p {
  max-width: 800px !important;
  margin-top: 0 !important;
  color: rgba(255, 255, 255, .82) !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  line-height: 1.68 !important;
}

.unified-module-hero .material-symbols-rounded,
.unified-module-hero .material-symbols-outlined,
.unified-module-hero svg,
.unified-module-hero img,
.unified-module-hero [class*="title-icon"],
.unified-module-hero [class*="hero-icon"] {
  display: none !important;
}

.unified-module-hero aside,
.unified-module-hero .unified-module-hero-inner > [class*="status"],
.unified-module-hero .unified-module-hero-inner > [class*="side"] {
  align-self: center !important;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .2) !important;
  border-radius: 24px !important;
  padding: 22px !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .1) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
}

.unified-module-hero aside h2,
.unified-module-hero aside h3,
.unified-module-hero aside strong,
.unified-module-hero .unified-module-hero-inner > [class*="status"] h2,
.unified-module-hero .unified-module-hero-inner > [class*="status"] h3,
.unified-module-hero .unified-module-hero-inner > [class*="status"] strong {
  color: #fff !important;
}

.unified-module-hero aside p,
.unified-module-hero aside span,
.unified-module-hero .unified-module-hero-inner > [class*="status"] p,
.unified-module-hero .unified-module-hero-inner > [class*="status"] span {
  color: rgba(255, 255, 255, .78) !important;
}

.unified-module-hero [class*="workflow"] {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 24px !important;
}

.unified-module-hero [class*="workflow"] > span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, .2) !important;
  border-radius: 999px !important;
  padding: 8px 13px !important;
  color: rgba(255, 255, 255, .88) !important;
  background: rgba(255, 255, 255, .08) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

.unified-module-hero [class*="workflow"] b {
  display: inline !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, .62) !important;
  background: none !important;
  font-size: inherit !important;
  line-height: inherit !important;
  box-shadow: none !important;
}

.unified-module-hero aside li,
.unified-module-hero .unified-module-hero-inner > [class*="status"] li,
.unified-module-hero .unified-module-hero-inner > [class*="side"] li {
  display: block !important;
  min-height: 0 !important;
  grid-template-columns: none !important;
}

.unified-module-hero a,
.unified-module-hero button {
  font-weight: 850;
}

.unified-module-hero .unified-module-action-label {
  display: inline;
}

@media (max-width: 820px) {
  .unified-module-hero .unified-module-hero-inner,
  .unified-module-hero .unified-module-hero-inner.has-side-panel {
    width: min(calc(100% - 32px), 1180px) !important;
    min-height: 0;
    grid-template-columns: 1fr !important;
    padding: 42px 0 !important;
  }

  .unified-module-hero .unified-module-side-panel {
    grid-column: 1;
  }

  .unified-module-hero h1,
  .unified-module-hero .unified-module-hero-title {
    font-size: clamp(38px, 11vw, 54px) !important;
  }
}

/*
 * Shared full-width hero for operational modules.
 * Add this class to the first contextual block beneath the global header.
 * It deliberately owns the full-bleed geometry and institutional palette so
 * individual modules cannot drift back into boxed, white or off-brand headers.
 */
.institutional-module-hero {
  position: relative;
  isolation: isolate;
  width: 100vw !important;
  max-width: none !important;
  margin: 0 calc(50% - 50vw) !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: clamp(48px, 5vw, 72px) max(24px, calc((100vw - 1180px) / 2)) !important;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(620px 340px at 92% 4%, rgba(245, 90, 120, .35), transparent 64%),
    radial-gradient(440px 300px at 8% -10%, rgba(250, 215, 65, .24), transparent 65%),
    linear-gradient(135deg, #1e28a5 0%, #18218c 58%, #0d1355 100%) !important;
  box-shadow: none !important;
}

body > .institutional-module-hero {
  width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.institutional-module-hero > * {
  position: relative;
  z-index: 1;
}

.institutional-module-hero h1,
.institutional-module-hero h2 {
  color: #fff !important;
}

.institutional-module-hero > p,
.institutional-module-hero > div > p,
.institutional-module-hero .subtitle,
.institutional-module-hero .lead {
  color: rgba(255, 255, 255, .82) !important;
}

.institutional-module-hero .hero-kicker,
.institutional-module-hero .eyebrow,
.institutional-module-hero .kicker {
  color: var(--bee-yellow, #fad741) !important;
}

.universal-validator-theme {
  overflow-x: clip;
}

/* Composite legacy heroes keep their information panels, but as glass cards. */
.institutional-module-hero.files-hero .files-hero-main,
.institutional-module-hero.intro .intro-panel:first-child {
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.institutional-module-hero.files-hero .files-hero-side,
.institutional-module-hero.intro .status-panel {
  border-color: rgba(255, 255, 255, .2) !important;
  background: rgba(255, 255, 255, .1) !important;
  color: #fff !important;
  backdrop-filter: blur(14px);
}

@media (max-width: 760px) {
  .institutional-module-hero {
    padding: 42px 18px !important;
  }
}

/* The unified component supersedes the temporary legacy full-bleed helper. */
.unified-module-hero.institutional-module-hero {
  padding: 0 !important;
  background:
    radial-gradient(600px 350px at 91% 4%, rgba(245, 90, 120, .32), transparent 64%),
    radial-gradient(440px 310px at 8% -10%, rgba(250, 215, 65, .24), transparent 65%),
    linear-gradient(135deg, #1e28a5 0%, #18218c 58%, #0d1355 100%) !important;
}

/* Yellow is reserved for the eyebrow and the highlighted title word. */
.unified-module-hero [class*="metric"] strong,
.unified-module-hero [class*="metric"] b,
.unified-module-hero [class*="metric"] [class*="number"],
.unified-module-hero [class*="stat"] strong,
.unified-module-hero [class*="stat"] b,
.unified-module-hero [class*="stat"] [class*="number"],
.unified-module-hero .hero-meta strong,
.unified-module-hero .model-size,
.unified-module-hero code {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* ============================================================
   Buscador universal (lupa del header / Ctrl+K)
   ============================================================ */
.pub-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
}
.pub-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 54, .45);
  backdrop-filter: blur(4px);
}
.pub-search-panel {
  position: relative;
  margin: 11vh auto 0;
  width: min(640px, calc(100% - 32px));
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0, 68, 148, .14);
  box-shadow: 0 30px 80px rgba(0, 20, 70, .35);
  overflow: hidden;
  animation: pub-search-in .16s ease;
}
@keyframes pub-search-in {
  from { opacity: 0; transform: translateY(-8px) scale(.985); }
  to { opacity: 1; transform: none; }
}
.pub-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0, 68, 148, .12);
}
.pub-search-box .material-symbols-outlined { color: #004494; font-size: 24px; }
.pub-search-box input {
  flex: 1;
  border: 0;
  outline: none;
  font: 600 17px/1.3 Montserrat, system-ui, sans-serif;
  color: #101736;
  background: transparent;
}
.pub-search-box input::placeholder { color: #8b91b5; font-weight: 500; }
.pub-search-box kbd {
  border: 1px solid rgba(0, 68, 148, .22);
  border-bottom-width: 2px;
  border-radius: 7px;
  padding: 2px 8px;
  font: 700 11px/1.4 ui-monospace, monospace;
  color: #5a6086;
  background: #f4f6ff;
}
.pub-search-results {
  max-height: min(56vh, 460px);
  overflow-y: auto;
  padding: 8px;
}
.pub-search-group > p {
  margin: 10px 10px 4px;
  font: 800 10.5px/1.3 Montserrat, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #7a80a6;
}
.pub-search-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #101736;
}
.pub-search-item .material-symbols-outlined {
  flex: none;
  font-size: 20px;
  color: #004494;
  margin-top: 1px;
}
.pub-search-item-text { min-width: 0; }
.pub-search-item b {
  display: block;
  font: 700 14.5px/1.35 Montserrat, sans-serif;
  overflow-wrap: anywhere;
}
.pub-search-item small {
  display: block;
  color: #5a6086;
  font-size: 12px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pub-search-item:hover,
.pub-search-item.active {
  background: rgba(0, 68, 148, .08);
}
.pub-search-item.active {
  box-shadow: inset 3px 0 0 #FAD741;
}
.pub-search-empty {
  margin: 0;
  padding: 18px 14px;
  color: #5a6086;
  font-size: 13.5px;
}
.pub-search-hint {
  margin: 0;
  padding: 10px 18px;
  border-top: 1px solid rgba(0, 68, 148, .1);
  background: #f7f9ff;
  color: #7a80a6;
  font-size: 11.5px;
  font-weight: 600;
}
@media (max-width: 640px) {
  .pub-search-panel { margin-top: 6vh; }
  .pub-search-hint { display: none; }
}

/* The unified workspace owns the header account entry and unread count. */
[data-public-header] [data-unified-header-hidden],
.notification-badge[hidden] { display: none !important; }
.header-workspace-icon { position: relative; display: inline-flex; flex: 0 0 34px; }
.header-workspace-icon .notification-badge { top: -5px; right: -7px; }

/* ===== Cabecera compartida siempre visible (2026-09-17) =====
   El <header class="site-header"> ya era sticky, pero vive dentro del
   contenedor [data-public-header], que mide exactamente lo mismo que él; un
   elemento sticky no puede salir de su contenedor, así que en cuanto la página
   hacía scroll la cabecera se iba con ella. Fijar el contenedor resuelve el
   problema en todas las páginas a la vez. */
[data-public-header] {
  position: sticky;
  top: 0;
  z-index: 3700;
}

[data-public-header] .site-header {
  position: static;
}
