/* LeadFollow — Site vitrine entry */

@import url("tokens.css");
@import url("components.css");
@import url("sections.css");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Background mesh */
.bgMesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bgMesh::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: radial-gradient(circle at 1px 1px, rgba(43, 108, 190, 0.04) 1px, transparent 0);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 65%);
}

.bgMesh__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
}

.bgMesh__orb--1 {
  width: 320px;
  height: 320px;
  top: -100px;
  left: -80px;
  background: var(--primary);
  opacity: 0.1;
}

.bgMesh__orb--2 {
  width: 240px;
  height: 240px;
  bottom: 15%;
  right: -60px;
  background: var(--primary-dark);
  opacity: 0.08;
}

.bgMesh__orb--3 {
  width: 200px;
  height: 200px;
  top: 40%;
  left: 45%;
  background: var(--primary-light);
  opacity: 0.6;
}

.page {
  position: relative;
  z-index: 1;
}

/* Legal pages */
.legalPage {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px var(--page-x);
  line-height: 1.65;
}

.legalPage h1 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legalPage h2 {
  margin-top: 2rem;
  font-size: 1.15rem;
}

.legalNav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px var(--page-x);
  border-bottom: 1px solid var(--border-subtle);
}

.legalNav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 15px;
}

.legalNav__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.legalNav__back {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.legalNav__back:hover {
  text-decoration: underline;
}

.footer__link {
  color: var(--primary);
  text-decoration: none;
}

.footer__link:hover {
  text-decoration: underline;
}
