@import url('fonts.css');

:root {
  --blue: #3f72af;
  --navy: #112d4e;
  --light: #dbe2ef;
  --paper: #f9f7f7;
  --white: #fff;
  --line: #dbe2ef;
  --sans: 'Raleway', Arial, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--navy); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open, body:has(dialog[open]) { overflow: hidden; }
a { color: var(--blue); text-underline-offset: 4px; }
a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.25; }
h1, h2, h3, p, a, li { overflow-wrap: anywhere; }
h1 { font-size: 44px; }
h2 { color: var(--blue); font-size: 32px; }
h3 { font-size: 21px; }
p + p { margin-top: 16px; }
ul { padding-left: 20px; margin: 18px 0 0; }
li + li { margin-top: 6px; }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 64px; }
.section + .section { border-top: 1px solid var(--line); }
.section h2 { margin-bottom: 30px; }
.light { background: var(--light); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.card h3 { margin-bottom: 14px; }
.grid .card h3 { min-height: 2.5em; }
.nowrap { white-space: nowrap; }
.card p { font-size: 14px; line-height: 1.75; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a:hover { color: var(--blue); text-decoration: underline; }
.card .text-link { display: inline-block; margin-top: 20px; font-size: 13px; font-weight: 600; }
.resource-card { display: flex; flex-direction: column; align-items: flex-start; }
.resource-card .text-link { margin-top: auto; padding-top: 20px; }
.card ul { font-size: 14px; }
.card:target { outline: 2px solid var(--blue); outline-offset: 4px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 21px; border: 1px solid var(--blue); border-radius: 5px; color: white; background: var(--blue); text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.5; }
.button:hover { background: var(--navy); color: white; border-color: var(--navy); }
.button.secondary { color: var(--blue); background: transparent; }
.button.secondary:hover { color: white; background: var(--blue); }
.actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.skip { position: fixed; top: 8px; left: 12px; z-index: 100; padding: 12px; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header { background: var(--blue); color: white; position: sticky; top: 0; z-index: 50; }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; flex-shrink: 0; }
.brand:hover { color: white; }
.brand-mark { width: 47px; height: 52px; border: 1.5px solid var(--light); border-radius: 4px; color: var(--light); font: 700 31px/1 var(--serif); display: grid; place-items: center; }
.brand-name { display: block; font: 700 19px/1.3 var(--serif); letter-spacing: .025em; }
.brand-claim { display: block; margin-top: 3px; font-size: 9px; letter-spacing: .055em; text-transform: uppercase; }
.nav-wrap { display: flex; align-items: center; gap: 24px; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { font-size: 13px; font-weight: 500; padding: 9px 0; color: white; text-decoration: none; border-bottom: 1px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { border-color: white; }
.languages { display: flex; gap: 9px; align-items: center; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.4); font-size: 11px; }
.languages a, .languages span { color: white; text-decoration: none; padding: 4px 0; }
.languages [aria-current] { font-weight: 700; border-bottom: 1px solid white; }
.site-header a:focus-visible, .menu-toggle:focus-visible { outline-color: white; }
.menu-toggle { display: none; color: white; border: 1px solid rgba(255,255,255,.65); border-radius: 4px; background: transparent; width: 40px; height: 40px; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .close-icon { display: none; }
.menu-toggle[aria-expanded=true] .close-icon { display: block; }
.menu-toggle[aria-expanded=true] .menu-icon { display: none; }
.hero { background: var(--navy); color: white; text-align: center; padding-block: 58px 60px; }
.hero h1 { max-width: 1030px; margin-inline: auto; }
.hero p { max-width: 820px; margin: 24px auto 0; font-size: 19px; line-height: 1.7; }
.hero .actions { margin-top: 28px; }
.hero .button.secondary { color: white; background: transparent; border-color: rgba(255,255,255,.8); }
.hero .button.secondary:hover { background: var(--blue); border-color: var(--blue); }
.hero a:focus-visible { outline-color: white; }
.hero button:focus-visible { outline-color: white; }
.hero [data-voicebot] { gap: 9px; }
.hero [data-voicebot] svg { flex-shrink: 0; }
.hero [data-voicebot]:disabled { opacity: .75; cursor: wait; }
.hero .bot-status { font-size: 14px; margin-top: 16px; }
elevenlabs-convai {
  position: fixed !important;
  bottom: 10px !important;
  right: 10px !important;
  transform: scale(1);
  transform-origin: bottom right;
  z-index: 9999;
}
.mandates .card { border-color: transparent; }
.mandates h3 { font-size: 21px; }
.mandates a { color: var(--navy); }
.profile-layout { display: flex; gap: 30px; align-items: flex-start; max-width: 950px; }
.profile-photo { width: 104px; height: 120px; object-fit: cover; object-position: 50% 35%; border-radius: 5px; flex: 0 0 104px; }
.profile-copy p { max-width: 760px; }
.profile-copy .button { margin-top: 24px; }
.contact-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 80px; }
.contact-layout p { max-width: 570px; }
.contact-details { display: grid; grid-template-columns: 1fr; gap: 8px; font-size: 14px; }
.contact-details a { color: var(--navy); width: fit-content; }
.contact-address { margin-top: 14px; font-style: normal; font-size: 13px; }
.contact-extra { margin-top: 20px; font-size: 13px; }
.contact-extra a { color: var(--navy); }
.site-footer { background: var(--blue); color: white; padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner .brand-mark { width: 39px; height: 44px; font-size: 26px; }
.footer-inner .brand-name { font-size: 16px; }
.footer-inner .brand-claim { font-size: 8px; }
.footer-right { text-align: right; font-size: 11px; }
.footer-right p { margin-bottom: 10px; }
.footer-links { display: flex; justify-content: flex-end; gap: 20px; }
.footer-links a { color: white; }
.subpage .hero { padding-block: 45px; }
.subpage .hero h1 { font-size: 38px; }
.subpage .hero p { font-size: 17px; }
.subpage .grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.section-tail { margin-top: 30px; }
.legal-dialog { width: min(760px, calc(100% - 32px)); max-height: 85dvh; padding: 0; border: 1px solid var(--line); border-radius: 5px; color: var(--navy); background: var(--paper); }
.legal-dialog::backdrop { background: rgba(17,45,78,.55); }
.dialog-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--line); background: var(--paper); font-size: 12px; }
.dialog-close { border: 1px solid var(--line); border-radius: 4px; min-height: 40px; padding: 6px 12px; background: transparent; color: var(--navy); }
.legal-content { padding: 26px; }
.legal-content .container { width: 100%; }
.legal-content h2 { font-size: 27px; margin-bottom: 20px; }
.legal-content h3 { font-size: 20px; margin: 24px 0 12px; }
.legal-content p, .legal-content li { font-size: 13px; }
.review { padding: 45px 0; }
.review h1 { font-size: 34px; margin-bottom: 24px; }
.review .actions { justify-content: flex-start; margin-top: 26px; }
.review ul { margin-top: 30px; max-width: 800px; }
.review p { max-width: 800px; }
.review .review-note { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 30px; font-size: 14px; }
@media (max-width: 1080px) {
  .brand-name { font-size: 16px; }
  .brand-claim { font-size: 8px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 12px; }
  .nav-wrap { gap: 18px; }
  .card { padding: 23px; }
}
@media (max-width: 920px) {
  .header-inner { min-height: 78px; }
  .menu-toggle { display: flex; }
  .brand-name { font-size: 19px; }
  .brand-claim { font-size: 9px; }
  .nav-wrap { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--blue); padding: 22px 32px; border-top: 1px solid rgba(255,255,255,.35); max-height: calc(100dvh - 78px); overflow-y: auto; }
  .nav-wrap.is-open { display: flex; align-items: stretch; flex-direction: column; }
  .main-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { font-size: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.3); }
  .languages { border: 0; padding: 12px 0 0; gap: 24px; font-size: 14px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 17px; }
  .grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mandates .grid { grid-template-columns: 1fr; gap: 14px; }
  .section { padding-block: 50px; }
  .contact-layout { gap: 40px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 94px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 74px; gap: 12px; }
  .brand { gap: 9px; }
  .brand-mark { width: 35px; height: 41px; font-size: 26px; }
  .brand-name { font-size: 13px; letter-spacing: .015em; }
  .brand-claim { font-size: 7.5px; letter-spacing: .02em; }
  .menu-toggle { flex-shrink: 0; }
  .nav-wrap { padding: 18px 20px; max-height: calc(100dvh - 74px); }
  .hero { padding-block: 35px 38px; }
  .hero h1 { font-size: 31px; line-height: 1.22; }
  .hero p { margin-top: 20px; font-size: 16px; line-height: 1.65; }
  .hero .actions { gap: 12px; margin-top: 24px; }
  .hero .button { width: 100%; }
  .section { padding-block: 42px; }
  .section h2 { font-size: 28px; margin-bottom: 24px; }
  .grid, .subpage .grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .card { padding: 23px; }
  .card h3 { font-size: 21px; }
  .grid .card h3 { min-height: 0; }
  .card p { font-size: 14px; }
  .profile-layout { gap: 20px; flex-wrap: wrap; }
  .profile-photo { width: 88px; height: 102px; flex-basis: 88px; }
  .profile-copy { flex: 1 1 220px; }
  .profile-copy p { font-size: 15px; }
  .profile-copy .button { font-size: 13px; margin-top: 20px; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-layout p { font-size: 15px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 25px; }
  .footer-inner .brand-name { font-size: 13px; }
  .footer-inner .brand-claim { font-size: 7px; }
  .footer-right { text-align: left; }
  .footer-links { justify-content: flex-start; }
  .subpage .hero { padding-block: 32px; }
  .subpage .hero h1 { font-size: 30px; }
  .subpage .hero p { font-size: 15px; }
  .review { padding: 32px 0; }
  .review h1 { font-size: 29px; }
  .review p, .review li { font-size: 14px; }
  .review .actions { gap: 12px; }
  .legal-content { padding: 20px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .brand-name { font-size: 11.5px; }
  .brand-claim { font-size: 6.8px; }
  .brand { gap: 7px; }
  .brand-mark { width: 31px; height: 38px; font-size: 24px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .section h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
