/* Approved OpenDesign whitepaper styles; loaded only on /livre-blanc/. */
:root {
      --bg: oklch(0.9842 0.0034 247.86);
      --surface: oklch(1 0 0);
      --fg: oklch(0.1675 0.0427 245.62);
      --muted: oklch(0.5193 0.0283 242.74);
      --border: oklch(0.9077 0.0127 236.64);
      --accent: oklch(0.8835 0.1857 129.74);

      --accent-soft: color-mix(in oklch, var(--accent) 18%, var(--surface));
      --fg-soft: color-mix(in oklch, var(--fg) 5%, var(--surface));
      --ice: color-mix(in oklch, var(--fg) 3%, var(--surface));
      --font-display: "Poppins", sans-serif;
      --font-body: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
      --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
      --fs-h1: clamp(38px, 4.7vw, 68px);
      --fs-h2: clamp(32px, 4vw, 52px);
      --fs-h3: 20px;
      --fs-lead: clamp(17px, 1.45vw, 20px);
      --fs-body: 16px;
      --fs-meta: 11px;
      --gap-xs: 8px;
      --gap-sm: 12px;
      --gap-md: 20px;
      --gap-lg: 32px;
      --gap-xl: 56px;
      --gap-2xl: 96px;
      --container: 1240px;
      --gutter: clamp(20px, 4vw, 48px);
      --radius: 8px;
      --radius-lg: 8px;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
    body {
      margin: 0;
      overflow-x: hidden;
      background: var(--bg);
      color: var(--fg);
      font-family: var(--font-body);
      font-size: var(--fs-body);
      line-height: 1.55;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
    }
    img, svg { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }
    button, input, select { font: inherit; }
    button { cursor: pointer; }
    p { text-wrap: pretty; }
    h1, h2, h3 { text-wrap: balance; }
    :focus-visible { outline: 3px solid color-mix(in oklch, var(--accent) 64%, var(--fg)); outline-offset: 4px; }

    .container { width: min(100%, var(--container)); margin-inline: auto; padding-inline: var(--gutter); }
    .section { padding-block: clamp(72px, 9vw, 120px); }
    .section + .section { border-top: 1px solid var(--border); }
    .section-soft { background: var(--ice); }
    .stack { display: flex; flex-direction: column; }
    .stack > * + * { margin-top: var(--gap-md); }
    .row { display: flex; align-items: center; gap: var(--gap-md); }
    .row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); }
    .grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-lg); }
    .grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-lg); }
    .grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-md); }
    .grid-2-1 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: var(--gap-xl); align-items: start; }
    .grid-1-2 { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr); gap: var(--gap-xl); align-items: start; }

    .h1, h1 { margin: 0; font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 700; line-height: 1.01; letter-spacing: -0.045em; }
    .h2, h2 { margin: 0; font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; }
    .h3, h3 { margin: 0; font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
    .lead { max-width: 62ch; margin: 0; color: var(--muted); font-size: var(--fs-lead); line-height: 1.55; }
    .eyebrow { margin: 0 0 var(--gap-md); color: color-mix(in oklch, var(--accent) 78%, var(--fg)); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
    .meta { color: var(--muted); font-family: var(--font-mono); font-size: var(--fs-meta); letter-spacing: .06em; text-transform: uppercase; }
    .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

    .topnav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); background: color-mix(in oklch, var(--bg) 94%, transparent); backdrop-filter: blur(16px); }
    .topnav-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
    .brand-link { min-height: 44px; display: inline-flex; align-items: center; flex: 0 0 auto; }
    .brand-logo { width: 174px; height: auto; }
    .quiet-nav { display: flex; align-items: center; gap: 24px; }
    .quiet-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: 14px; font-weight: 600; }
    .quiet-nav a::after { position: absolute; right: 0; bottom: 7px; left: 0; height: 1px; content: ""; background: var(--fg); transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
    .quiet-nav a:hover, .quiet-nav a:focus-visible { color: var(--fg); }
    .quiet-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

    .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: -.01em; transition: transform 120ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease; }
    .btn:active { transform: translateY(1px); }
    .btn-primary { border-color: var(--accent); background: var(--accent); color: var(--fg); }
    .btn-primary:hover { border-color: color-mix(in oklch, var(--accent) 83%, var(--fg)); background: color-mix(in oklch, var(--accent) 83%, var(--fg)); color: var(--fg); }
    .btn-secondary { border-color: var(--border); background: var(--surface); color: var(--fg); }
    .btn-secondary:hover { border-color: var(--fg); background: var(--fg); color: var(--surface); }
    .btn-ghost { min-height: 44px; padding-inline: 8px; border-color: transparent; background: transparent; color: var(--fg); }
    .btn-ghost:hover { background: var(--fg-soft); color: var(--fg); }
    .btn[disabled] { cursor: wait; opacity: .62; }

    .tag { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 12px; }
    .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
    .card-flat { background: transparent; border: 0; padding: 0; }
    .card-rule { background: transparent; border: 0; border-top: 1px solid var(--fg); padding: 24px 0 0; border-radius: 0; }

    .acquisition { padding-block: clamp(48px, 6vw, 80px) clamp(72px, 8vw, 112px); }
    .acquisition-grid { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: clamp(52px, 7vw, 96px); align-items: start; }
    .book-column { position: sticky; top: 112px; }
    .book-kicker { margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
    .book-kicker span:last-child { color: var(--fg); }
    .book-stage { position: relative; width: min(100%, 420px); }
    .book-cover { position: relative; min-height: 560px; display: flex; flex-direction: column; padding: 42px; overflow: hidden; border-radius: 6px 24px 24px 6px; background: var(--fg); color: var(--surface); box-shadow: -14px 18px 0 color-mix(in oklch, var(--fg) 12%, transparent); }
    .book-cover::after { content: ""; position: absolute; right: -64px; bottom: -64px; width: 210px; height: 210px; border: 1px solid color-mix(in oklch, var(--surface) 20%, transparent); border-radius: 50%; box-shadow: 0 0 0 42px color-mix(in oklch, var(--surface) 4%, transparent), 0 0 0 84px color-mix(in oklch, var(--surface) 3%, transparent); }
    .book-cover .meta { color: color-mix(in oklch, var(--surface) 62%, transparent); }
    .book-title { max-width: 12ch; margin: 68px 0 0; font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1.03; letter-spacing: -.035em; }
    .book-footer { margin-top: auto; color: color-mix(in oklch, var(--surface) 58%, transparent); font-size: 13px; }
    .book-caption { width: min(100%, 390px); margin: 20px 0 0 12px; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); }

    .promise h1 { max-width: 14ch; }
    .promise > .lead { margin-top: 24px; }
    .topics { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }

    .form-surface { margin-top: 36px; padding: clamp(26px, 3.6vw, 42px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
    .form-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: start; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
    .form-head h2 { font-size: clamp(25px, 2.5vw, 34px); letter-spacing: -.025em; }
    .form-head p { max-width: 56ch; margin: 10px 0 0; color: var(--muted); font-size: 14px; }
    .form-head .meta { white-space: nowrap; }
    .whitepaper-form { padding-top: 28px; }
    .field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .field { display: flex; flex-direction: column; gap: 7px; }
    .field-wide { grid-column: 1 / -1; }
    .field label { color: var(--fg); font-size: 13px; font-weight: 650; }
    .optional { color: var(--muted); font-weight: 400; }
    .input, .select { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--fg); font-size: 15px; transition: border-color 160ms ease, background 160ms ease; }
    .input:hover, .select:hover { border-color: color-mix(in oklch, var(--border) 55%, var(--fg)); }
    .input:focus, .select:focus { outline: 3px solid var(--accent-soft); border-color: var(--fg); }
    .input::placeholder { color: color-mix(in oklch, var(--muted) 72%, transparent); }
    .field-error .input, .field-error .select { border-color: var(--fg); background: var(--fg-soft); }
    .field-error label { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
    .error-message { min-height: 0; margin: 0; color: var(--fg); font-size: 12px; font-weight: 650; }
    .error-message:empty { display: none; }

    .data-note { margin-top: 24px; padding: 18px 0; display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: start; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--ice); }
    .data-note svg { width: 20px; height: 20px; margin: 0 0 0 4px; align-self: start; justify-self: start; color: var(--fg); }
    .data-note p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
    .opt-in { margin-top: 22px; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; cursor: pointer; }
    .opt-in input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--fg); }
    .opt-in span { color: var(--muted); font-size: 13px; line-height: 1.5; }
    .form-action { margin-top: 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
    .form-action .btn { min-width: 220px; }
    .form-action .meta { color: var(--muted); }
    .form-status { display: none; margin-top: 18px; padding: 16px 18px; border: 1px solid var(--fg); border-radius: var(--radius); background: var(--fg-soft); color: var(--fg); font-size: 14px; font-weight: 650; }
    .form-status.is-visible { display: block; }

    .reassurance { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); }
    .reassurance-item { padding: 20px 16px 0 0; }
    .reassurance-item + .reassurance-item { padding-left: 16px; border-left: 1px solid var(--border); }
    .reassurance-item strong { display: block; margin-top: 8px; font-family: var(--font-display); font-size: 13px; line-height: 1.35; }

    .guide-head { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(36px, 7vw, 90px); align-items: end; margin-bottom: clamp(52px, 7vw, 82px); }
    .guide-head .lead { justify-self: end; }
    .guide-list { border-top: 1px solid var(--fg); }
    .guide-row { display: grid; grid-template-columns: 70px minmax(220px, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--border); }
    .guide-row p { margin: 0; color: var(--muted); font-size: 14px; }

    .signature-wrap { margin-top: clamp(64px, 9vw, 112px); display: grid; grid-template-columns: minmax(0, .72fr) minmax(480px, 1.28fr); gap: clamp(42px, 7vw, 92px); align-items: center; }
    .signature-copy h2 { font-size: clamp(28px, 3.4vw, 44px); }
    .signature-copy p { margin: 20px 0 0; color: var(--muted); }
    .diagram-stage { position: relative; min-height: 390px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
    .diagram-stage::before, .diagram-stage::after { position: absolute; top: 50%; left: 50%; content: ""; border: 1px solid var(--border); border-radius: 50%; transform: translate(-50%, -50%); }
    .diagram-stage::before { width: 250px; height: 250px; }
    .diagram-stage::after { width: 360px; height: 360px; }
    .diagram-core { position: absolute; z-index: 2; top: 50%; left: 50%; width: 132px; height: 132px; display: grid; place-items: center; padding: 20px; border-radius: 50%; background: var(--fg); color: var(--surface); font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.15; text-align: center; transform: translate(-50%, -50%); }
    .diagram-node { position: absolute; z-index: 3; min-width: 118px; min-height: 44px; display: grid; place-items: center; padding: 10px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--fg); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-align: center; }
    .diagram-patients { top: 46px; left: 50%; transform: translateX(-50%); }
    .diagram-google { right: 40px; bottom: 70px; }
    .diagram-ia { bottom: 70px; left: 40px; }

    .cta-strip { text-align: center; }
    .cta-strip .container { max-width: 720px; }
    .cta-strip h2 { max-width: 16ch; margin-inline: auto; }
    .cta-strip .lead { margin: 18px auto 30px; }
    .cta-meta { margin: 16px 0 0; color: var(--muted); font-size: 13px; }

    .pagefoot { padding-block: 48px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
    .footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 48px; align-items: start; }
    .footer-brand img { width: 150px; height: auto; }
    .footer-brand p { max-width: 36ch; margin: 18px 0 0; }
    .footer-col h3 { margin-bottom: 14px; color: var(--fg); font-family: var(--font-display); font-size: 13px; font-weight: 700; }
    .footer-col a { display: block; margin-top: 8px; }
    .footer-col a:hover, .footer-col a:focus-visible { color: var(--fg); }
    .footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
    }

    @media (max-width: 1020px) {
      .acquisition-grid { grid-template-columns: minmax(260px, .62fr) minmax(0, 1.38fr); gap: 46px; }
      .signature-wrap { grid-template-columns: 1fr; }
      .diagram-stage { width: min(100%, 680px); }
    }

    @media (max-width: 920px) {
      .grid-2, .grid-3, .grid-4, .grid-2-1, .grid-1-2, .acquisition-grid, .guide-head { grid-template-columns: 1fr; }
      .acquisition-grid { gap: 56px; }
      .book-column { position: static; }
      .book-stage { width: min(100%, 420px); margin-inline: auto; }
      .book-caption { width: min(100%, 390px); margin-inline: auto; }
      .promise h1 { max-width: 16ch; }
      .guide-head .lead { justify-self: start; }
    }

    @media (max-width: 700px) {
      :root { --gutter: 20px; }
      .brand-logo { width: 146px; }
      .quiet-nav a:first-child { display: none; }
      .acquisition { padding-top: 36px; }
      .book-cover { min-height: 500px; padding: 32px; }
      .form-surface { margin-inline: calc(var(--gutter) * -1); border-right: 0; border-left: 0; border-radius: 0; }
      .form-head { grid-template-columns: 1fr; }
      .field-grid { grid-template-columns: 1fr; }
      .field-wide { grid-column: auto; }
      .reassurance { grid-template-columns: 1fr; }
      .reassurance-item { padding: 16px 0; }
      .reassurance-item + .reassurance-item { padding-left: 0; border-top: 1px solid var(--border); border-left: 0; }
      .guide-row { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; }
      .guide-row p { grid-column: 2; margin-top: -8px; }
      .diagram-stage { min-height: 430px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 36px 20px; }
      .diagram-stage::before { top: 50%; width: 1px; height: 260px; border: 0; border-left: 1px solid var(--border); border-radius: 0; }
      .diagram-stage::after { display: none; }
      .diagram-core, .diagram-node { position: relative; inset: auto; transform: none; }
      .diagram-core { width: 118px; height: 118px; flex: 0 0 auto; order: 2; }
      .diagram-patients { order: 1; }
      .diagram-google { order: 3; }
      .diagram-ia { order: 4; }
      .form-action { align-items: stretch; flex-direction: column; }
      .form-action .btn { width: 100%; }
      .footer-grid { grid-template-columns: 1fr; gap: 34px; }
      .footer-bottom { align-items: flex-start; flex-direction: column; }
    }

    @media (max-width: 430px) {
      .book-title { font-size: 34px; }
    }

/* The page template and WordPress menus retain the established theme structure. */
body.practelys-acquisition-page .topnav .quiet-nav { display: flex; }
body.practelys-acquisition-page .topnav .quiet-nav a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }
body.practelys-acquisition-page .topnav .quiet-nav a:hover,
body.practelys-acquisition-page .topnav .quiet-nav a:focus-visible { color: var(--fg); }
body.practelys-acquisition-page .pagefoot .footer-col ul { margin: 0; padding: 0; list-style: none; }
body.practelys-acquisition-page .pagefoot .footer-col a[aria-current="page"] { color: var(--fg); font-weight: 700; }
body.page-livre-blanc .whitepaper-content .eyebrow { color: #245447; }
body.page-livre-blanc #formulaire-livre-blanc { scroll-margin-top: 96px; }
@media (max-width: 1070px) and (min-width: 921px) {
  body.practelys-acquisition-page .book-cover { padding-inline: 28px; }
  body.practelys-acquisition-page .book-title { max-width: 100%; font-size: clamp(27px, 3vw, 32px); }
}
@media (max-width: 1020px) {
  body.page-livre-blanc .diagram-stage { margin-inline: auto; }
}
@media (max-width: 920px) {
  body.practelys-acquisition-page .topnav .quiet-nav {
    position: static;
    width: auto;
    min-height: 0;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
  }
  body.practelys-acquisition-page .topnav .quiet-nav a {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.4;
  }
  body.page-livre-blanc .acquisition-grid { grid-template-columns: minmax(0, 1fr); }
  body.page-livre-blanc .book-column,
  body.page-livre-blanc .promise { min-width: 0; }
}
@media (max-width: 700px) {
  body.practelys-acquisition-page .topnav .quiet-nav { display: none; }
}
@media (max-width: 359px) {
  body.practelys-acquisition-page .book-cover { padding-inline: clamp(16px, 7vw, 24px); }
  body.practelys-acquisition-page .book-title { max-width: 100%; font-size: clamp(20px, 8vw, 28px); }
}
