:root {
  --navy: #0E2240; --navy-dark: #091929; --red: #C1272D; --paper: #F2F2F2; --white: #FFFFFF;
  --line: rgba(14,34,64,.14);
  --font: 'Open Sans', system-ui, sans-serif;
  --gutter: clamp(16px, 3vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--navy); background: var(--paper); line-height: 1.7; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }

.hdr { background: var(--navy); padding: 16px 0; position: sticky; top: 0; z-index: 10; }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hdr img { height: 34px; width: auto; display: block; }
.hdr-right { display: flex; align-items: center; gap: 10px; }
.back { color: var(--white); text-decoration: none; font-size: .9rem; font-weight: 600; height: 42px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,.12); display: inline-flex; align-items: center; }
.back:hover { background: rgba(255,255,255,.22); }
.lang { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.12); }
.lang button { font: inherit; color: var(--white); background: none; border: 0; cursor: pointer; font-size: .78rem; font-weight: 700; padding: 8px 11px; border-radius: 999px; opacity: .65; }
.lang button[aria-pressed="true"] { background: var(--white); color: var(--navy); opacity: 1; }
@media (max-width: 520px) { .back { display: none; } }

.head { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(32px, 4vw, 56px); }
.dsp { font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; text-transform: uppercase; line-height: .9; font-size: clamp(2.6rem, 7vw, 7rem); }
.dsp span { display: block; color: var(--red); }
.meta { margin-top: 24px; font-size: .95rem; opacity: .7; }

.doc { background: var(--white); border-radius: 20px; padding: clamp(24px, 5vw, 72px); margin-bottom: clamp(56px, 8vw, 112px); display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 5vw, 80px); }
.toc { position: sticky; top: 100px; align-self: start; font-size: .88rem; }
.toc ol { list-style: none; counter-reset: t; }
.toc li { counter-increment: t; padding: 5px 0; }
.toc a { text-decoration: none; opacity: .7; }
.toc a:hover { opacity: 1; color: var(--red); }
.toc a::before { content: counter(t) ". "; color: var(--red); font-weight: 700; }
.content { max-width: 72ch; counter-reset: s; }
.content section { padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.content section:first-child { border-top: 0; padding-top: 0; }
.content h2 { counter-increment: s; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.25; margin-bottom: 14px; letter-spacing: -.01em; }
.content h2::before { content: counter(s) ". "; color: var(--red); }
.content h3 { font-size: 1.02rem; margin: 18px 0 6px; }
.content p + p, .content p + ul, .content ul + p { margin-top: 12px; }
.content ul { padding-left: 0; list-style: none; }
.content ul li { position: relative; padding-left: 20px; margin: 6px 0; }
.content ul li::before { content: ''; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.addr { background: var(--paper); border-radius: 12px; padding: 18px 20px; margin-top: 12px; }
.todo { background: #FFF3B0; border-radius: 4px; padding: 0 4px; }
@media (max-width: 860px) { .doc { grid-template-columns: 1fr; } .toc { position: static; } }

article[lang] { display: none; }
article[lang].on { display: contents; }

.ftr { background: var(--navy-dark); color: rgba(255,255,255,.75); padding: 24px 0; font-size: .85rem; }
.ftr .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--white); }

/* Notice shown when a French-only page is opened from the DE/EN site */
.lang-note { background: var(--white); border-left: 4px solid var(--red); border-radius: 8px; padding: 14px 18px; margin-top: 24px; font-size: .95rem; max-width: 72ch; }
.lang-note[hidden] { display: none; }
