:root {
  --blue: #2ea3f2;
  --teal: #074c5f;
  --slate: #435a7b;
  --text: #666;
  --heading: #333;
  --rule: #999;
  --bg: #fff;
  --container: 1080px;
  --font: "Open Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 14px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  color: var(--heading);
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 .5em;
  overflow-wrap: break-word;
  hyphens: auto;
}
h1, h2 { font-size: 26px; }
h3 { font-size: 20px; }

p { margin: 0 0 1em; }

.container {
  width: 80%;
  max-width: var(--container);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 8px 12px;
  background: var(--teal);
  color: #fff;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

/* Header */
.site-header {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
  position: relative;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
.logo img { display: block; width: 225px; }

.site-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: rgba(0, 0, 0, .6);
  font-size: 14px;
  font-weight: 600;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); text-decoration: none; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 24px; height: 2px;
  background: var(--blue);
  position: relative;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }

/* Hero */
.hero {
  background: var(--hero-bg) center / cover no-repeat;
  text-align: center;
  padding: 60px 0 50px;
}
.hero-title {
  color: var(--teal);
  font-size: clamp(30px, 6vw, 80px);
  hyphens: auto;
  line-height: 1.1;
  margin: 0 0 .2em;
}
.hero-subtitle {
  color: var(--teal);
  font-size: clamp(16px, 2vw, 26px);
  line-height: 1.3;
  margin: 0;
}

/* Content sections */
.section { padding: 54px 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-narrow { padding-top: 40px; }

.center { text-align: center; }

.grid {
  display: grid;
  gap: 40px 5.5%;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-middle { align-items: center; }

.figure-center { display: block; margin-inline: auto; }

.rule { border: 0; border-top: 1px solid var(--rule); margin: 30px 0; }

/* Long legal text pages */
.prose { max-width: 860px; }
.prose h1 { font-size: 30px; margin-bottom: .8em; }
.prose h2 { font-size: 20px; margin-top: 1.6em; }
.prose h3 { font-size: 16px; font-weight: 600; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }

/* Media bank */
.media-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 36px;
  margin-top: 30px;
}
.media-list figure { margin: 0; }
.media-list img { display: block; margin-bottom: 10px; border: 1px solid #eee; }
.media-list figcaption { font-size: 13px; }

/* Forms */
.contact-form { margin-top: 40px; }
.contact-form label { display: block; color: var(--text); margin-bottom: 4px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 0;
  font: inherit;
  color: #333;
  background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}
.contact-form .checkboxes { border: 0; padding: 0; margin: 0 0 1em; }
.contact-form .checkboxes legend { padding: 0; margin-bottom: 4px; }
.contact-form .checkboxes label { display: inline-flex; align-items: center; gap: 6px; margin: 0 18px 0 16px; }
.contact-form .checkboxes label:first-of-type { margin-left: 16px; }
.cf-turnstile { margin-bottom: 1em; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.button {
  display: inline-block;
  padding: 8px 20px;
  border: 2px solid #ccc;
  border-radius: 3px;
  background: #fff;
  color: #333;
  font: 400 18px/1.4 var(--font);
  cursor: pointer;
}
.button:hover { background: #f4f4f4; }
.button:disabled { opacity: .6; cursor: progress; }
.button-primary { background: #1e73be; border-color: #1e73be; color: #fff; }
.button-primary:hover { background: #185f9d; }

.form-status {
  display: none;
  padding: 12px 16px;
  margin: 30px 0 0;
  border-left: 4px solid;
}
.form-status.is-visible, .form-status:target { display: block; }
.form-status-ok { border-color: #46b450; background: #f0f9f0; color: #2a6b30; }
.form-status-error { border-color: #dc3232; background: #fdf0f0; color: #8a1f1f; }

/* Footer */
.site-footer {
  padding: 20px 0 40px;
  font-size: 12px;
  color: #333;
}
.site-footer a { color: #000; }

/* Consent banner */
.consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  width: min(440px, calc(100% - 32px));
  padding: 20px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .25);
  font-size: 12px;
  line-height: 1.5;
  color: #222;
}
.consent[hidden] { display: none; }
.consent-title { text-align: center; font-size: 14px; margin-bottom: 1em; }
.consent-actions { display: flex; gap: 10px; margin-top: 16px; }
.consent-actions .button { flex: 1; font-size: 14px; }

/* Responsive */
@media (max-width: 980px) {
  .container { width: auto; margin-inline: 16px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 3px solid var(--blue);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 10px 16px; }
  .site-nav li a { display: block; padding: 10px 5%; }
  .logo img { width: 160px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 36px 0; }
}
