@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque-latin-opsz-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(/fonts/figtree-latin-wght-normal.woff2) format('woff2');
}

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

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

body {
  margin: 0;
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #33465A;
  font-size: 17px;
  line-height: 1.6;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

a { color: #0B6E78; }
a:hover { color: #084F57; }
a:focus-visible, button:focus-visible { outline: 3px solid #E0A33A; outline-offset: 2px; border-radius: 4px; }

section[id], div[id] { scroll-margin-top: 16px; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.skip { position: absolute; left: -9999px; top: 0; background: #FFFFFF; color: #0F2238; padding: 12px 16px; z-index: 10; font-weight: 600; }
.skip:focus { left: 8px; top: 8px; }

/* Top bar */
.topbar { background: #0F2238; color: #DCE5EC; font-size: 14px; }
.topbar-in { display: flex; flex-wrap: wrap; gap: 0 24px; justify-content: space-between; align-items: center; }
.topbar-note { padding: 12px 0; }
.topbar-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.topbar-links a { color: #FFFFFF; text-decoration: none; padding: 12px 0; display: inline-block; }
.topbar-links a:hover { color: #FFFFFF; text-decoration: underline; }

/* Header */
.site-header { background: #FFFFFF; border-bottom: 1px solid #D6DEE5; }
.header-in { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
.brand { text-decoration: none; color: #0F2238; display: flex; flex-direction: column; gap: 2px; }
.brand:hover { color: #0F2238; }
.brand-name { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.brand-role { font-size: 12px; color: #55677A; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; align-items: center; font-size: 16px; }
.nav a { color: #0F2238; text-decoration: none; font-weight: 500; padding: 10px 0; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; font-weight: 600; }
.nav a.nav-cta { display: inline-block; background: #0B6E78; color: #FFFFFF; padding: 11px 20px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.nav a.nav-cta:hover { background: #084F57; color: #FFFFFF; text-decoration: none; }

/* Doctify widgets */
.doctify-widget { display: block; border: 0; }
.doctify-embed { background: #0F2238; border-radius: 16px; padding: 16px; min-height: 180px; }
.doctify-footer { margin-top: 14px; max-width: 340px; }

/* Footer */
.site-footer { background: #0A1929; color: #B9C6D3; font-size: 15px; }
.footer-in { padding-top: 56px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 36px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; }
.footer-about { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-name { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 600; color: #FFFFFF; }
.footer-links { display: flex; flex-direction: column; }
.footer-links a { color: #FFFFFF; text-decoration: none; padding: 10px 0; overflow-wrap: anywhere; }
.footer-links a:hover { text-decoration: underline; }
.footer-base { border-top: 1px solid #24384E; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 0 24px; justify-content: space-between; align-items: center; }
.footer-base a { color: #B9C6D3; padding: 10px 0; }

/* Long-form text (privacy notice) */
.prose h2 { margin: 40px 0 10px; font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; line-height: 1.2; font-weight: 600; color: #0F2238; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }

/* Smaller screens: the page content carries its own layout, so these only tighten spacing and type */
@media (max-width: 860px) {
  .header-in { flex-direction: column; align-items: flex-start; }
  .nav { gap: 0 22px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .topbar-note { display: none; }
  main section > div { padding: 48px 20px !important; }
  main h2 { font-size: 28px !important; }
  main section p[style*="font-size: 19px"], main section p[style*="font-size: 20px"] { font-size: 17px !important; }
  .nav a.nav-cta { margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
