/* Site public de Maşaallah Cargo : charte #320044 (violet) et or #EDB84A, sans dépendance ni police externe.
   L'or ne sert que sur le violet (contraste 9:1) ; sur fond clair, les liens sont violets et soulignés. */
:root {
  --plum: #320044;
  --gold: #edb84a;
  --bg: #ffffff;
  --surface: #f7f2f8;
  --ink: #1d1022;
  --ink-soft: #5a4a60;
  --link: #320044;
  --line: #e4d9e7;
  --note-bg: #fff5dc;
  --note-ink: #5c4300;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #160a1d;
    --surface: #221029;
    --ink: #f3edf5;
    --ink-soft: #c9bccd;
    --link: #edb84a;
    --line: #3a2443;
    --note-bg: #3a2c0b;
    --note-ink: #fbe3a6;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--link); text-underline-offset: 0.15em; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
.skip {
  position: absolute; left: 1rem; top: -4rem; padding: 0.5rem 1rem;
  background: var(--gold); color: var(--plum); font-weight: 700; z-index: 10;
}
.skip:focus { top: 0.5rem; }
.bar { background: var(--plum); color: #fff; }
.bar-inner, main, .foot-inner { max-width: 44rem; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.bar-inner { display: flex; align-items: center; min-height: 3.75rem; }
.brand { color: var(--gold); font-weight: 800; font-size: 1.25rem; text-decoration: none; letter-spacing: 0.01em; }
.brand:focus-visible { outline-color: #fff; }
main { padding-top: 2rem; padding-bottom: 3rem; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 0.75rem; }
h2 { font-size: 1.25rem; line-height: 1.3; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.0625rem; margin: 1.25rem 0 0.25rem; }
p, ul, ol { margin: 0 0 0.9rem; }
li { margin-bottom: 0.35rem; }
.lead { font-size: 1.1875rem; color: var(--ink-soft); }
.meta { color: var(--ink-soft); font-size: 0.9375rem; }
.note {
  background: var(--note-bg); color: var(--note-ink); border-left: 4px solid var(--gold);
  padding: 0.75rem 1rem; border-radius: 4px; margin: 0 0 1.25rem;
}
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.25rem; margin: 0 0 1rem; }
.card h2 { margin-top: 0; }
pre.mail {
  white-space: pre-wrap; word-break: break-word; background: var(--surface); border: 1px solid var(--line);
  border-radius: 8px; padding: 1rem; font: 0.9375rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.button {
  display: inline-block; background: var(--plum); color: var(--gold); font-weight: 700; text-decoration: none;
  padding: 0.75rem 1.25rem; border-radius: 8px; min-height: 48px;
}
@media (prefers-color-scheme: dark) { .button { background: var(--gold); color: var(--plum); } }
.table-wrap { overflow-x: auto; margin: 0 0 1rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.9688rem; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem; border-bottom: 1px solid var(--line); }
.links { list-style: none; padding: 0; }
.links li { margin-bottom: 0.6rem; }
.links a { display: inline-block; padding: 0.4rem 0; font-weight: 600; }
footer { border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.9375rem; }
.foot-inner { padding-top: 1.25rem; padding-bottom: 2rem; }
.foot-inner ul { list-style: none; padding: 0; margin: 0 0 0.5rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.foot-inner a { display: inline-block; padding: 0.5rem 0; }
