:root {
  --midnight: #18324A;
  --maple: #C43C43;
  --steel: #587A88;
  --offwhite: #F2F3F1;
  --charcoal: #333F46;
  --bg: #F2F3F1;
  --surface: #FFFFFF;
  --masthead: #F2F3F1;
  --fg: #333F46;
  --heading: #18324A;
  --muted: #587A88;
  --accent: #C43C43;
  --accent-hover: #A83238;
  --line: #D5DBDD;
  --field: #FFFFFF;
  --field-line: #B9C4C8;
  --focus: #587A88;
  --footer-bg: #18324A;
  --footer-fg: #C9D3D8;
  --font: "Lato", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --measure: 40rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101F2D; --surface: #18324A; --masthead: #F2F3F1;
    --fg: #D9DFE1; --heading: #F2F3F1; --muted: #93AEB9;
    --accent: #D9575D; --accent-hover: #E36D72; --line: #2A4560;
    --field: #13283B; --field-line: #3A5873; --focus: #93AEB9;
    --footer-bg: #0B1621; --footer-fg: #93AEB9;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101F2D; --surface: #18324A; --masthead: #F2F3F1;
  --fg: #D9DFE1; --heading: #F2F3F1; --muted: #93AEB9;
  --accent: #D9575D; --accent-hover: #E36D72; --line: #2A4560;
  --field: #13283B; --field-line: #3A5873; --focus: #93AEB9;
  --footer-bg: #0B1621; --footer-fg: #93AEB9;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { height: 100%; }
[hidden] { display: none !important; }
img { max-width: 100%; }
html, body { background: var(--bg); }
body {
  margin: 0; color: var(--fg); font-family: var(--font);
  font-size: 1.0625rem; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100%;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--masthead);
}
.wrap {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 480px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.masthead {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9;
  background: var(--masthead);
  border-bottom: 1px solid rgba(24, 50, 74, 0.12);
}
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 18px; flex-wrap: wrap;
}
.brand { display: block; line-height: 0; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 32px; }
.nav a {
  text-decoration: none; color: #18324A; font-weight: 700;
  font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding-block: 6px; border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav a:hover { color: #C43C43; }
.nav a[aria-current="page"] { border-bottom-color: #C43C43; }
@media (max-width: 520px) {
  .brand img { height: 40px; }
  .nav { gap: 22px; }
}
main { flex: 1; }
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px); }
.eyebrow {
  margin: 0 0 18px; color: var(--muted); font-weight: 700;
  font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 40px; height: 3px; background: var(--accent); }
h1 {
  margin: 0; color: var(--heading); font-weight: 900;
  font-size: clamp(2.25rem, 6vw, 4.5rem); line-height: 1.04;
  letter-spacing: -0.02em; text-wrap: balance; max-width: 15ch;
}
h1 .line2 { display: block; font-weight: 300; color: var(--muted); }
.band { margin: 0; }
.band img {
  display: block; width: 100%; max-width: 100%; height: auto;
  aspect-ratio: 4 / 1; object-fit: cover;
}
@media (max-width: 700px) {
  .band img { aspect-ratio: 16 / 9; }
}
.copy { padding-block: clamp(40px, 6vw, 80px); }
.copy-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: start;
}
.copy-label {
  margin: 6px 0 0; color: var(--accent); font-weight: 700;
  font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.copy p.lede {
  margin: 0; max-width: var(--measure); color: var(--heading);
  font-size: clamp(1.1875rem, 2.1vw, 1.5rem); line-height: 1.55; font-weight: 300;
  text-wrap: pretty;
}
@media (max-width: 760px) {
  .copy-inner { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
.cta-row { padding-block: 0 clamp(56px, 8vw, 96px); }
.cta-row .wrap .inner {
  border-top: 1px solid var(--line); padding-top: 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.cta-row p { margin: 0; color: var(--heading); font-size: 1.25rem; font-weight: 700; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: #FFFFFF; border: 0; border-radius: 2px;
  font: 700 0.875rem/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 16px 30px; cursor: pointer; text-decoration: none;
  transition: background .2s;
}
.btn:hover { background: var(--accent-hover); }
.contact { padding-block: clamp(48px, 8vw, 96px); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); max-width: 12ch; }
.email-block { margin-top: 32px; }
.email-block .label {
  margin: 0 0 8px; color: var(--muted); font-weight: 700;
  font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.email-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.email-line a {
  color: var(--heading); font-size: 1.375rem; font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--accent); user-select: all; word-break: break-all;
}
.copy-btn {
  background: transparent; color: var(--muted); border: 1px solid var(--field-line);
  font: 700 0.75rem/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 2px; cursor: pointer;
}
.copy-btn:hover { color: var(--heading); border-color: var(--muted); }
.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-top: 4px solid var(--midnight);
  padding: clamp(24px, 4vw, 44px);
}
:root[data-theme="dark"] .form-card { border-top-color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form-card { border-top-color: var(--accent); } }
.form-card h2 { margin: 0 0 6px; color: var(--heading); font-size: 1.75rem; font-weight: 900; }
.form-card .note { margin: 0 0 28px; color: var(--muted); font-size: 0.9375rem; }
.req { color: var(--accent); }
form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
@media (max-width: 560px) { form { grid-template-columns: minmax(0, 1fr); } }
label { color: var(--heading); font-weight: 700; font-size: 0.9375rem; }
input, textarea {
  width: 100%; font: 400 1rem/1.5 var(--font); color: var(--fg);
  background: var(--field); border: 1px solid var(--field-line); border-radius: 2px;
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 160px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(88, 122, 136, 0.25); }
.field.invalid input, .field.invalid textarea { border-color: var(--accent); }
.err { color: var(--accent); font-size: 0.8125rem; min-height: 0; }
.err:empty { display: none; }
.actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.status {
  grid-column: 1 / -1; border-left: 4px solid var(--steel);
  background: var(--bg); padding: 16px 18px; font-size: 0.9375rem;
}
.status strong { color: var(--heading); }
.status p { margin: 0; }
.status p + p { margin-top: 6px; }
.site-footer { background: var(--footer-bg); color: var(--footer-fg); }
.site-footer .wrap {
  padding-block: 28px; display: flex; flex-wrap: wrap; gap: 12px 24px;
  align-items: center; justify-content: space-between; font-size: 0.875rem;
}
.site-footer .domain { letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; font-size: 0.75rem; }
.site-footer .rule { display: inline-block; width: 24px; height: 2px; background: #C43C43; vertical-align: middle; margin-right: 12px; }
@media (prefers-reduced-motion: no-preference) {
  main { animation: fadein .35s ease-out; }
  @keyframes fadein { from { opacity: .4; } to { opacity: 1; } }
}

/* Additions for the multi-page build */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 20;
  background: var(--midnight); color: #FFFFFF; padding: 10px 16px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { grid-column: 1 / -1; min-height: 65px; max-width: 100%; overflow: hidden; }
.btn[disabled] { opacity: .6; cursor: progress; }
.status.error { border-left-color: var(--accent); }

/* Cookie banner (same behaviour as the playbook site) */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: var(--midnight); color: #E2EAF0; border-top: 3px solid var(--maple);
  padding: 1.1rem max(24px, env(safe-area-inset-left, 0px)) calc(1.1rem + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
#cookie-banner p { font-size: 0.875rem; line-height: 1.5; margin: 0; flex: 1; min-width: 220px; }
#cookie-banner a { color: #FFFFFF; }
#cookie-banner :focus-visible { outline-color: #FFFFFF; }
.cookie-btns { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-cookie-accept, .btn-cookie-decline {
  font: 700 0.8125rem/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 12px 18px; border-radius: 2px; cursor: pointer;
}
.btn-cookie-accept { background: var(--maple); color: #FFFFFF; border: 1px solid #A83238; }
.btn-cookie-accept:hover { background: #A83238; }
.btn-cookie-decline { background: transparent; color: #FFFFFF; border: 1px solid #ACBCC8; }
#cookie-banner.hidden { display: none; }
@media (max-width: 480px) { #cookie-banner { padding-left: 16px; padding-right: 16px; } }

/* Footer legal links */
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.8125rem; }
.footer-legal a { color: var(--footer-fg); text-decoration: none; }
.footer-legal a:hover { color: #FFFFFF; text-decoration: underline; }
.site-footer :focus-visible { outline-color: #FFFFFF; }

/* Privacy policy */
.legal { padding-block: clamp(48px, 8vw, 96px); }
.legal .prose { max-width: 860px; }
.legal h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); max-width: none; margin-bottom: 10px; }
.legal h2 { color: var(--heading); font-size: 1.5rem; font-weight: 900; margin: 44px 0 12px; }
.legal h3 { color: var(--heading); font-size: 1.1875rem; font-weight: 700; margin: 26px 0 8px; }
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 18px; padding-left: 1.4rem; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--heading); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.effective-date { display: block; font-size: 0.875rem; color: var(--muted); margin-bottom: 30px; }
.table-scroll { overflow-x: auto; margin: 0 0 24px; }
.rights-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.9375rem; }
.rights-table th, .rights-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.rights-table th { background: var(--surface); color: var(--heading); }

/* Language switch (FR / EN) in the main nav */
.nav a.lang-link { padding-left: 14px; border-left: 1px solid var(--field-line); border-bottom-color: transparent; }
