body.ai-version {
  background-attachment: fixed;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 360px;
  flex-shrink: 0;
}

.brand-logo img {
  width: auto;
  max-width: 100%;
  height: 70px;
  object-fit: contain;
}

.logo-switcher {
  display: grid;
  gap: 0.25rem;
  align-items: center;
  justify-items: start;
}

.logo-switcher-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.logo-set-buttons,
.logo-index-buttons {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.logo-btn {
  border: 1px solid rgba(0, 58, 49, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.32rem 0.58rem;
  cursor: pointer;
}

.logo-btn:hover,
.logo-btn:focus-visible {
  color: var(--ink);
  border-color: rgba(0, 58, 49, 0.42);
}

.logo-btn.is-active {
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
  border-color: transparent;
  color: #f3fbf8;
}

.floating-logo-switcher {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 60;
  border: 1px solid rgba(0, 58, 49, 0.22);
  border-radius: 14px;
  background: rgba(245, 250, 247, 0.9);
  backdrop-filter: blur(9px);
  box-shadow: 0 14px 35px rgba(7, 28, 22, 0.12);
  padding: 0.5rem 0.6rem;
}

body.ai-grok {
  background:
    radial-gradient(circle at 10% 4%, rgba(159, 221, 196, 0.35) 0%, transparent 36%),
    radial-gradient(circle at 96% 2%, rgba(246, 206, 170, 0.34) 0%, transparent 32%),
    var(--bg);
}

body.ai-nano {
  background:
    radial-gradient(circle at 6% 0%, rgba(114, 146, 180, 0.24) 0%, transparent 36%),
    radial-gradient(circle at 100% 8%, rgba(141, 174, 160, 0.24) 0%, transparent 34%),
    var(--bg);
}

.hero-with-image {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
}

.section-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
}

.section-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-soft);
  min-height: 220px;
}

.section-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-media-wide {
  margin-top: 1rem;
  min-height: 260px;
}

.section-media-wide img {
  aspect-ratio: 16 / 9;
}

.ai-version .cta.section-split {
  grid-template-columns: 1fr 0.85fr;
}

.ai-version .cta .section-media {
  border-color: rgba(218, 245, 233, 0.28);
  background: rgba(13, 34, 28, 0.45);
}

.ai-version .cta .section-media img {
  opacity: 0.92;
}

@media (max-width: 960px) {
  .hero-with-image,
  .section-split,
  .ai-version .cta.section-split {
    grid-template-columns: 1fr;
  }

  .floating-logo-switcher {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    transform: none;
    width: auto;
  }

  .logo-switcher {
    width: 100%;
    justify-items: flex-start;
  }

  .section-media {
    min-height: 210px;
  }
}
