/* SeeU landing refresh 2026.11 — illustrated page heroes + night footer with a watchful wordmark. */

/* ---------- Page heroes with illustrations ---------- */
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.page-hero__copy {
  min-width: 0;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 5.3rem);
}

/* Light card frame: white surface, discreet border, radius 24 (design system). */
.page-hero__art {
  position: relative;
  margin: 0;
  border: 1px solid var(--sk-color-border-subtle);
  border-radius: var(--sk-radius-xxl);
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(111, 40, 217, 0.06), transparent 70%),
    var(--sk-color-surface);
  box-shadow: var(--sk-shadow-card);
  animation: page-art-arrive var(--sk-motion-base) var(--sk-motion-easing) both;
}

.page-hero__art img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes page-art-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 860px) {
  .page-hero {
    grid-template-columns: 1fr;
  }

  .page-hero__art {
    width: min(100%, 400px);
    margin-inline: auto;
  }
}

/* ---------- Footer: the night stage ---------- */
.site-footer {
  padding: 12px 8px 8px;
}

.site-footer__stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(30px, 4.5vw, 64px) clamp(22px, 4.5vw, 64px) 0;
  border-radius: var(--sk-radius-xxl);
  background:
    radial-gradient(ellipse 60% 55% at 12% 0%, rgba(111, 40, 217, 0.55), transparent 70%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(43, 86, 232, 0.45), transparent 70%),
    #12163A;
  color: #FFFFFF;
  box-shadow: 0 30px 80px rgba(18, 22, 58, 0.28);
}

.site-footer__stage::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1px 1px at 70% 18%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 86% 52%, rgba(253, 187, 33, 0.7), transparent 60%),
    radial-gradient(1px 1px at 38% 72%, rgba(255, 255, 255, 0.4), transparent 60%),
    radial-gradient(1px 1px at 56% 40%, rgba(255, 255, 255, 0.35), transparent 60%);
  background-size: 340px 260px;
  content: "";
  opacity: 0.8;
}

.site-footer__hello {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: clamp(30px, 4vw, 48px);
}

.site-footer__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: #C9B6FF;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__kicker::before {
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: #FDBB21;
  content: "";
}

.site-footer__headline {
  max-width: 13ch;
  margin: 0 0 18px;
  color: #FFFFFF;
  font-family: var(--sk-font-logo);
  font-size: clamp(2.5rem, 5.4vw, 4.9rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.site-footer__lead {
  max-width: 46ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  line-height: 1.6;
}

.site-footer__actions {
  display: grid;
  gap: 10px;
}

.site-footer .site-footer__email {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  margin: 0;
  border-radius: var(--sk-radius-xl);
  background: #FFFFFF;
  color: #12163A;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--sk-motion-fast), box-shadow var(--sk-motion-fast);
}

.site-footer .site-footer__email:hover {
  color: #12163A;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.site-footer__email-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--sk-brand-gradient);
  color: #FFFFFF;
  transition: transform var(--sk-motion-base) var(--sk-motion-easing);
}

.site-footer__email:hover .site-footer__email-arrow {
  transform: rotate(-45deg);
}

.site-footer__top-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-self: start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer__top-link span[aria-hidden] {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  transition: transform var(--sk-motion-base) var(--sk-motion-easing), background var(--sk-motion-fast);
}

.site-footer__top-link:hover {
  color: #FFFFFF;
}

.site-footer__top-link:hover span[aria-hidden] {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

/* Columns, re-skinned for the dark stage */
.site-footer .site-footer__grid {
  padding: clamp(28px, 3.5vw, 44px) 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-footer .site-footer__brand-block p,
.site-footer .site-footer__nav a,
.site-footer .site-footer__signup-link,
.site-footer .site-footer__languages a {
  color: rgba(255, 255, 255, 0.66);
}

.site-footer .brand__name,
.site-footer .site-footer__nav h2,
.site-footer .site-footer__access h2,
.site-footer .site-footer__languages h3 {
  color: #FFFFFF;
}

.site-footer .site-footer__nav h2,
.site-footer .site-footer__access h2 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.site-footer .site-footer__nav a,
.site-footer .site-footer__languages a {
  position: relative;
  transition: color var(--sk-motion-fast), transform var(--sk-motion-fast);
}

.site-footer .site-footer__nav a:hover,
.site-footer .site-footer__signup-link:hover,
.site-footer .site-footer__languages a:hover {
  color: #FFFFFF;
  text-decoration-color: #FDBB21;
  transform: translateX(3px);
}

.site-footer .site-footer__access-link {
  background: var(--sk-brand-gradient);
  box-shadow: 0 12px 30px rgba(111, 40, 217, 0.4);
}

.site-footer .site-footer__access-link:hover {
  background: var(--sk-brand-gradient);
  box-shadow: 0 16px 38px rgba(111, 40, 217, 0.55);
}

.site-footer .site-footer__languages {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.site-footer .site-footer__languages a[aria-current="page"] {
  color: #FDBB21;
}

.site-footer__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer__trust li,
.site-footer__trust a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--sk-radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
}

.site-footer__trust li:has(a) {
  padding: 0;
  border: 0;
  background: none;
}

.site-footer__trust a:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.site-footer__trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--trust-color, #A78BFA);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--trust-color, #A78BFA) 22%, transparent);
}

/* Brand watermark: official SeeU icons rising slowly behind the footer content. */
.site-footer__wordmark {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.site-footer__mark {
  position: absolute;
  bottom: -120px;
  left: var(--x, 50%);
  width: var(--s, 64px);
  height: var(--s, 64px);
  opacity: 0;
  animation: footer-mark-rise var(--dur, 28s) linear var(--delay, 0s) infinite;
}

.site-footer__mark:nth-child(1) {
  --x: 6%;
  --s: 72px;
  --delay: -0s;
  --dur: 26s;
}

.site-footer__mark:nth-child(2) {
  --x: 18%;
  --s: 44px;
  --delay: -7s;
  --dur: 31s;
}

.site-footer__mark:nth-child(3) {
  --x: 31%;
  --s: 96px;
  --delay: -13s;
  --dur: 24s;
}

.site-footer__mark:nth-child(4) {
  --x: 44%;
  --s: 56px;
  --delay: -3s;
  --dur: 34s;
}

.site-footer__mark:nth-child(5) {
  --x: 57%;
  --s: 84px;
  --delay: -17s;
  --dur: 28s;
}

.site-footer__mark:nth-child(6) {
  --x: 69%;
  --s: 48px;
  --delay: -10s;
  --dur: 33s;
}

.site-footer__mark:nth-child(7) {
  --x: 80%;
  --s: 104px;
  --delay: -21s;
  --dur: 25s;
}

.site-footer__mark:nth-child(8) {
  --x: 91%;
  --s: 60px;
  --delay: -5s;
  --dur: 30s;
}

.site-footer__mark:nth-child(9) {
  --x: 12%;
  --s: 40px;
  --delay: -24s;
  --dur: 36s;
}

@keyframes footer-mark-rise {
  0% { opacity: 0; transform: translateY(0) rotate(-8deg); }
  12% { opacity: 0.09; }
  80% { opacity: 0.07; }
  100% { opacity: 0; transform: translateY(-1500px) rotate(8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__mark {
    bottom: calc(var(--x) * 0.9);
    opacity: 0.06;
    animation: none;
  }
}

.site-footer__stage {
  padding-bottom: clamp(28px, 4vw, 48px);
}

.site-footer .brand__name {
  background: none;
  -webkit-text-fill-color: #FFFFFF;
}



/* Bottom bar additions */
.site-footer .site-footer__bottom {
  flex-wrap: wrap;
}

.site-footer__meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.76rem;
}

@media (max-width: 960px) {
  .site-footer__hello {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 700px) {


  .site-footer .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
    padding-inline: 0;
  }

  .site-footer .site-footer__brand-block,
  .site-footer .site-footer__access {
    grid-column: 1 / -1;
  }

  .site-footer .site-footer__nav:last-of-type {
    grid-column: 1 / -1;
  }

  .site-footer .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__art {
    animation: none !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .site-footer__stage {
    background: Canvas;
    color: CanvasText;
  }

  .site-footer__wordmark {
    display: none;
  }
}

/* ---------- "Next step" closes the content card (replaces the standalone CTA band) ---------- */
.detail-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 3vw, 36px);
  margin-top: clamp(28px, 4vw, 44px);
  border: 1px solid var(--sk-color-border-subtle);
  border-radius: var(--sk-radius-xxl);
  background:
    radial-gradient(ellipse 60% 120% at 100% 0%, rgba(43, 86, 232, 0.08), transparent 70%),
    linear-gradient(135deg, #F7F2FF, #FFFFFF);
}

.detail-next .eyebrow {
  margin-bottom: 8px;
}

.detail-next h2 {
  max-width: 640px;
  margin: 0;
  font-family: var(--sk-font-logo);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

@media (max-width: 760px) {
  .detail-next {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ---------- Photo heroes (SeeU night series) ----------
   The photo becomes the backdrop of the hero's right half, bleeding to the card edges
   and dissolving into the white surface behind the copy. */
.page-hero-section--photo {
  min-height: clamp(520px, 50vw, 700px);
}

.page-hero-section.page-hero-section--photo > .content,
.page-hero-section--photo .page-hero {
  position: static;
  display: grid;
  min-height: inherit;
  align-items: center;
}

.page-hero-section--photo .page-hero__copy {
  position: relative;
  z-index: 2;
}

.page-hero-section--photo .context-transition {
  z-index: 1;
}

.page-hero__art--photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 60%;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, rgba(0, 0, 0, 0.85) 38%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, rgba(0, 0, 0, 0.85) 38%, #000 55%);
}

.page-hero__art--photo::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.5) 100%),
    radial-gradient(ellipse 80% 70% at 70% 50%, transparent 40%, rgba(111, 40, 217, 0.18) 100%);
  content: "";
  pointer-events: none;
}

.page-hero__art--photo picture,
.page-hero__art--photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.page-hero__art--photo img {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(0.96);
  animation: page-photo-settle 1600ms var(--sk-motion-easing) both;
}

@keyframes page-photo-settle {
  from { opacity: 0; transform: scale(1.08); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .page-hero-section--photo {
    min-height: auto;
  }

  .page-hero-section.page-hero-section--photo > .content {
    min-height: auto;
    padding-top: clamp(220px, 58vw, 340px);
  }

  .page-hero__art--photo {
    bottom: auto;
    left: 0;
    width: 100%;
    height: clamp(260px, 70vw, 400px);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, rgba(0, 0, 0, 0.4) 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 45%, rgba(0, 0, 0, 0.4) 72%, transparent 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__art--photo img {
    animation: none;
  }
}

/* ---------- Footer spans the same width as every screen card ---------- */
.site-footer {
  padding: 0;
}

.site-footer .site-footer__shell {
  width: 100%;
  margin: 0;
}

.site-footer__stage,
.site-footer .site-footer__bottom {
  padding-inline: max(48px, calc((100% - var(--sk-breakpoint-content-max)) / 2));
}

.site-footer .site-footer__bottom {
  border-radius: var(--sk-radius-xxl);
}

@media (max-width: 1040px) {
  .site-footer__stage,
  .site-footer .site-footer__bottom {
    padding-inline: 28px;
  }
}

@media (max-width: 700px) {
  .site-footer__stage,
  .site-footer .site-footer__bottom {
    padding-inline: 18px;
  }
}

/* ---------- Final CTA: height follows its content ---------- */
.final-cta,
.final-cta__inner {
  min-height: auto;
}

.final-cta__inner {
  padding-block: clamp(64px, 9vw, 112px);
}

/* ---------- Auxiliary pages motion (same language as the home) ---------- */
.page-hero-section > .content {
  position: relative;
  z-index: 2;
}

.page-hero-section .context-particle {
  --particle-color: var(--sk-brand);
}

.aux-reveal-ready .aux-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.aux-reveal-ready .aux-reveal.is-visible {
  animation: context-card-reveal 620ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i, 0) * 90ms) both;
}

.detail-card.aux-reveal {
  transition: transform var(--sk-motion-base) var(--sk-motion-easing), box-shadow var(--sk-motion-base) var(--sk-motion-easing);
}

.detail-card.aux-reveal.is-visible:hover {
  box-shadow: var(--sk-shadow-highlight);
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .aux-reveal-ready .aux-reveal {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .page-hero-section .context-transition {
    display: none;
  }
}

/* ---------- Detail content section: calm cloud sky + the home's rising signals ---------- */
.detail-content-section.context-panel {
  background-color: #F6F4FE;
  background-image:
    radial-gradient(ellipse 42% 30% at 14% 16%, rgba(255, 255, 255, 0.95), transparent 72%),
    radial-gradient(ellipse 38% 26% at 82% 10%, rgba(201, 182, 255, 0.32), transparent 72%),
    radial-gradient(ellipse 52% 34% at 72% 58%, rgba(255, 255, 255, 0.9), transparent 72%),
    radial-gradient(ellipse 46% 32% at 18% 78%, rgba(173, 196, 255, 0.28), transparent 72%),
    radial-gradient(ellipse 64% 40% at 50% 104%, rgba(255, 255, 255, 0.9), transparent 72%),
    linear-gradient(180deg, #EAE3FF 0%, #E6EDFF 55%, #F1EEFE 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* slow-drifting cloud layer */
.detail-content-section.context-panel::before {
  position: absolute;
  inset: -10% -15%;
  z-index: 0;
  background:
    radial-gradient(ellipse 18% 9% at 20% 22%, #FFFFFF, transparent 70%),
    radial-gradient(ellipse 14% 7% at 26% 26%, rgba(255, 255, 255, 0.7), transparent 70%),
    radial-gradient(ellipse 20% 10% at 74% 38%, #FFFFFF, transparent 70%),
    radial-gradient(ellipse 13% 7% at 66% 42%, rgba(255, 255, 255, 0.65), transparent 70%),
    radial-gradient(ellipse 22% 11% at 34% 70%, #FFFFFF, transparent 70%),
    radial-gradient(ellipse 16% 8% at 84% 84%, rgba(255, 255, 255, 0.7), transparent 70%);
  content: "";
  filter: blur(10px);
  opacity: 1;
  pointer-events: none;
  animation: detail-clouds-drift 48s ease-in-out infinite alternate;
}

.detail-content-section.context-panel .context-transition {
  z-index: 1;
}

@keyframes detail-clouds-drift {
  from { transform: translate3d(-3%, 0, 0); }
  to { transform: translate3d(3%, -1.5%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .detail-content-section.context-panel::before {
    animation: none;
  }
}

/* ---------- SeeU logo rising with the signals and turning into bits ("S" = 01010011) ---------- */
.context-mark {
  --mark-delay: 3200ms;
  --mark-drift: 16px;
  position: absolute;
  inset-block: 0;
  left: 9%;
  width: 52px;
  opacity: 0;
}

.context-mark--center {
  --mark-delay: 2600ms;
  --mark-drift: -14px;
  left: 50%;
}

.context-mark--right {
  --mark-delay: 4100ms;
  --mark-drift: -18px;
  left: 91%;
}

.context-mark__payload {
  position: absolute;
  bottom: 3%;
  left: 50%;
  display: grid;
  min-width: 104px;
  place-items: center;
  transform: translateX(-50%);
}

.context-mark__logo,
.context-mark__bits {
  grid-area: 1 / 1;
}

.context-mark__logo {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 6px 14px rgba(111, 40, 217, 0.25));
}

.context-mark__bits {
  background: var(--sk-brand-gradient);
  background-clip: text;
  color: transparent;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  opacity: 0;
  white-space: nowrap;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.context-panel--reveal-ready.is-visible .context-mark {
  animation: context-mark-rise 7.2s var(--mark-delay) cubic-bezier(0.3, 0, 0.25, 1) infinite both;
}

.context-panel--reveal-ready.is-visible .context-mark__logo {
  animation: context-shape-dissolve 7.2s var(--mark-delay) ease-in-out infinite both;
}

.context-panel--reveal-ready.is-visible .context-mark__bits {
  animation: context-bits-form 7.2s var(--mark-delay) ease-out infinite both;
}

@keyframes context-mark-rise {
  0% { opacity: 0; transform: translate3d(0, 4%, 0); }
  10% { opacity: 0.55; }
  86% { opacity: 0.62; }
  100% { opacity: 0; transform: translate3d(var(--mark-drift), -92%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .context-mark {
    display: none;
  }
}

/* ---------- Compact language menu (globe + code) ---------- */
.language-menu {
  position: relative;
  flex: none;
}

.language-menu summary {
  display: inline-flex;
  min-height: var(--sk-size-target-min);
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--sk-radius-pill);
  color: var(--sk-color-text-secondary);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  list-style: none;
  transition: background var(--sk-motion-fast), color var(--sk-motion-fast), border-color var(--sk-motion-fast);
  user-select: none;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary:hover,
.language-menu[open] summary {
  border-color: var(--sk-color-border-subtle);
  background: rgba(111, 40, 217, 0.06);
  color: var(--sk-brand);
}

.language-menu__globe {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.language-menu__caret {
  width: 6px;
  height: 6px;
  margin-left: 2px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--sk-motion-fast);
}

.language-menu[open] .language-menu__caret {
  transform: translateY(1px) rotate(-135deg);
}

.language-menu__list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  display: grid;
  min-width: 196px;
  padding: 6px;
  border: 1px solid var(--sk-color-border-subtle);
  border-radius: var(--sk-radius-card);
  background: var(--sk-color-surface);
  box-shadow: 0 18px 40px rgba(18, 22, 58, 0.14);
}

.language-menu__list a {
  display: flex;
  min-height: var(--sk-size-target-min);
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-radius: var(--sk-radius-control);
  color: var(--sk-color-text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.language-menu__list a:hover {
  background: var(--sk-color-surface-subtle);
}

.language-menu__list a[aria-current="page"] {
  color: var(--sk-brand);
  font-weight: 750;
}

.language-menu__check {
  width: 14px;
  visibility: hidden;
}

.language-menu__list a[aria-current="page"] .language-menu__check {
  visibility: visible;
}

/* the auxiliary header card must not clip the open menu */
.detail-site-header {
  z-index: 5;
  overflow: visible;
}

/* light variant over the dark home hero */
.hero .language-menu summary {
  color: rgba(255, 255, 255, 0.86);
}

.hero .language-menu summary:hover,
.hero .language-menu[open] summary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

/* keep the auxiliary header tidy at medium widths */
.detail-site-header__inner .brand {
  flex: none;
}

/* "Voltar à página inicial" as a discreet text link in the auxiliary header */
.detail-site-header__inner .pill-link {
  flex: none;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--sk-color-text-secondary);
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
}

.detail-site-header__inner .pill-link::before {
  content: "←";
  font-size: 0.95rem;
  line-height: 1;
}

.detail-site-header__inner .pill-link:hover {
  border-color: var(--sk-color-border-subtle);
  background: rgba(111, 40, 217, 0.06);
  color: var(--sk-brand);
  transform: none;
}
