/* assets/site.css v0.1.003 — S136: from 1400 px (NL right group needs it; 1380 px is the lowest width where the NL menu is centred without crowding) #nav is a 3-column grid (1fr auto 1fr), so the menu sits on the true screen centre instead of the gap between the logo and the wider right group; below 1400 px unchanged. Prev v0.1.002 — S134: (#6) NL | EN buttons get a 44 px tap target (the pair is the same on site, auth pages and dashboard); (#7) "For developers" leaves the top bar; (#8) Log in stays visible on phones and leads the drawer. Prev v0.1.001 — S127 (L-21): the shared public-site chrome (header, drawer, footer) lifted from index v0.1.246,
   plus .vstamp. Every rule is scoped under #site-header / #site-drawer / #site-footer so a page's own CSS
   (different :root tokens, its own .btn / .logo / nav rules) cannot leak in or out. */
#site-header, #site-drawer, #site-footer {
  --paper: #FAFAF8; --ink: #0F1312; --jade: #0B7A6E; --jade-dark: #095E55;
  --slate: #5E6866; --line-soft: #E7EAE9;
  font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
#site-header *, #site-drawer *, #site-footer * { box-sizing: border-box; margin: 0; padding: 0; }

/* ── header ── */
#site-header nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 64px; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(15,19,18,0.94); backdrop-filter: blur(16px); }
@media (max-width: 640px) { #site-header nav { padding: 0 20px; } }
#site-header .logo, #site-footer .logo { display: inline-flex; align-items: baseline; text-decoration: none; }
#site-header .logo .izi, #site-footer .logo .izi { font-size: 22px; font-weight: 300; letter-spacing: -0.02em; color: var(--paper); }
#site-header .logo .key, #site-footer .logo .key { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--jade); }
#site-header .nav-center { display: flex; gap: 24px; }
#site-header .nav-link, #site-header .nav-login, #site-header .btn { white-space: nowrap; }
#site-header .nav-link { font-size: 14px; font-weight: 500; color: rgba(250,250,248,0.62); text-decoration: none; }
#site-header .nav-link:hover { color: var(--paper); }
#site-header .nav-link.active, #site-header .nav-link[aria-current="page"] { color: var(--paper); box-shadow: inset 0 -2px 0 var(--jade); padding-bottom: 6px; }
#site-header .nav-center .nav-link { padding: 22px 0 20px; }
#site-header .nav-right { display: flex; align-items: center; gap: 14px; }
#site-header .lang-toggle { display: inline-flex; gap: 2px; }
#site-header .lang-btn, #site-drawer .lang-btn { font-family: inherit; font-size: 13px; font-weight: 600; color: rgba(250,250,248,0.5); background: none; border: none; cursor: pointer; padding: 4px 6px; min-height: 44px; min-width: 44px; border-radius: 4px; }   /* S134 (#6): 44 px tap target */
#site-header .lang-btn.active { color: var(--paper); text-decoration: underline; text-decoration-color: var(--jade); text-decoration-thickness: 2px; text-underline-offset: 5px; }
#site-header .nav-login { font-size: 14px; font-weight: 500; color: rgba(250,250,248,0.7); text-decoration: none; }
#site-header .nav-login:hover { color: var(--paper); }
#site-header .btn, #site-drawer .btn { display: inline-flex; align-items: center; gap: 8px; font-family: inherit; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 999px; padding: 12px 22px; transition: background 0.15s, color 0.15s; cursor: pointer; border: none; }
#site-header .btn-jade, #site-drawer .btn-jade { background: var(--jade); color: #fff; }
#site-header .btn-jade:hover, #site-drawer .btn-jade:hover { background: var(--jade-dark); }
#site-header .btn-sm { font-size: 14px; padding: 9px 18px; }
#site-header .nav-burger { display: none; background: none; border: none; width: 36px; height: 36px; cursor: pointer; align-items: center; justify-content: center; }
#site-header .nav-burger svg { width: 22px; height: 22px; stroke: var(--paper); stroke-width: 1.8; fill: none; }
/* S136: menu on the true screen centre (laptop) */
@media (min-width: 1400px) {
  #site-header nav { display: grid; grid-template-columns: 1fr auto 1fr; }
  #site-header .logo { justify-self: start; }
  #site-header .nav-center { justify-self: center; }
  #site-header .nav-right { justify-self: end; }
}
@media (max-width: 1060px) {
  #site-header .nav-center, #site-header .nav-right .lang-toggle, #site-header .nav-right .btn { display: none; }
  #site-header .nav-burger { display: inline-flex; width: 44px; height: 44px; }
  /* S134 (#8): Log in stays in the phone bar, next to the menu button (small outlined pill, 44 px tall) */
  #site-header .nav-right { gap: 8px; }
  #site-header .nav-right .nav-login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-size: 14px; font-weight: 600; color: var(--paper); border: 1.5px solid rgba(250,250,248,0.4); border-radius: 999px; }
  #site-header .nav-right .nav-login:hover { border-color: var(--paper); }
}
#site-header :focus-visible, #site-drawer :focus-visible, #site-footer :focus-visible { outline: 2px solid var(--jade); outline-offset: 3px; border-radius: 4px; }

/* ── drawer ── */
#site-drawer .nav-drawer-overlay { position: fixed; inset: 0; background: rgba(15,19,18,0.35); z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
#site-drawer .nav-drawer-overlay.open { opacity: 1; pointer-events: all; }
#site-drawer .nav-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 86vw; z-index: 201; background: var(--paper); transform: translateX(100%); transition: transform 0.25s ease; display: flex; flex-direction: column; padding: 72px 28px 28px; overflow-y: auto; visibility: hidden; }
#site-drawer .nav-drawer.open { transform: none; visibility: visible; }
#site-drawer .nav-drawer-link { font-size: 18px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
#site-drawer .nav-drawer-link[aria-current="page"] { color: var(--jade); }
#site-drawer .nav-drawer-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 26px; color: var(--slate); cursor: pointer; }
#site-drawer .nav-drawer-dev { font-size: 14px; font-weight: 500; color: var(--slate); border-bottom: none; border-top: 1px solid var(--line-soft); margin-top: 24px; padding-top: 16px; }   /* S134 (#7): the developer link is last and quiet */
#site-drawer .nav-drawer-lang { display: flex; gap: 8px; margin-bottom: 8px; }
#site-drawer .lang-btn { color: var(--slate); }
#site-drawer .lang-btn.active { color: var(--ink); text-decoration: underline; text-decoration-color: var(--jade); text-decoration-thickness: 2px; text-underline-offset: 5px; }
#site-drawer .btn { margin-top: 24px; justify-content: center; }
#site-drawer .btn-outline { margin: 12px 0 12px; background: transparent; color: var(--jade); border: 1.5px solid var(--jade); }   /* S134 (#8): Log in, first button under NL | EN */
#site-drawer .btn-outline:hover { background: rgba(11,122,110,0.08); }
@media (prefers-reduced-motion: reduce) { #site-drawer .nav-drawer, #site-drawer .nav-drawer-overlay { transition: none; } }

/* ── footer ── */
#site-footer { display: block; background: var(--ink); color: rgba(250,250,248,0.6); padding: 56px 0 36px; font-size: 14px; }
#site-footer .wrap { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 640px) { #site-footer .wrap { padding: 0 22px; } }
#site-footer .f-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
#site-footer .f-tag { margin-top: 8px; font-size: 13px; color: rgba(250,250,248,0.4); }
#site-footer .f-cols { display: flex; gap: 56px; flex-wrap: wrap; }
#site-footer .f-col { display: flex; flex-direction: column; gap: 8px; }
#site-footer .f-h { font-size: 13px; font-weight: 600; color: rgba(250,250,248,0.35); margin-bottom: 2px; }
#site-footer .f-col a { text-decoration: none; color: rgba(250,250,248,0.65); }
#site-footer .f-col a:hover { color: var(--paper); }
#site-footer .f-bot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; color: rgba(250,250,248,0.35); }
#site-footer .f-bot a { color: rgba(250,250,248,0.55); text-decoration: none; }
#site-footer .f-bot a:hover { color: var(--paper); }
#site-footer .f-social { display: flex; gap: 14px; font-size: 18px; }

/* ── version stamp (D-S127 / L-19 1.5): out of sight, text kept in the DOM for the deploy check and the crawl ── */
.vstamp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
