/* Départ de Sentier: https://www.d-d-s.ch/assets/css/dds.css */
@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("assets/nunito.ttf") format("truetype");
}
:root {
  --green: #3c5343;
  --green-light: #4a6652;
  --sage: #84ae99;
  --paper: #f0eee1;
  --subtle: #e8e6d9;
  --ink: #2b2b2b;
  --muted: #555;
  --line: #d4d2c5;
  --white: #fff;
  --radius: 8px;
  font-family: Nunito, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 4px; transition: color .2s ease; }
a:hover { color: var(--green-light); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.skip { position: absolute; top: -100px; left: 20px; background: var(--white); padding: 12px; z-index: 5; }
.skip:focus { top: 10px; }
.wrap { max-width: 1080px; width: 100%; margin: auto; padding: 0 40px; }
.masthead { border-bottom: 1px solid var(--line); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.brand { display: flex; gap: 20px; align-items: center; min-width: 0; }
.brand-logo { display: block; flex-shrink: 0; }
.brand img { width: 200px; height: auto; }
.dataset { font-size: 16px; border-left: 1px solid var(--line); padding-left: 20px; text-decoration: none; white-space: nowrap; }
.top-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; font-size: 14px; }
.top-links a { white-space: nowrap; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 26px; padding-top: 14px; padding-bottom: 14px; }
.nav a { font-size: 16px; text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--green); }
.nav a[aria-current=page] { color: var(--green); font-weight: 700; text-decoration: underline; text-decoration-color: var(--sage); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.hero { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--muted); margin: 0 0 20px; }
h1, h2, h3 { color: var(--green); line-height: 1.3; margin-top: 0; }
h1 { font-size: clamp(34px, 4vw, 48px); letter-spacing: -.02em; font-weight: 300; margin-bottom: 24px; }
h2 { font-weight: 600; font-size: 28px; letter-spacing: -.01em; margin-bottom: 16px; }
h3 { font-weight: 600; font-size: 20px; margin-bottom: 16px; }
p { margin: 0 0 24px; }
.lead { font-size: 18px; line-height: 1.8; max-width: 640px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border: 1.5px solid var(--green); border-radius: var(--radius); text-decoration: none; font-size: 15px; font-weight: 700; transition: background-color .2s ease, color .2s ease; }
.button:hover { background: var(--green); color: var(--white); }
.button.primary { background: var(--green); color: var(--white); }
.button.primary:hover { background: var(--green-light); border-color: var(--green-light); }
.route { background: var(--subtle); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.route .tag { color: var(--green); font-size: 16px; font-weight: 700; display: block; margin-bottom: 20px; }
.route ol { list-style: none; padding: 0; margin: 0; }
.route li { display: flex; gap: 16px; align-items: center; border-top: 1px solid var(--line); padding: 14px 0; font-size: 16px; }
.route li span { font-size: 12px; color: var(--muted); width: 20px; flex-shrink: 0; }
.route li:last-child { color: var(--green); font-weight: 700; padding-bottom: 0; }
.strip { background: var(--subtle); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 20px; font-size: 13px; }
.strip strong { font-size: 15px; }
.section { padding-top: 64px; padding-bottom: 64px; }
.section-intro { max-width: 760px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.card { border: 1px solid var(--line); padding: 28px; border-radius: var(--radius); background: var(--subtle); }
.card .number { font-size: 12px; letter-spacing: .1em; color: var(--muted); display: block; margin-bottom: 24px; }
.card p { font-size: 15px; }
.card a { font-size: 15px; font-weight: 700; }
.band { background: var(--green); color: var(--white); border-radius: var(--radius); padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 40px; }
.band p { margin: 0; max-width: 750px; }
.band .button { color: var(--white); border-color: var(--white); flex-shrink: 0; }
.band .button:hover { background: var(--white); color: var(--green); }
.band .button:focus-visible { outline-color: var(--white); }
.badge { display: inline-block; background: var(--subtle); border: 1px solid var(--line); border-radius: 4px; padding: 3px 8px; font-size: 12px; font-weight: 700; text-transform: capitalize; white-space: nowrap; }
.badge.proposed { background: var(--paper); }
.records { display: grid; gap: 16px; margin-top: 26px; }
.record { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); }
.record-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.record small { color: var(--muted); }
.record ul { margin: 12px 0 0; padding-left: 20px; font-size: 14px; color: var(--muted); }
.document { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; padding-top: 48px; padding-bottom: 80px; }
.sidebar { font-size: 14px; }
.sidebar strong { display: block; margin-bottom: 14px; color: var(--green); }
.sidebar a { display: block; padding: 8px 0; text-decoration: none; }
.sidebar a[aria-current=page] { font-weight: 700; text-decoration: underline; text-decoration-color: var(--sage); }
.article { min-width: 0; overflow-wrap: anywhere; }
.article h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 600; }
.article h2 { font-size: 26px; margin-top: 40px; }
.article h3 { margin-top: 26px; }
.article ul, .article ol { padding-left: 24px; }
.article p, .article li { font-size: 16px; }
.article code { background: var(--subtle); font-size: .88em; padding: 2px 5px; border-radius: 3px; }
.article pre { background: var(--green); color: var(--white); padding: 24px; border-radius: var(--radius); overflow: auto; font-size: 13px; line-height: 1.7; }
.article pre code { background: none; padding: 0; color: inherit; }
.table-scroll { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 24px 0; }
.article table { border-collapse: collapse; font-size: 14px; min-width: 550px; width: 100%; }
.article th { background: var(--subtle); text-align: left; white-space: nowrap; }
.article th, .article td { padding: 13px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article blockquote { margin: 24px 0; border-left: 3px solid var(--sage); padding: 4px 20px; color: var(--muted); }
footer { background: var(--paper); border-top: 1px solid var(--line); color: var(--muted); padding: 40px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 40px; }
footer p { margin: 0; max-width: 640px; }
footer a { color: var(--green); }
.brand-credit { display: block; margin-top: 16px; font-size: 12px; }
.note { border-left: 3px solid var(--sage); background: var(--subtle); padding: 16px 24px; margin: 24px 0; }
.test-result { font-size: 13px; color: var(--muted); }
.preview-notice { background: var(--subtle); border-bottom: 1px solid var(--line); font-size: 14px; padding: 12px 0; }
.preview-notice strong { margin-right: 6px; color: var(--green); }
.preview-notice a { font-weight: 700; }
@media (max-width: 850px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .top { flex-wrap: wrap; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
  .top-links { justify-content: flex-start; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
  .route { max-width: 640px; width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .document { grid-template-columns: 1fr; gap: 24px; }
  .sidebar { border-bottom: 1px solid var(--line); padding-bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
  .sidebar strong { width: 100%; margin: 0; }
  .sidebar a { padding: 3px 0; }
  .strip .wrap, .band, footer .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section { padding-top: 40px; padding-bottom: 40px; }
  .nav { gap: 12px 24px; }
  .lead { font-size: 17px; }
}
@media (max-width: 480px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .brand { gap: 12px; }
  .brand img { width: 160px; }
  .dataset { font-size: 14px; padding-left: 12px; }
  .top-links { gap: 8px 16px; font-size: 13px; }
  .nav { gap: 10px 20px; }
  .nav a { font-size: 15px; }
  .route, .card, .record, .band { padding: 24px; }
  .record-head { flex-direction: column; gap: 0; }
}
