.ceeoro-header {
  --ceeoro-header-text: #fcfafd;
  --ceeoro-header-gradient: linear-gradient(96deg,
    color-mix(in srgb, var(--ceeoro-header-ink, #292843) var(--ceeoro-header-start, 92%), transparent),
    color-mix(in srgb, var(--ceeoro-header-ink, #292843) var(--ceeoro-header-end, 88%), transparent));
  --ceeoro-header-hover: rgba(252, 250, 253, .13);
}

body header.ceeoro-header:has(> .ceeoro-brand) {
  max-width: none;
  padding-inline: clamp(22px, 4.8vw, 74px);
  color: var(--ceeoro-header-text);
  background: var(--ceeoro-header-gradient);
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  backdrop-filter: blur(18px) saturate(1.08);
}

body header.ceeoro-header:not(.site-header):has(> .ceeoro-brand) {
  --ceeoro-header-start: 76%;
  --ceeoro-header-end: 70%;
  backdrop-filter: blur(10px) saturate(1.08);
}

.ceeoro-header :is(#nav, #public-auth, .entry-auth, .launch-header nav) > :is(a, button),
.ceeoro-header :is(#public-language, .launch-language) > :is(button, span),
.ceeoro-header :is(#public-language, .launch-language) > button[aria-pressed="true"],
.ceeoro-header :is(.account-menu, .session-account) > summary,
body .ceeoro-header > :is(.preview-label, .prototype-label, .review-tools),
.ceeoro-header > :is(.languages, .review-tools) > button {
  color: var(--ceeoro-header-text);
}

.ceeoro-header :is(.account-menu, .session-account) > summary {
  border-color: currentColor;
  background: transparent;
}

.ceeoro-header #nav > :is(a, button):hover,
.ceeoro-header :is(.account-menu, .session-account) > summary:hover {
  color: var(--ceeoro-header-text);
  background: var(--ceeoro-header-hover);
}

.ceeoro-header #nav > :is(a, button)[aria-current="page"] {
  color: var(--ceeoro-header-text);
  background: #4c4d77;
}

.ceeoro-header :is(.ceeoro-brand, #nav > a, #nav > button, .account-menu > summary, .session-account > summary):focus-visible {
  outline-color: var(--ceeoro-header-text);
}

.ceeoro-brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  text-decoration: none;
}

.ceeoro-brand > span {
  display: block;
  flex: none;
}

.ceeoro-header :is(.brand-mark, .ceeoro-brand-symbol) {
  display: block;
  background: linear-gradient(108deg, #d8cbff 0%, #fff 18%, #a995e4 34%, #fff 49%, #d8cbff 64%, #fff 82%, #b9a8ea 100%);
  background-size: 220% 100%;
  filter: drop-shadow(0 0 8px rgba(231, 223, 255, .28));
  mask: url('/static/landing/assets/brand/ceeoro-symbol.svg') center / contain no-repeat;
  animation: ceeoro-brand-refraction 8s cubic-bezier(.16, 1, .3, 1) infinite;
}

.ceeoro-brand-symbol { width: 54px; height: 48px; }

@keyframes ceeoro-brand-refraction {
  0%, 72%, 100% { background-position: 100% 50%; }
  88% { background-position: 0 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .ceeoro-header :is(.brand-mark, .ceeoro-brand-symbol) { animation: none; }
}

.ceeoro-brand-wordmark {
  width: 124px;
  height: 41px;
  background: url('/static/landing/assets/brand/ceeoro-wordmark-light.svg?v=20261015-theme') center / contain no-repeat;
}

.ceeoro-header .brand-beta {
  flex: none;
  margin-inline-start: 4px;
  color: var(--ceeoro-header-text, #fcfafd);
  font: 750 10px/1 var(--font-ui, 'Avenir Next', sans-serif);
  letter-spacing: .14em;
}

@media (max-width: 700px) {
  body header.ceeoro-header:has(> .ceeoro-brand) { padding-inline: 16px; }
  .ceeoro-brand { gap: 4px; }
  .ceeoro-brand-symbol { width: 36px; height: 34px; }
  .ceeoro-brand-wordmark { width: 94px; height: 32px; }
  .ceeoro-header .brand-beta { margin-inline-start: 2px; font-size: 9px; }
}

@media (max-width: 410px) {
  .ceeoro-brand-symbol { width: 30px; }
  .ceeoro-brand-wordmark { width: 82px; }
}
