:root {
    --navy: #17395c;
    --navy-deep: #0f2a45;
    --plate: #f5b932;
    --rust: #b45309;
    --ink: #16202b;
    --muted: #4a5766;
    --paper: #f4f5f6;
    --card: #fff;
    --line: #d9dee4;
    --link: #17395c;
    --picto-line: #17395c;
    --picto-card: #fff;
}

@media (prefers-color-scheme: dark) {
    :root {
        --ink: #eef2f6;
        --muted: #b6c2ce;
        --paper: #0f1b27;
        --card: #172635;
        --line: #2b3d50;
        --link: #a9cbee;
        --picto-line: #e8f0f8;
        --picto-card: #24405c;
    }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 'Source Sans 3', system-ui, sans-serif; }
h1, h2, h3 { font-family: 'Barlow Semi Condensed', system-ui, sans-serif; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2rem, 6vw, 3.1rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.45rem, 4vw, 1.9rem); margin: 2.2rem 0 .8rem; }
h3 { font-size: 1.2rem; margin: 0 0 .35rem; }
a { color: var(--link); text-underline-offset: .18em; }
a:focus-visible { outline: 3px solid var(--plate); outline-offset: 3px; }
img { max-width: 100%; }
.wrap { width: min(68rem, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: .5rem; background: var(--card); padding: .5rem 1rem; z-index: 2; }

.top { background: var(--card); border-bottom: 1px solid var(--line); }
.top-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; padding: .8rem 0; }
.brand { display: flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font: 700 1.35rem 'Barlow Semi Condensed', system-ui, sans-serif; }
nav { display: flex; align-items: center; gap: 1.1rem; }
.nav-link { color: var(--ink); text-decoration: none; padding: .5rem 0; }
.button { display: inline-block; background: var(--navy); color: #fff; padding: .75rem 1.25rem; border-radius: .6rem; text-decoration: none; font-weight: 600; }
.button.small { padding: .45rem .85rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin: 1.6rem 0 0; }

.hero { position: relative; isolation: isolate; background: var(--navy-deep); color: #fff; padding: clamp(2.2rem, 6vw, 4.5rem) 0 1rem; }
/* The photo sits under a navy veil that is heaviest behind the text, so white keeps its contrast. */
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(15 42 69 / .93) 0%, rgb(15 42 69 / .8) 50%, rgb(15 42 69 / .38) 100%); }
.hero-credit { margin-block: 1.6rem 0; font-size: .85rem; color: #cfdcea; text-align: right; }
.hero-credit a { color: inherit; }
@media (max-width: 56rem) { .hero::after { background: rgb(15 42 69 / .82); } }
.hero-credit { text-shadow: 0 0 .4rem rgb(15 42 69); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.2rem; align-items: center; }
@media (min-width: 56rem) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.hero .lead { font-size: 1.2rem; color: #d6e2ee; max-width: 34rem; margin: 0; }
.hero .button { background: var(--plate); color: #14202d; }
.hero .text-link { color: #fff; }

.sample { margin: 0; }
.sample ul { list-style: none; margin: 0; padding: .4rem 1rem; background: var(--card); color: var(--ink); border-radius: .9rem; box-shadow: 0 1.2rem 3rem rgb(0 0 0 / .3); }
.sample li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem .9rem; align-items: center; padding: .85rem 0; }
.sample li + li { border-top: 1px solid var(--line); }
.sample figcaption { color: #b9cade; font-size: .9rem; margin-top: .6rem; }
.plate { background: var(--plate); color: #111; border: 2px solid #111; border-radius: .35rem; padding: .05rem .5rem; font: 700 1.15rem 'Barlow Semi Condensed', system-ui, sans-serif; letter-spacing: .04em; white-space: nowrap; }
.what { font-weight: 600; }
.tag { grid-column: 2; justify-self: start; font-size: .92rem; border-radius: 99rem; padding: .05rem .7rem; }
.tag.warn { background: #fde9c8; color: #6f3305; }
.tag.ok { background: #d7efdd; color: #14532d; }

.block { padding-block: 1.2rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; padding: 0; margin: 0; list-style: none; counter-reset: step; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: .8rem; padding: 1.1rem 1.2rem; counter-increment: step; }
.steps h3::before { content: counter(step); display: inline-block; min-width: 1.6rem; margin-right: .5rem; padding: 0 .35rem; text-align: center; background: var(--plate); color: #111; border: 2px solid #111; border-radius: .3rem; font-size: 1.05rem; }
.picto { display: block; width: 3.5rem; height: 3.5rem; margin-bottom: .7rem; color: var(--picto-line); }
.picto .p-plate { fill: var(--plate); }
@media (prefers-color-scheme: dark) { .picto .p-plate { stroke: #e8f0f8; } }
.picto .p-card { fill: var(--picto-card); }
.picto .p-strip { fill: #1f4f99; stroke: none; }
.steps p { margin: 0; color: var(--muted); }
.signals { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
@media (min-width: 58rem) {
    .signals { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .signals div { grid-column: span 2; }
    .signals div:nth-child(n+4) { grid-column: span 3; }
}
.signals div { background: var(--card); border: 1px solid var(--line); border-radius: .8rem; padding: 1.1rem 1.2rem; }
.signals dt { margin-bottom: .25rem; font-family: 'Barlow Semi Condensed', system-ui, sans-serif; font-size: 1.2rem; }
.signals dt { font-weight: 700; }
.signals dd { margin: 0; color: var(--muted); }
.note { border-left: .3rem solid var(--plate); padding-left: .9rem; }
.who { max-width: 68rem; padding-bottom: 3rem; }
.who p { max-width: 44rem; }
.who .photo-credits { font-size: .85rem; }

.page-head img { display: block; width: 100%; height: clamp(10rem, 28vw, 20rem); object-fit: cover; object-position: center 65%; }
.page-head h1 { margin: 1.6rem 0 .2rem; }
.page-head p { margin: 0; font-size: .85rem; color: var(--muted); }
.page-head .wrap { max-width: 48rem; }

.prose { max-width: 48rem; padding-block: 2.2rem 3rem; overflow-wrap: break-word; }
.prose table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.prose th, .prose td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: .6rem .6rem .6rem 0; }
@media (max-width: 40rem) {
    .prose thead { display: none; }
    .prose tr { display: block; border-bottom: 1px solid var(--line); padding: .6rem 0; }
    .prose td { display: block; border: 0; padding: .1rem 0; }
    .prose td:first-child { font-weight: 700; }
}

.bottom { border-top: 1px solid var(--line); padding: 1.6rem 0 2rem; color: var(--muted); font-size: .95rem; }
.bottom-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }

.audiences { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.audiences li { overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: .8rem; }
.audiences img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.audiences h3 { margin: .8rem 1rem .25rem; }
.audiences li p { margin: 0 1rem 1rem; color: var(--muted); }
@media (min-width: 40rem) { .audiences { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .audiences { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
