/* ============================================================
   Courtier IA — Design System
   Light · Teal · Soft glass · Motion
   ============================================================ */

:root {
  --bg-deep: #ffffff;
  --bg: #f7fafc;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-glass: rgba(15, 33, 56, 0.04);
  --border: rgba(15, 33, 56, 0.08);
  --border-strong: rgba(15, 33, 56, 0.14);
  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --teal: #0d9488;
  --teal-bright: #0f766e;
  --cyan: #0891b2;
  --blue: #2563eb;
  --navy: #0f2744;
  --gold: #b45309;
  --gold-soft: rgba(180, 83, 9, 0.1);
  --gradient-brand: linear-gradient(135deg, #0284c7 0%, #0d9488 50%, #14b8a6 100%);
  --gradient-hero: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(20, 184, 166, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 15%, rgba(37, 99, 235, 0.08), transparent 50%),
    radial-gradient(ellipse 40% 30% at 10% 70%, rgba(180, 83, 9, 0.05), transparent 45%);
  --shadow-glow: 0 12px 40px rgba(13, 148, 136, 0.12);
  --shadow-card: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 4px 16px rgba(15, 23, 42, 0.06);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --nav-h: 76px;
  --section-y: 100px; /* equal vertical space above & below every section */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
  --on-brand: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(20, 184, 166, 0.08) 0%, transparent 42%),
    radial-gradient(circle at 85% 75%, rgba(37, 99, 235, 0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Language switching — hide inactive language spans */
html[lang="fr"] [data-lang="en"],
html[lang="en"] [data-lang="fr"] { display: none !important; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--teal);
  color: var(--on-brand);
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ========== NAV ========== */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s, border-color 0.35s, box-shadow 0.35s;
  border-bottom: 1px solid transparent;
}

.nav-wrap.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  height: 60px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.footer-brand img {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.brand-text {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-text span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
  background: var(--bg-glass);
  outline: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-pill {
  display: flex;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.lang-pill button {
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  border-radius: var(--radius-pill);
  transition: all 0.2s;
}

.lang-pill button.active {
  background: var(--gradient-brand);
  color: var(--on-brand);
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.3);
}

.lang-pill button:hover:not(.active) { color: var(--text); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--on-brand);
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(13, 148, 136, 0.38);
}

.btn-primary svg { transition: transform 0.25s var(--ease); }
.btn-purchase:hover svg { transform: scale(1.08); }

.btn-purchase {
  gap: 10px;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(13, 148, 136, 0.06);
  border-color: var(--teal);
  color: var(--teal);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ========== EYEBROW ========== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 39, 68, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 39, 68, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  z-index: 0;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: float-orb 18s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: rgba(20, 184, 166, 0.18);
  top: 10%;
  left: -5%;
}

.orb-2 {
  width: 360px;
  height: 360px;
  background: rgba(37, 99, 235, 0.12);
  top: 30%;
  right: -8%;
  animation-delay: -6s;
}

.orb-3 {
  width: 280px;
  height: 280px;
  background: rgba(180, 83, 9, 0.08);
  bottom: 5%;
  left: 40%;
  animation-delay: -12s;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy .eyebrow { margin-bottom: 20px; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: italic;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 48ch;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-stat .n {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stat .l {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone {
  width: min(100%, 320px);
  aspect-ratio: 9 / 17.5;
  background: linear-gradient(165deg, #1a2d45 0%, #0c1a2e 100%);
  border-radius: 40px;
  border: 2px solid rgba(15, 39, 68, 0.2);
  box-shadow:
    var(--shadow-glow),
    0 28px 60px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  padding: 18px 14px 20px;
  color: #e2e8f0;
}

.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #050b14;
  border-radius: 20px;
  z-index: 5;
}

.phone-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.35), transparent 70%);
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(20px);
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

.phone-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 12px 16px;
  position: relative;
  z-index: 2;
}

.call-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #5eead4;
  margin-bottom: 28px;
}

.call-status .live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot 1.5s infinite;
}

.voice-orb {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #5eead4, #0d9488 45%, #134e4a 100%);
  box-shadow:
    0 0 40px rgba(20, 184, 166, 0.5),
    0 0 80px rgba(20, 184, 166, 0.2),
    inset 0 -10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  margin-bottom: 28px;
  animation: orb-breathe 2.5s ease-in-out infinite;
}

.voice-orb::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(45, 212, 191, 0.3);
  animation: ring-expand 2.5s ease-out infinite;
}

@keyframes orb-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes ring-expand {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 48px;
  margin-bottom: 24px;
}

.waveform span {
  width: 3px;
  border-radius: 3px;
  background: var(--gradient-brand);
  animation: wave 1.1s ease-in-out infinite;
}

.waveform span:nth-child(1) { height: 12px; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 22px; animation-delay: 0.1s; }
.waveform span:nth-child(3) { height: 36px; animation-delay: 0.2s; }
.waveform span:nth-child(4) { height: 28px; animation-delay: 0.3s; }
.waveform span:nth-child(5) { height: 40px; animation-delay: 0.15s; }
.waveform span:nth-child(6) { height: 24px; animation-delay: 0.25s; }
.waveform span:nth-child(7) { height: 32px; animation-delay: 0.05s; }
.waveform span:nth-child(8) { height: 18px; animation-delay: 0.35s; }
.waveform span:nth-child(9) { height: 28px; animation-delay: 0.12s; }
.waveform span:nth-child(10) { height: 14px; animation-delay: 0.28s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.5); opacity: 0.6; }
  50% { transform: scaleY(1.2); opacity: 1; }
}

.phone-caption {
  text-align: center;
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
  padding: 0 8px;
  flex: 1;
}

.phone-footer {
  font-size: 0.7rem;
  color: #64748b;
  letter-spacing: 0.04em;
  margin-top: auto;
  padding-top: 16px;
}

/* Floating badges around phone */
.float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-card);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float-badge 5s ease-in-out infinite;
  z-index: 3;
}

.float-badge .icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold);
  flex-shrink: 0;
}

.float-badge .icon.teal {
  background: rgba(13, 148, 136, 0.12);
  color: var(--teal);
}

.float-badge .sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-dim);
  margin-top: 2px;
}

.badge-1 { top: 12%; left: -8%; animation-delay: 0s; }
.badge-2 { bottom: 22%; right: -12%; animation-delay: -2.5s; }

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========== SECTIONS ========== */
section {
  position: relative;
  padding-block: var(--section-y);
  z-index: 1;
}

/* Hero keeps its own top offset for the fixed nav; bottom matches other sections */
section.hero {
  padding-block: calc(var(--nav-h) + var(--section-y)) var(--section-y);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head .eyebrow {
  justify-content: center;
  margin-bottom: 16px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-head h2 em {
  font-style: italic;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* In-section CTA — same offset as section-head bottom rhythm */
.section-cta {
  text-align: center;
  margin-top: 56px;
}

/* ========== VALUE CARDS ========== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.35s;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 148, 136, 0.28);
  box-shadow: var(--shadow-glow);
}

.value-card:hover::before { opacity: 1; }

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(37, 99, 235, 0.1));
  border: 1px solid rgba(13, 148, 136, 0.2);
  color: var(--teal);
}

.value-card h3 {
  font-size: 1.2rem;
  font-weight: 650;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ========== HOW IT WORKS ========== */
.how {
  background: linear-gradient(180deg, transparent, rgba(13, 148, 136, 0.05), transparent);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: 20px;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient-brand);
  color: var(--on-brand);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.28);
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 650;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.step-connector {
  display: none;
}

/* ========== INDUSTRIES ========== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-card {
  position: relative;
  padding: 40px 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: var(--shadow-glow);
}

.industry-card .glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.18;
  pointer-events: none;
  top: -40px;
  right: -40px;
}

.industry-card.mortgage .glow { background: #3b82f6; }
.industry-card.realestate .glow { background: #14b8a6; }
.industry-card.insurance .glow { background: #b45309; }

.industry-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
}

.industry-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 14px;
}

.industry-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.65;
}

.industry-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.industry-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.industry-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--teal);
}

/* ========== DEMO / WATCH ========== */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.demo-panel {
  background: linear-gradient(160deg, #ffffff, #f0fdfa);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.demo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(13, 148, 136, 0.08), transparent 60%);
  pointer-events: none;
}

.demo-transcript {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
}

.bubble {
  max-width: 90%;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  animation: fade-up 0.5s var(--ease) both;
}

.bubble.ai {
  align-self: flex-start;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-bottom-left-radius: 6px;
  color: var(--text);
}

.bubble.user {
  align-self: flex-end;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-bottom-right-radius: 6px;
  color: var(--text);
}

.bubble .who {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0.85;
}

.bubble.ai .who { color: var(--teal); }
.bubble.user .who { color: var(--blue); }

.bubble:nth-child(1) { animation-delay: 0.1s; }
.bubble:nth-child(2) { animation-delay: 0.35s; }
.bubble:nth-child(3) { animation-delay: 0.6s; }
.bubble:nth-child(4) { animation-delay: 0.85s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.demo-step {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-glass);
  transition: border-color 0.3s, background 0.3s;
}

.demo-step:hover {
  border-color: rgba(13, 148, 136, 0.3);
  background: rgba(13, 148, 136, 0.06);
}

.demo-step .n {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(37, 99, 235, 0.1));
  color: var(--teal);
}

.demo-step h4 {
  font-size: 1rem;
  font-weight: 650;
  margin-bottom: 4px;
}

.demo-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.demo-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.kpi {
  text-align: center;
  padding: 18px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
}

.kpi .v {
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}

.kpi .l {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ========== COMPLIANCE ========== */
.compliance-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 36px 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(180, 83, 9, 0.2);
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.06), #ffffff 55%);
  box-shadow: var(--shadow-soft);
}

.compliance-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(180, 83, 9, 0.22);
}

.compliance-banner h3 {
  font-size: 1.25rem;
  font-weight: 650;
  margin-bottom: 8px;
}

.compliance-banner p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 62ch;
}

/* ========== PIPELINE ========== */
.pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pipe-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.pipe-card + .pipe-card::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  opacity: 0.4;
}

.pipe-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  background: var(--gradient-brand);
  color: var(--on-brand);
}

.pipe-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.pipe-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ========== PRICING / SERVICES ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: var(--shadow-glow);
}

.pricing-card.featured {
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 40%);
}

.pricing-card.selected {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18), var(--shadow-glow);
}

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gradient-brand);
  color: var(--on-brand);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.pricing-top {
  margin-bottom: 24px;
}

.pricing-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  margin-bottom: 14px;
}

.pricing-badge.accent {
  border-color: rgba(13, 148, 136, 0.35);
  color: var(--teal);
  background: rgba(13, 148, 136, 0.08);
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--navy);
}

.pricing-tagline {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.pricing-features li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--teal);
}

.pricing-features li strong {
  color: var(--text);
  font-weight: 650;
}

.pricing-buy {
  width: 100%;
  margin-top: auto;
}

/* ========== PLAN MODAL ========== */
.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.plan-modal[hidden] { display: none; }

.plan-modal-backdrop {
  position: absolute;
  top: var(--nav-h); /* laisse le menu du haut net, non flouté */
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 10, 20, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: modal-fade-in 0.25s ease both;
}

.plan-modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-card);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
  padding: 40px 32px 32px;
  animation: modal-pop-in 0.3s var(--ease) both;
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-pop-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.plan-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-glass);
  color: var(--text-dim);
  transition: background 0.2s, color 0.2s;
}

.plan-modal-close:hover { background: rgba(13, 148, 136, 0.12); color: var(--teal); }

.plan-modal-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--navy);
  margin-top: 12px;
  margin-bottom: 6px;
}

.plan-modal-tagline {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

.plan-modal-seats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-glass);
  margin-bottom: 18px;
}

.plan-modal-seats[hidden] { display: none; }

.plan-modal-seats-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.plan-modal-stepper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.plan-modal-step-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  font-size: 1.1rem;
  line-height: 1;
  display: grid;
  place-items: center;
  color: var(--text);
  transition: border-color 0.2s, color 0.2s;
}

.plan-modal-step-btn:hover { border-color: var(--teal); color: var(--teal); }
.plan-modal-step-btn:disabled { opacity: 0.35; cursor: not-allowed; }

#planModalSeatsValue {
  min-width: 20px;
  text-align: center;
  font-weight: 700;
}

.plan-modal-price {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
}

.plan-modal-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.plan-modal-price-row + .plan-modal-price-row {
  border-top: 1px solid var(--border);
  background: rgba(13, 148, 136, 0.05);
}

.plan-modal-price-row[hidden] { display: none; }

.plan-modal-price-row strong {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 700;
}

.plan-modal-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.plan-modal-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan-modal-features li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-modal-cta {
  width: 100%;
  margin-bottom: 12px;
}

.plan-modal-fineprint {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ---- Registration form (data collection step) ---- */
.plan-modal-form[hidden] { display: none; }

.plan-modal-form .plan-modal-title { margin-bottom: 4px; }
.plan-modal-form .plan-modal-tagline { margin-bottom: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field { margin-bottom: 14px; }

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-field label em {
  font-style: normal;
  color: var(--gold);
}

.form-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-card);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-field input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.14);
}

.form-field input:invalid:not(:placeholder-shown) { border-color: #dc2626; }

.plan-modal-terms-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin: 18px 0 8px;
}

.plan-modal-terms-label a {
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--teal-bright);
}

.plan-modal-terms {
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  padding: 16px 18px;
  margin-bottom: 16px;
}

.plan-modal-terms p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.plan-modal-terms strong { color: var(--text); }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
  cursor: pointer;
}

.form-check span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-check a {
  color: var(--teal-bright);
  font-weight: 600;
  text-decoration: underline;
}

.plan-modal-cta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.plan-modal-back {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 8px;
}
.plan-modal-back:hover { color: var(--teal); }

.plan-modal-confirm {
  text-align: center;
  padding: 12px 4px 4px;
}

.plan-modal-confirm[hidden] { display: none; }

.plan-modal-confirm-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(13, 148, 136, 0.12);
  color: var(--teal);
}

.plan-modal-confirm h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 10px;
}

.plan-modal-confirm p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

@media (max-width: 480px) {
  .plan-modal-box { padding: 32px 22px 24px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .plan-modal-backdrop, .plan-modal-box { animation: none; }
}

/* ========== CTA FINAL ========== */
.cta-card {
  text-align: center;
  padding: 72px 40px;
  border-radius: 28px;
  border: 1px solid rgba(13, 148, 136, 0.22);
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(13, 148, 136, 0.12), transparent 55%),
    linear-gradient(180deg, #ffffff, #f0fdfa);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.cta-card .eyebrow {
  justify-content: center;
  margin-bottom: 16px;
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-card h2 em {
  font-style: italic;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-card > p {
  color: var(--text-muted);
  max-width: 48ch;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ========== FOOTER ========== */
.footer {
  border-top: 1px solid var(--border);
  padding-block: var(--section-y);
  position: relative;
  z-index: 1;
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 28ch;
}

.footer h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--teal); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--text-muted);
}
.footer-bottom a:hover { color: var(--teal); }

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ========== MOBILE NAV ========== */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  padding: 20px;
  z-index: 999;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav a {
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.mobile-nav a:hover {
  background: var(--bg-glass);
  color: var(--text);
}

.mobile-nav .btn {
  margin-top: 8px;
  width: 100%;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy .eyebrow { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .float-badge { display: none; }

  .demo-grid {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }

  .nav-links { display: none; }
  .nav-right .btn-primary { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: flex; }

  .brand img { height: 45px; }

  .value-grid,
  .steps,
  .industries-grid,
  .pipeline,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    order: -1;
  }

  .pipe-card + .pipe-card::before { display: none; }

  .compliance-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 24px;
  }

  .compliance-icon { margin-inline: auto; }

  .demo-kpis { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .cta-card { padding: 48px 24px; }

  :root { --section-y: 72px; }

  .hero,
  section.hero {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .container { width: min(100% - 28px, var(--container)); }
  .hero-stats { gap: 16px; flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ========== LEGAL PAGE (Terms / Conditions) ========== */
.legal-page {
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 100px;
}

.legal-print-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.legal-back {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}
.legal-back:hover { color: var(--teal); }

.btn-print { padding: 12px 20px; font-size: 0.9rem; }

.legal-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.legal-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.legal-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-style: italic;
}

.legal-body {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 48px clamp(24px, 5vw, 56px);
}

.legal-body p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  margin: 40px 0 16px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.legal-body h2:first-of-type { margin-top: 8px; border-top: none; padding-top: 0; }

.legal-body ol {
  list-style: none;
  counter-reset: legal-item;
  margin-bottom: 18px;
}

.legal-body ol li {
  counter-increment: legal-item;
  position: relative;
  padding-left: 32px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-body ol li::before {
  content: counter(legal-item) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--teal-bright);
}

.legal-body strong { color: var(--text); }

.legal-downloads {
  max-width: 760px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.legal-downloads a {
  color: var(--teal-bright);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .legal-body { padding: 32px 20px; }
}

/* ---- Print ---- */
@media print {
  .no-print { display: none !important; }
  body::before { display: none !important; }
  .legal-page { padding-top: 0; }
  .legal-body {
    border: none;
    box-shadow: none;
    padding: 0;
    max-width: none;
  }
  .legal-body h2 { border-top: none; }
  a { text-decoration: none; color: inherit; }
}
