:root {
      --bg: #fefffe;
      --text: #252625;
      --muted: #66604f;
      --line: #d8d0c2;
      --accent: #d9cdb8;
      --max-width: 72ch;
    }

    * {box-sizing: border-box;}

    html {font-size: 16px; scroll-behavior: smooth;}

    body {
      margin: 0;
      background: var(--bg);
      color: var(--text);
      font-family:
        /*"Azeret Mono",*/
        /*"JetBrains Mono",*/
        "IBM Plex Mono",
        /*"Atkinson Hyperlegible Mono",*/
        monospace;
      line-height: 1.8;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
    }

    @font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/IBMPlexMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/IBMPlexMono-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/IBMPlexMono-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

    a {
      color: inherit;
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 0.28em;
      padding: 0 0.1em;
       
    }

    a:hover {
      background: var(--accent);
      color: var(--text);
      text-decoration: none;
      padding: 0 0.1em;
    }

    .page {
      min-height: 100vh;
      padding: 4rem 1.25rem;
      display: flex;
      justify-content: center;
    }

    .wrap {
      width: 100%;
      max-width: 1000px;
    }

    .hero {
      /*border-top: 1px solid var(--line);*/
      padding-top: 1.5rem;
      margin-bottom: 1rem;

    }

    .hero-inner {
      max-width: var(--max-width);
    }

   .eyebrow-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    
  }

  .eyebrow-wrap a:hover {
    background: none;
    color: inherit;
    text-decoration: none;
  }

  .eyebrow-wrap a:hover .earth-icon {
  transform: scale(1.05);
} 

  .eyebrow {
    margin: 0;
  }

  .earth-icon {
    width: 1.8rem;
    height: 1.8rem;
    flex: 0 0 auto;
    position: relative;
    top: 4px;
    
  }



  .stabilo {
      background: #3a3b3a;
      color: #f3efe6;
      border-radius: 5px;
      padding: 10px;
  }

  .stabilo-samples {
      background: #fff3a0;
      color: #111;
      border-radius: 5px;
      padding: 3px 10px;
  }

  .stabilo-samples br {
    line-height: 1.6;
  }

  .tag {
    display: inline-block;
    
    padding: 0.02rem 0.2rem;
    font-size: 0.7rem;
    color: var(--muted);
    border: 1px solid var(--line);
    opacity: 0.7;
  }

    em {
        background: #fff6b8; /*f2f2f2*/
        font-style: normal;
        padding: 0 0.1em;
    }


    h1, h2, h3 {
      margin: 0 0 1.25rem 0;
      font-weight: 500;
      line-height: 1.3;
      letter-spacing: -0.01em;
    }

    h1 {
      font-size: clamp(1.8rem, 3.5vw, 2.8rem);
      max-width: 28ch;
    }


    h2 {
      font-size: 1.25rem;
      margin-top: 2rem;
    }

    h3 {
      font-size: 1rem;
      margin: 0.6rem 0 0.25rem 0;
      font-weight: 500;
      margin-top: 2.5rem;
      margin-bottom: 1rem;
    }

    p {
      margin: 0 0 1.4rem 0;
      max-width: var(--max-width);
    }

    img {
      max-width: 100%;
      height: auto;
      border: none;
      border-radius: 6px;
      opacity: 0.9;
    }

    figure {
      margin: 0;
      padding: 0;
    }

    figure img {
      vertical-align: middle;
    }
    figcaption {
      padding: 0.5em 0em 1em 0em;
      font-size: 0.9rem;
    }

    .lead {
      font-size: 1.1rem;
      color: var(--text);
    }


    .muted {
      color: var(--muted);
    }

    .section {
      margin-bottom: 1rem;
      padding-top: 1rem;
      /*border-top: 1px solid var(--line);*/ 
    }

    .verbeux {
      line-height: 1.6;
      letter-spacing: -0.02em;
    }

     .note {
      display: inline-block;
      padding: 0.1rem 0.35rem;
      border: 1px solid var(--line);
      color: var(--muted);
      font-size: 0.8rem;
      letter-spacing: 0.04em;
      opacity: 0.7;
      margin-top: 2rem;
    }


    .list {
      list-style: none;
      padding: 0;
      margin: 1.5rem 0 0 0;
      max-width: var(--max-width);
    }

    .list li {
      position: relative;
      padding-left: 1.2rem;

    }

    .list li::before {
      content: "›";
      position: absolute;
      left: 0;
      color: var(--muted);
    }
  
    .list a:hover {
      text-decoration: none;}


    .list-compact li {
      margin: 1rem 0 0 0;
      line-height: 1.45;
      letter-spacing: -0.03em;
    }

    .list-compact .meta {
      display: block;
      margin-top: 0.25rem;
      color: var(--muted);
      font-size: 0.92rem;
      line-height: 1.2;
      letter-spacing: -0.02em;
    }
    
    .meta {
      opacity: 0.85;
    }

    .long-li .list li {    /* pour augmenter l'espace pour les li trop bavardes */
      margin: 1.6rem 0 0 0;
    }


.navlist {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0 0;
}

.navlist li {
  border-bottom: 1px solid var(--line);
}

.navlist li:last-child {
  border-bottom: none;
}

.navlist a {
  display: block;
  padding: 0.7rem 0.4rem;
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s ease, color 0.15s ease;
}

.navlist a:hover {
  background: #111;
  color: #f3efe6;
}

.current {
  display: block;
  padding: 0.7rem 0.4rem;
  color: var(--muted);
  opacity: 0.75;
}





.navlist-docs a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.navlist-docs .download {
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.navlist-docs a:hover .download {
  color: inherit;
}




.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: none;
}


.case {
  margin: 2.2rem 0 0 0;
  max-width: 68ch;
}

.case:first-of-type {
  margin-top: 1.2rem;
}

.case h3 {
  margin-bottom: 0.3rem;
  line-height: 1.8;
}

.case p {
  margin-bottom: 0.6rem;
}

.case figure {
  margin-top: 1rem;
}

.case figcaption {
  font-size: 0.85rem;
  color: var(--muted);
}

.case + .case {
  border-top: 1px solid transparent;
  padding-top: 0.5rem;
}



.quotes {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  max-width: 78ch;
}

.quotes blockquote {
  margin: 0;
  padding: 1rem 1rem 1rem 1.1rem;
  border-left: 2px solid var(--line);
  background: #f8f8f6;
}

.quotes blockquote p {
  margin: 0;
  max-width: none;
  line-height: 1.65;
}

.quotes blockquote:hover {
  border-left-color: var(--text);
}


    footer {
      margin-top: 5rem;
      padding-top: 1rem;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 0.92rem;
      max-width: var(--max-width);
    }

    ::selection {
      background: #eaeaea;
      color: #111;
    }

                      @media (max-width: 640px) {
                    html {
                      font-size: 16px;
                    }

                    body {
                      line-height: 1.7;
                    }

                    .page {
                      padding: 2rem 1rem;
                    }

                    .wrap {
                      max-width: 100%;
                    }

                    .hero {
                      padding-top: 0.5rem;
                      margin-bottom: 0.5rem;
                    }

                    .hero-inner {
                      max-width: 100%;
                    }

                    /* eyebrow + icon */
                    .eyebrow-wrap {
                      display: flex;
                      align-items: center;
                      flex-wrap: wrap;
                      gap: 0.35rem;
                      margin-bottom: 1.5rem;
                      font-size: 0.9rem;
                    }

                    .eyebrow {
                      margin: 0;
                      letter-spacing: -0.02em;
                    }

                    .earth-icon {
                     
                      width: 1rem;
                      height: 1rem;
                      flex: 0 0 auto;
                      position: relative;
                      top: 4px;
                    }

                    h1 {
                      font-size: 2rem;
                      line-height: 1.15;
                      max-width: 100%;
                      margin-bottom: 1rem;
                    }

                    h2 {
                      font-size: 1.1rem;
                      margin-top: 1.1rem;
                      margin-bottom: 0.9rem;
                    }

                    p {
                      margin-bottom: 1.1rem;
                      max-width: 100%;
                    }

                    .lead {
                      font-size: 1rem;
                    }

                

                    .stabilo {
                      display: inline;
                      padding: 0.2rem 0.35rem;
                     
                      text-align: justify;
                      text-decoration: auto;
                    }

                    .section {
                      margin-bottom: 0.75rem;
                      padding-top: 0.75rem;
                    }

                    .navlist a,
                    .current {
                      padding: 0.85rem 0.2rem;
                    }

                    .list {
                      margin-top: 1rem;
                    }

                    .list li {
                      padding-left: 1rem;
                    }


                    footer {
                      margin-top: 3rem;
                      padding-top: 0.8rem;
                      max-width: 100%;
                    }
                  }


                   @media print {
                    
                    .wrap {
                      max-width: 65ch;
                    }

                    img {
                      max-width: 100%;
                      page-break-inside: avoid;
                    }

                    .case {
                      margin-bottom: 2rem;
                      page-break-inside: avoid;
                    }
                  }