*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--mist); color: var(--body);
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  font-size: var(--fs-base); line-height: 1.7; min-height: 100vh;
  display: flex; flex-direction: column; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sapphire); }
h1, h2, h3 { color: var(--navy); line-height: 1.25; }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 600; }
strong { color: var(--navy); }
.measure { max-width: var(--measure); }
.container { width: 100%; max-width: var(--container-site); margin: 0 auto; padding: 0 1.25rem; }
.container-doc { max-width: var(--container-doc); }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--sapphire); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.5rem; border: 1px solid transparent; border-radius: 10px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn-primary { background: var(--sapphire); color: var(--white); }
.btn-primary:hover { background: var(--navy); }
.btn-ghost { background: var(--white); color: var(--sapphire); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--sapphire); }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.site-header { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: .9rem 0; position: sticky; top: 0; z-index: 100; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.logo-icon { width: 34px; height: 34px; background: var(--navy); border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.logo-text { font-size: 1.15rem; font-weight: 700; }
.menu-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle .bar { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded='true'] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-links { position: absolute; top: calc(100% + .9rem); left: 1.25rem; right: 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: .5rem; display: none; flex-direction: column; z-index: 100; box-shadow: 0 12px 32px rgba(11,37,69,.1); }
.nav-links.open { display: flex; }
.nav-links a { padding: .7rem 1rem; border-radius: 8px; font-size: var(--fs-base); font-weight: 500; color: var(--body); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current='page'] { background: var(--mist); color: var(--sapphire); }
@media (min-width: 768px) { .menu-toggle { display: none; } .nav-links { position: static; display: flex; flex-direction: row; align-items: center; gap: .25rem; background: none; border: none; box-shadow: none; padding: 0; } }

.site-footer { background: var(--navy); color: var(--white); padding: 2.5rem 0 2rem; margin-top: auto; font-size: var(--fs-small); }
.site-footer a { color: #9FC4E8; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-bottom: 1.25rem; }
.footer-note { color: #9FC4E8; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
