@font-face {
  font-family: "Karla";
  src: url("fonts/karla-variable.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --obsidian: #0d0f10;
  --black: #080909;
  --surface: #151819;
  --surface-2: #1d2121;
  --line: #343a38;
  --green: #00f287;
  --green-soft: #baffdd;
  --white: #f4f7f5;
  --titanium: #c7cfcb;
  --muted: #9ca8a3;
  --display: "Karla", "Segoe UI", system-ui, sans-serif;
  --body: "Karla", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(0,242,135,.055), transparent 28rem),
    var(--obsidian);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--green); color: var(--black); }
a {
  color: var(--green);
  text-decoration-color: rgba(0,242,135,.5);
  text-underline-offset: 4px;
}
a:hover { color: var(--white); text-decoration-color: var(--white); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  z-index: 10;
  top: -80px;
  left: 16px;
  padding: 12px 18px;
  background: var(--green);
  color: var(--black);
  font-weight: 800;
  text-decoration: none;
  transition: top .18s ease;
}
.skip:focus { top: 16px; }
.wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 80px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-family: var(--display);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: 1;
  text-decoration: none;
}
.wordmark::before {
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-right: 4px;
  place-items: center;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: radial-gradient(circle, var(--green) 0 2px, transparent 3px);
  color: var(--green);
  content: "";
}
.wordmark i { color: var(--green); font-style: normal; }
.topbar__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.back {
  color: var(--titanium);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.back:hover { color: var(--green); }
.langswitch {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--titanium);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.langswitch:hover { border-color: var(--green); color: var(--green); }

main {
  position: relative;
  padding: 76px 0 104px;
}
main::before {
  position: absolute;
  top: 0;
  left: max(20px, calc((100vw - 1200px) / 2));
  width: 68px;
  height: 4px;
  background: var(--green);
  content: "";
}
.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .94;
  text-transform: uppercase;
}
h1 {
  max-width: 12ch;
  margin: 18px 0 20px;
  font-size: clamp(3.35rem, 8vw, 7.2rem);
}
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.3vw, 2rem); }
p { margin: 0 0 18px; }
.lede {
  max-width: 62ch;
  color: var(--titanium);
  font-size: 19px;
  line-height: 1.5;
}
.meta {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .02em;
}
.meta strong { color: var(--white); }

.notice,
.legal-facts {
  margin: 42px 0;
  padding: 19px 22px;
  border: 1px solid rgba(0,242,135,.42);
  border-left: 5px solid var(--green);
  background: var(--surface);
  color: var(--titanium);
  font-size: 14px;
  line-height: 1.55;
}
.notice strong,
.legal-facts strong { color: var(--green); }
.toc {
  max-width: 1000px;
  margin: 48px 0 64px;
  padding: 26px 28px 28px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  background: var(--surface);
  box-shadow: 12px 14px 0 rgba(0,242,135,.07);
}
.toc h2 {
  margin-bottom: 20px;
  color: var(--green);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  letter-spacing: -.035em;
}
.toc ol {
  columns: 2;
  gap: 42px;
  margin: 0;
  padding-left: 22px;
}
.toc li {
  margin: 8px 0;
  break-inside: avoid;
  color: var(--muted);
  font-size: 14px;
}
.toc li::marker { color: var(--green); font-weight: 800; }
.toc a { color: var(--titanium); }
.toc a:hover { color: var(--green); }

article { max-width: 840px; }
article section {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 28px;
}
article section:first-child { padding-top: 0; border-top: 0; }
article section:target { border-top-color: rgba(0,242,135,.65); }
article section > h2 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(1.85rem, 3.3vw, 2.8rem);
}
article p,
article li { color: var(--titanium); }
article strong { color: var(--white); }
article ul { margin: 0 0 20px; padding-left: 24px; }
article li { margin: 9px 0; }
.callout {
  margin: 24px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  background: var(--surface-2);
  color: var(--titanium);
}
.callout strong { color: var(--green); }

.contact {
  padding: 30px;
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--black);
  box-shadow: 12px 14px 0 rgba(0,242,135,.12);
}
.contact h2 { margin-bottom: 16px; color: var(--black); }
.contact p,
.contact a,
.contact strong { color: var(--black); }
.contact a { text-decoration-color: rgba(8,9,9,.5); }
.contact a:hover { color: var(--white); text-decoration-color: var(--white); }
.contact .legal-facts {
  border-color: rgba(8,9,9,.35);
  border-left-color: var(--black);
  background: rgba(8,9,9,.12);
  color: var(--black);
}
.contact .legal-facts strong { color: var(--black); }
.contact .legal-facts dl div { border-top-color: rgba(8,9,9,.2); }
.legal-facts p:last-child { margin-bottom: 0; }
.legal-facts dl { margin: 16px 0; }
.legal-facts dl div {
  display: grid;
  grid-template-columns: minmax(170px, .8fr) minmax(0, 1.8fr);
  gap: 14px;
  padding: 8px 0;
  border-top: 1px solid rgba(0,242,135,.18);
}
.legal-facts dt { font-weight: 800; }
.legal-facts dd { margin: 0; overflow-wrap: anywhere; }

table.transfers,
table.retention {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  color: var(--titanium);
  font-size: 14px;
}
table.transfers caption,
table.retention caption {
  margin-bottom: 10px;
  color: var(--green);
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
}
table.transfers th,
table.transfers td,
table.retention th,
table.retention td {
  padding: 12px 13px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
table.transfers th,
table.retention th {
  background: var(--surface);
  color: var(--white);
  font-weight: 800;
}
table.retention td:nth-child(2) { white-space: nowrap; }

.rights-form {
  margin: 26px 0 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  background: var(--surface);
}
.rights-form label {
  display: block;
  margin: 14px 0 6px;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.rights-form input,
.rights-form textarea,
.rights-form select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--obsidian);
  color: var(--white);
  font: inherit;
  font-size: 15px;
}
.rights-form textarea { min-height: 120px; resize: vertical; }
.rights-form select { appearance: auto; }
.rights-form input::placeholder,
.rights-form textarea::placeholder { color: var(--muted); }
.rights-form button {
  min-height: 48px;
  margin-top: 18px;
  padding: 12px 20px;
  border: 1px solid var(--green);
  border-radius: 0;
  background: var(--green);
  color: var(--black);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  cursor: pointer;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.rights-form button:hover {
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}
.rights-form button[disabled] { opacity: .6; cursor: progress; }
.rights-form .hint,
.hint { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.rights-status {
  min-height: 1.4em;
  margin-top: 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

footer {
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
footer a { color: var(--titanium); }
footer a:hover { color: var(--green); }

@media (max-width: 720px) {
  .wrap { width: min(100% - 32px, 1200px); }
  .topbar {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 0;
  }
  .topbar__links { justify-content: space-between; gap: 12px; }
  main { padding: 56px 0 72px; }
  main::before { left: 16px; }
  h1 { font-size: clamp(3rem, 15vw, 5.2rem); }
  .lede { font-size: 17px; }
  .toc { margin: 38px 0 48px; padding: 22px 20px 23px; }
  .toc ol { columns: 1; }
  article section { padding: 34px 0; }
  .contact { padding: 24px 20px; }
  .legal-facts dl div { display: block; }
  .legal-facts dd { margin-top: 4px; }
  table.transfers,
  table.transfers tbody,
  table.transfers tr,
  table.transfers td,
  table.transfers th,
  table.retention,
  table.retention tbody,
  table.retention tr,
  table.retention td,
  table.retention th { display: block; }
  table.transfers thead,
  table.retention thead { display: none; }
  table.transfers tr,
  table.retention tr { margin-bottom: 14px; border: 1px solid var(--line); }
  table.transfers td,
  table.retention td {
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  table.transfers td:last-child,
  table.retention td:last-child { border-bottom: 0; }
  table.transfers td::before {
    content: attr(data-label) ": ";
    color: var(--green);
    font-weight: 800;
  }
  table.retention td::before {
    display: block;
    margin-bottom: 3px;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  table.retention td:nth-child(1)::before { content: "What"; }
  table.retention td:nth-child(2)::before { content: "How long"; }
  table.retention td:nth-child(3)::before { content: "Why that long"; }
  html[lang^="fr"] table.retention td:nth-child(1)::before { content: "Renseignement"; }
  html[lang^="fr"] table.retention td:nth-child(2)::before { content: "Durée"; }
  html[lang^="fr"] table.retention td:nth-child(3)::before { content: "Pourquoi"; }
  table.retention td:nth-child(2) { white-space: normal; }
}

@media print {
  @page { margin: 16mm; }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.45; }
  .topbar__links, .skip, .langswitch { display: none; }
  .topbar { min-height: 0; padding: 10px 0; }
  main { padding: 20px 0; }
  main::before { display: none; }
  .wrap, article { width: auto; max-width: none; }
  h1, h2, h3, article strong, .eyebrow, .meta strong { color: #000; }
  .lede, .meta, article p, article li, footer { color: #333; }
  .toc, .callout, .legal-facts, .rights-form, .contact { break-inside: avoid; background: #fff; color: #000; box-shadow: none; }
  article section { break-inside: avoid; }
  a { color: #000; text-decoration: none; }
  footer { padding-top: 14px; }
}