/* EnnovaBuzz Signature - October 2026
 * Final brand typography guardrails + durable legal/privacy presentation.
 */

/* The supplied local DM Sans files expose a continuous 100-1000 weight axis
 * but are a fixed 9pt optical-size web build. Do not ask the browser to invent
 * an optical-size axis that is not present. */
body.eb-theme.eb-fonts-local {
  font-optical-sizing: none;
}

/* Playfair remains the editorial display authority. */
body.eb-theme:not(.elementor-editor-active) h1,
body.eb-theme:not(.elementor-editor-active) h2,
body.eb-theme:not(.elementor-editor-active) h3,
body.eb-theme:not(.elementor-editor-active) h4,
body.eb-theme:not(.elementor-editor-active) .eb-hero__title,
body.eb-theme:not(.elementor-editor-active) .eb-page-hero__title,
body.eb-theme:not(.elementor-editor-active) .eb-launch-hero__title {
  font-family: var(--eb-font-display) !important;
  font-synthesis: none;
}

body.eb-theme.eb-fonts-local:not(.elementor-editor-active) h1,
body.eb-theme.eb-fonts-local:not(.elementor-editor-active) h2,
body.eb-theme.eb-fonts-local:not(.elementor-editor-active) .eb-hero__title,
body.eb-theme.eb-fonts-local:not(.elementor-editor-active) .eb-page-hero__title,
body.eb-theme.eb-fonts-local:not(.elementor-editor-active) .eb-launch-hero__title {
  font-weight: 900 !important;
  font-optical-sizing: auto;
}

/* Legal/privacy pages: compact institutional polish without changing brand. */
.eb-policy-stamp {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(23, 18, 42, .09);
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  color: var(--eb-ink-70);
  font-size: .86rem;
  line-height: 1.45;
}

.eb-policy-stamp strong {
  color: var(--eb-ink);
  font-weight: 750;
}

.eb-policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.eb-policy-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(58, 28, 207, .13);
  border-radius: 999px;
  background: rgba(243,239,255,.5);
  color: var(--eb-ink);
  font-size: .86rem;
  font-weight: 720;
  text-decoration: none;
}

.eb-policy-nav a:hover,
.eb-policy-nav a:focus-visible,
.eb-policy-nav a[aria-current="page"] {
  border-color: rgba(58, 28, 207, .35);
  background: rgba(58,28,207,.09);
  color: var(--eb-purple);
}

.eb-policy-toc {
  margin: 0 0 22px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(243,239,255,.62), rgba(255,255,255,.86));
  border: 1px solid rgba(58,28,207,.09);
}

.eb-policy-toc > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--eb-ink);
  font-size: .92rem;
  font-weight: 820;
}

.eb-policy-toc ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eb-policy-toc a {
  color: var(--eb-purple);
  font-size: .9rem;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.eb-legal-callout {
  margin: 10px 0 20px;
  padding: 18px 20px;
  border-left: 4px solid var(--eb-coral);
  border-radius: 0 18px 18px 0;
  background: rgba(255,79,109,.055);
}

.eb-legal-callout--purple {
  border-left-color: var(--eb-purple);
  background: rgba(58,28,207,.055);
}

.eb-legal-callout p:last-child,
.eb-legal-callout ul:last-child {
  margin-bottom: 0 !important;
}

.eb-legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 18px;
}

.eb-legal-card {
  padding: 16px;
  border: 1px solid rgba(23,18,42,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.76);
}

.eb-legal-card h3 {
  margin: 0 0 6px !important;
  color: var(--eb-ink) !important;
  font-family: var(--eb-font-body) !important;
  font-size: .95rem !important;
  font-weight: 820 !important;
  letter-spacing: -.01em !important;
  line-height: 1.25 !important;
}

.eb-legal-card p,
.eb-legal-card li {
  font-size: .91rem !important;
  line-height: 1.55 !important;
}

.eb-legal-card p:last-child,
.eb-legal-card ul:last-child {
  margin-bottom: 0 !important;
}

.eb-cookie-inventory {
  display: grid;
  gap: 10px;
  margin: 10px 0 20px;
}

.eb-cookie-item {
  padding: 16px 18px;
  border: 1px solid rgba(23,18,42,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.8);
}

.eb-cookie-item__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.eb-cookie-item__head strong {
  color: var(--eb-ink);
  font-weight: 850;
}

.eb-cookie-item__badge {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(58,28,207,.08);
  color: var(--eb-purple);
  font-size: .74rem;
  font-weight: 800;
}

.eb-legal__body h2[id] {
  scroll-margin-top: 110px;
}

.eb-legal__body h3 {
  margin: 1rem 0 .35rem;
  color: var(--eb-ink);
  font-family: var(--eb-font-body) !important;
  font-size: 1rem;
  font-weight: 820;
}

.eb-legal__body a:not(.eb-btn) {
  text-underline-offset: 3px;
}

.eb-legal__body ul,
.eb-legal__body ol {
  margin-top: .25rem;
  margin-bottom: .85rem;
  padding-left: 1.35rem;
}

@media (max-width: 700px) {
  .eb-policy-toc ul,
  .eb-legal-grid {
    grid-template-columns: 1fr;
  }

  .eb-policy-nav a {
    min-height: 44px;
  }

  .eb-cookie-item__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}
