:root {
  color: #24242d;
  background: #f6f1e9;
  font-family: Aptos, "Trebuchet MS", sans-serif;
  font-synthesis: none;
  --ink: #24242d;
  --paper: #f6f1e9;
  --paper-deep: #ebe4da;
  --violet: #5c56ce;
  --violet-deep: #34336e;
  --teal: #2d8f78;
  --teal-pale: #dceee7;
  --coral: #d96d4d;
  --yellow: #e8b743;
  --muted: #6e6b72;
  --line: rgba(36, 36, 45, .14);
  --display: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --site-header-height: 92px;
}

* { box-sizing: border-box; }
html { width: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--site-header-height) + 24px); }
body { width: 100%; min-height: 100vh; margin: 0; padding-top: var(--site-header-height); overflow-x: clip; background: var(--paper); }
body::before { position: fixed; z-index: -1; inset: 0; pointer-events: none; content: ""; opacity: .35; background: radial-gradient(circle, rgba(36,36,45,.08) 0 .6px, transparent .8px) 0 0 / 5px 5px, radial-gradient(circle, rgba(255,255,255,.7) 0 .5px, transparent .7px) 2px 3px / 7px 7px; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
h1, h2, h3 { overflow-wrap: normal; hyphens: manual; text-wrap: balance; }
p, li, a, label, button { overflow-wrap: anywhere; }
.skip-link { position: fixed; z-index: 60; top: 10px; left: 10px; padding: 10px 14px; color: #fff; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: fixed; z-index: 40; inset: 0 0 auto; min-height: var(--site-header-height); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-inline: max(32px,calc((100% - 1240px)/2)); border-bottom: 1px solid var(--line); background: rgba(246,241,233,.92); box-shadow: 0 10px 35px rgba(36,36,45,.05); backdrop-filter: blur(18px); }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border-radius: 14px; filter: drop-shadow(0 6px 10px rgba(42,42,55,.14)); }
.brand span, .brand strong, .brand small { display: block; }
.brand strong { font: 700 18px/1 var(--display); letter-spacing: -.02em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(16px,2.5vw,34px); }
.main-nav a { color: #5f5c64; font-size: 13px; font-weight: 700; text-decoration: none; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--violet-deep); }
.language-nav { justify-self: end; display: flex; gap: 13px; }
.language-nav a { padding: 5px 0; border-bottom: 2px solid transparent; color: #858087; font-size: 11px; font-weight: 800; text-decoration: none; }
.language-nav a[aria-current="page"] { border-color: var(--violet); color: var(--ink); }
.menu-toggle, .mobile-menu { display: none; }
.menu-toggle { width: 48px; height: 48px; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line); border-radius: 15px 22px 15px 22px; color: var(--ink); background: rgba(255,255,255,.42); cursor: pointer; }
.menu-icon { position: relative; width: 20px; height: 14px; display: block; }
.menu-icon i { position: absolute; left: 0; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, top .2s ease; }
.menu-icon i:first-child { top: 2px; }
.menu-icon i:last-child { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-icon i:first-child { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon i:last-child { top: 6px; transform: rotate(-45deg); }
.mobile-nav { display: grid; }
.mobile-nav a { padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--ink); font: 700 clamp(30px,8vw,44px)/1 var(--display); letter-spacing: -.035em; text-decoration: none; }
.mobile-language { display: flex; gap: 24px; padding-top: 28px; }
.mobile-language a { padding: 7px 0; border-bottom: 2px solid transparent; color: var(--muted); font-size: 12px; font-weight: 900; text-decoration: none; }
.mobile-language a[aria-current="page"] { border-color: var(--violet); color: var(--ink); }
.public-footer { width: 100%; margin: 0; border-top: 1px solid var(--line); color: #737078; background: rgba(235,228,218,.52); font-size: 11px; }
.footer-inner { width: min(1240px,calc(100% - 64px)); min-height: 96px; display: grid; grid-template-columns: max-content minmax(0,1fr); align-items: center; gap: 12px 40px; margin-inline: auto; padding-block: 24px; }
.brand-slogan { min-width: 0; max-width: 100%; margin: 0; font-weight: 500; line-height: 1.55; text-wrap: balance; overflow-wrap: normal; }
.hero-slogan { margin-bottom: 22px; color: var(--teal); font-size: clamp(14px,1.3vw,17px); }
.footer-slogan { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.footer-brand { color: var(--ink); font: 700 15px var(--display); white-space: nowrap; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 11px 24px; }
.public-footer a { text-decoration: none; }
.public-footer a:hover, .public-footer a:focus-visible { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid rgba(92,86,206,.28); outline-offset: 3px; }

@media (max-width: 940px) {
  :root { --site-header-height: 78px; }
  .site-header { grid-template-columns: 1fr auto; }
  .site-header { padding-inline: max(18px,calc((100% - 680px)/2)); }
  .main-nav, .language-nav { display: none; }
  .menu-toggle { display: inline-flex; justify-self: end; }
  .mobile-menu:not([hidden]) { position: absolute; z-index: 39; top: 100%; right: 0; left: 0; height: calc(100dvh - var(--site-header-height)); display: grid; align-content: start; padding: 28px max(24px,calc((100% - 680px)/2)) 40px; overflow-y: auto; background: var(--paper); }
  body.menu-open { overflow: hidden; }
  .footer-inner { width: min(680px,calc(100% - 48px)); grid-template-columns: 1fr; align-content: center; gap: 18px; padding-block: 28px; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .site-header { padding-inline: 12px; }
  .brand img { width: 42px; height: 42px; }
  .brand small { display: none; }
  .mobile-menu:not([hidden]) { padding-inline: 20px; }
  body h1 { max-width: 100%; font-size: clamp(40px,13vw,56px); line-height: .96; }
  body h2, body h3 { max-width: 100%; }
  .footer-inner { width: calc(100% - 40px); }
  .footer-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; gap: 14px 20px; }
}
