/* CMO landing overrides — dark Acerbo family (landing.acerbo.ai) */
:root {
  --cmo-header-offset: 4.5rem;
}

html {
  scroll-padding-top: calc(var(--cmo-header-offset) + 0.75rem);
}

/* Sticky header must not cover hero headline */
.cluster-hero,
.home-hero {
  padding-top: calc(var(--cmo-header-offset) + 2.5rem);
  scroll-margin-top: var(--cmo-header-offset);
}

@media (min-width: 768px) {
  :root {
    --cmo-header-offset: 5rem;
  }
  .cluster-hero,
  .home-hero {
    padding-top: calc(var(--cmo-header-offset) + 3.25rem);
  }
}

.home-hero {
  position: relative;
  min-height: min(88vh, 44rem);
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(125, 224, 230, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(122, 90, 168, 0.12), transparent 50%),
    linear-gradient(180deg, #0a0a14 0%, #0c0c1a 50%, #0a0a14 100%);
  overflow: hidden;
}

.home-hero .container-narrow {
  position: relative;
  z-index: 1;
}

.home-hero .hero-proof {
  display: block;
  margin-top: 1.25rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  max-width: 36rem;
}

.home-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
  align-items: center;
}

.home-hero .btn-secondary-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.home-hero .btn-secondary-link:hover {
  color: #fff;
}

.offer-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .offer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.offer-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem 1.35rem;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .offer-card:hover {
    border-color: rgba(125, 224, 230, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  }
}

.offer-card .price {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 500;
}

.offer-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.offer-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}

.offer-card .offer-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.5rem;
}

.offer-card .offer-link:hover {
  text-decoration: underline;
}

.offer-vat {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.method-stack {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-left: 2px solid var(--accent);
  background: rgba(125, 224, 230, 0.06);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Solid non-gradient CTA backgrounds */
.cluster-cta,
.cmo-cta-band {
  background: #12121f !important;
  background-image: none !important;
}

.faq-item details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  color: #fff;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item details[open] summary {
  color: var(--accent);
}

.faq-item details p {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.8rem;
}

.lang-switcher a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.lang-switcher a.active,
.lang-switcher a:hover {
  color: var(--accent);
}

.lang-sep {
  color: rgba(255, 255, 255, 0.35);
}

/* Cookie banner: keep clear of hero proof on desktop */
@media (min-width: 768px) {
  .acerbo-cookie-banner {
    max-width: min(28rem, calc(100vw - 2.5rem));
    left: auto !important;
    right: 1.25rem !important;
    bottom: 1.25rem !important;
  }
}

.footer-links a {
  white-space: nowrap;
}

.legal-page,
.page-main {
  padding-top: calc(var(--cmo-header-offset) + 2rem);
  padding-bottom: 4rem;
}

.caps-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.caps-list li {
  margin-bottom: 0.4rem;
}

.setup-callout {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  background: #1a1a2a;
  border: 1px solid rgba(232, 165, 92, 0.35);
  border-radius: 0.5rem;
}

.setup-callout strong {
  color: var(--accent-amber);
}
