:root {
    color-scheme: light;
    font-family: system-ui, sans-serif;
    color: #17342b;
    background: #f9f9f5;
    --paper: #f9f9f5;
    --green: #183b2e;
    --line: #d9dfd7;
    --muted: #496158;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; text-underline-offset: .2em; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a06424; outline-offset: 4px; }
.bar { min-height: 73px; padding: 12px clamp(20px, 6vw, 88px); display: flex; align-items: center;
    justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; }
.brand img { width: 155px; height: 48px; object-fit: contain; object-position: left; }
.bar nav { font-size: .9rem; }
.hero { position: relative; min-height: 500px; min-height: min(680px, 75svh);
    display: grid; align-items: end; isolation: isolate; color: white; background: var(--green); overflow: hidden; }
.hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-photo { object-fit: cover; object-position: center 55%; }
.hero::after { content: ''; background: linear-gradient(90deg, #0e201beF 0%, #0e201bcc 35%, #0e201b12 85%); }
.hero-copy { max-width: 52rem; padding: clamp(32px, 7vw, 100px) clamp(20px, 6vw, 88px); animation: appear .45s ease-out; }
.eyebrow { font-size: .79rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1 { letter-spacing: -.048em; line-height: 1.05; }
.hero h1 { font-size: clamp(2.7rem, 6.1vw, 6rem); margin-bottom: 18px; }
.hero-copy > p:not(.eyebrow) { max-width: 39ch; font-size: clamp(1rem, 2vw, 1.2rem); }
.primary { display: inline-flex; gap: 12px; justify-content: center; align-items: center; border-radius: 6px;
    min-height: 46px; padding: 9px 17px; color: white; background: var(--green);
    border: 1px solid transparent; text-decoration: none; font-weight: 700; transition: background .15s, transform .15s; }
.primary:hover { background: #2c5544; transform: translateY(-1px); }
.hero .primary { background: #f6f5eb; color: var(--green); }
.hero .primary:hover { background: #e0eddb; }
.job-details { max-width: 1250px; margin: 0 auto; padding: 50px clamp(20px, 6vw, 88px);
    display: grid; grid-template-columns: 1fr 1fr; gap: 26px 60px; }
.job-column h2, .dialog h1, .dossiers h1, .login h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 20px; }
.job-item { border-top: 1px solid var(--line); padding: 15px 0 4px; }
.job-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.job-item p, .intro, .footer { color: var(--muted); }
.closing { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 24px; }
.footer { border-top: 1px solid var(--line); padding: 18px clamp(20px, 6vw, 88px); font-size: .82rem; }
.dialog, .dossiers { max-width: 760px; margin: auto; padding: 33px 20px 54px; min-height: 72vh; }
.back { display: inline-block; margin-bottom: 20px; font-size: .9rem; }
.dialog h2 { font-size: clamp(1.25rem, 3vw, 1.65rem); line-height: 1.25; }
.dialog section { padding: 24px 0; border-top: 1px solid var(--line); }
.dialog section[aria-busy="true"] { opacity: .65; }
.dialog form:not(.restart), .login form { display: grid; gap: 8px; margin: 16px 0; }
label { font-size: .9rem; font-weight: 650; }
input { min-height: 45px; padding: 8px 11px; border: 1px solid #849a8e; border-radius: 6px;
    color: var(--green); background: white; width: 100%; font-size: 16px; }
.dialog form button { justify-self: start; }
.options { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 20px; }
.choice { min-height: 44px; padding: 7px 12px; border-radius: 6px; background: #eaf1e6; color: var(--green);
    border: 1px solid #9baa9b; font-weight: 650; transition: background .15s; }
.choice:hover { background: #d6ead2; }
summary, .link { cursor: pointer; }
.link { border: 0; background: transparent; color: var(--green); text-decoration: underline; padding: 10px 0; margin-right: 12px; }
.message-history { margin: 16px 0; }
.candidate, .assistant { padding: 8px 12px; margin: 8px 0; border-radius: 8px; overflow-wrap: anywhere; }
.candidate { background: #eaf1e6; margin-left: 15%; }
.assistant { background: #eef0eb; margin-right: 15%; }
#notice:empty { display: none; }
#notice, .error { border-left: 3px solid #7d5930; padding: 9px 12px; background: #f1eadc; overflow-wrap: anywhere; }
.dossier { border-top: 1px solid var(--line); padding: 18px 0; }
.dossier-title { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; }
.dossier-title h2 { margin: 0; }
.dossier .primary { margin-top: 14px; }
dt { font-weight: 700; }
dd { margin: 0 0 10px; }
.access { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login { width: min(100%, 430px); }
@keyframes appear { from { opacity: .4; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
    .bar { min-height: 62px; }
    .brand img { width: 126px; height: 38px; }
    .hero { min-height: max(470px, 68svh); }
    .hero::after { background: linear-gradient(0deg, #0e201bf5 1%, #0e201bd1 35%, #0e201b13 85%); }
    .hero-photo { object-position: 57% center; }
    .hero-copy { padding-bottom: 32px; }
    .job-details { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
