/* GENERATED by tools/website/build-signup-pages.py from index.html's MENU-CSS block
   (tools/website/site_menu.py). Do not edit: change index.html and re-run the generator. */
/* Design-token defaults for the menu; the page's own :root wins (zero specificity). */
:where(:root){--brand-gold:#378ADD;--brand-gold-deep:#185FA5;--brand-navy:#042C53;--dur-base:0.25s;--dur-fast:0.15s;--dur-slow:0.5s;--ease-out:cubic-bezier(0.22, 1, 0.36, 1);--font-body:'Plus Jakarta Sans', -apple-system, sans-serif;--font-display:'Fraunces', Georgia, serif;--font-mono:'JetBrains Mono', 'SF Mono', monospace;--glass-bg:rgba(240, 246, 255, 0.60);--glass-border:rgba(255, 255, 255, 0.75);--glass-shadow:0 8px 32px rgba(4, 44, 83, 0.14);--ink-dim:#3A5A7C;--ink-faint:#47678A;--ink-soft:#1E3A5C;--nm-pressed-sm:inset 3px 3px 6px var(--surface-lo), inset -3px -3px 6px var(--surface-hi);--nm-raised-sm:5px 5px 12px var(--surface-lo), -5px -5px 12px var(--surface-hi);--nm-raised-xs:3px 3px 7px var(--surface-lo), -3px -3px 7px var(--surface-hi);--r-2xl:36px;--r-full:9999px;--r-lg:20px;--r-md:14px;--r-xl:28px;--surface:#E4EBF5;--surface-hi:#F5F8FD;--surface-lo:#A0B4CF;--surface-raised:#EBF1F9}
/* MENU-CSS:BEGIN — tools/website/site_menu.py copies this block verbatim into
   the FAQ / legal / support pages; it must stand on its own (no other rule). */
/* ========================================================================
   NAVIGATION (2026-10-21, owner option A)
   ≥1000px  glass sidebar, 264px; folds to a 64px icon rail (default rail
            1000–1279px, open from 1280px; the rail button pins the choice
            in html[data-sidebar]). A rail opens over the page on hover or
            keyboard focus — the content never moves.
   <1000px  slim top bar that scrolls away + fixed bottom tab bar; "Plis"
            opens the menu sheet (Konekte, Enskri, lang, legal).
   ======================================================================== */
/* --on-brand: text and icons on the brand fills (navy, the sign-up gradient). */
:root { --sb-open: 264px; --sb-rail: 64px; --sb-inset: 16px; --sb-w: 0px; --tabbar-h: 64px; --on-brand: #fff; }
/* Menu-local resets, zero specificity: the block also ships on the FAQ / legal
   pages, whose own ul / p / link rules must not leak into the menu. */
:where(.chrome) a { color: inherit; text-decoration: none; }
:where(.chrome) ul, :where(.chrome) li, :where(.chrome) p { margin: 0; padding: 0; }
:where(.chrome) img { display: block; max-width: 100%; }
:where(.chrome) button { font: inherit; }
.ico {
  width: 20px; height: 20px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
#i-more circle { fill: currentColor; stroke-width: 1.4; }

/* ── language switch (sidebar pills + sheet row) ── */
.lang-switch {
  display: flex; gap: 2px; align-items: center;
  background: var(--surface); border-radius: var(--r-full);
  box-shadow: var(--nm-pressed-sm); padding: 3px;
}
.lang-btn {
  flex: 1; text-align: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; color: var(--ink-dim);
  padding: 7px 10px; border-radius: var(--r-full); line-height: 1;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.lang-btn:hover { color: var(--brand-navy); background: rgba(255,255,255,0.6); }
.lang-btn.active { background: var(--brand-navy); color: var(--on-brand); box-shadow: 0 2px 8px rgba(4,44,83,0.25); }

/* ── sidebar (≥1000px) ── */
.nav { display: none; }
.topbar, .tabbar { display: none; }
@media (min-width: 1000px) {
  :root { --sb-w: var(--sb-rail); }
  html[data-sidebar="open"] { --sb-w: var(--sb-open); }
  body { padding-left: calc(var(--sb-w) + var(--sb-inset) * 2); }
  .nav {
    position: fixed; z-index: 200;
    top: var(--sb-inset); bottom: var(--sb-inset); left: var(--sb-inset);
    width: var(--sb-w);
    display: flex; flex-direction: column; gap: 6px;
    padding: 14px 10px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-xl);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    transition: width var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  }
}
@media (min-width: 1280px) {
  :root { --sb-w: var(--sb-open); }
  html[data-sidebar="rail"] { --sb-w: var(--sb-rail); }
}
.nav__head { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 44px; }
.nav__brand {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  font-family: var(--font-display); font-weight: 600; font-size: 19px;
  letter-spacing: -0.01em; color: var(--brand-navy); border-radius: var(--r-full);
}
.nav__logo {
  width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 2px 6px rgba(4, 44, 83, 0.25));
}
.nav__logo img { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; }
.nav__rail-btn {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: var(--r-md);
  color: var(--ink-dim); cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.nav__rail-btn:hover { background: rgba(255,255,255,0.7); color: var(--brand-navy); }
.nav__body { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; margin-top: 10px; }
.nav__body::-webkit-scrollbar { display: none; }
.nav__list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.nav__group {
  margin: 18px 12px 6px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint);
  white-space: nowrap; min-height: 14px;
}
.nav__link {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  min-height: 44px; padding: 0 12px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 500; line-height: 1.25; color: var(--ink-soft);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.nav__link:hover { color: var(--brand-navy); background: rgba(255,255,255,0.65); }
.nav__link[aria-current="page"] {
  color: var(--brand-navy); font-weight: 700;
  background: var(--surface-hi); box-shadow: var(--nm-raised-xs);
}
.nav__link[aria-current="page"]::before {
  content: ''; position: absolute; left: -10px; top: 12px; bottom: 12px;
  width: 3px; border-radius: 0 3px 3px 0; background: var(--brand-gold);
}
/* One line always: the longest label ("Frequently asked questions") fits 264px, and
   while a rail opens the labels are clipped by the growing width — never re-wrapped. */
.nav__text { min-width: 0; overflow: hidden; white-space: nowrap; transition: opacity var(--dur-fast) var(--ease-out); }
.nav__foot { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(160, 180, 207, 0.35); }
.nav__cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 16px; border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-deep));
  color: var(--on-brand); font-size: 14px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(55, 138, 221, 0.4);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(55, 138, 221, 0.55); }

/* Rail state: icons only. With a mouse, a rail opens OVER the page on hover or
   keyboard focus (the body padding stays the rail's, so content never moves)
   and its fold button shows only while open. On touch screens (iPad landscape)
   hover would eat the first tap, so the rail opens on focus only and keeps its
   button visible under the logo. .nav--hold (set by the fold button) keeps a
   just-folded rail folded while the pointer is still over it. Labels stay in
   the DOM — opacity, not display — so every link keeps its accessible name. */
@media (min-width: 1000px) and (max-width: 1279px) and (hover: hover) {
  html:not([data-sidebar="open"]) .nav:not(.nav--hold):is(:hover, :focus-within) {
    width: var(--sb-open);
    background: rgba(240, 246, 255, 0.94);
    box-shadow: 0 18px 48px rgba(4, 44, 83, 0.22);
  }
  html:not([data-sidebar="open"]) .nav:is(.nav--hold, :not(:hover):not(:focus-within)) .nav__text { opacity: 0; width: 0; }
  html:not([data-sidebar="open"]) .nav:is(.nav--hold, :not(:hover):not(:focus-within)) .nav__link { gap: 0; }
  html:not([data-sidebar="open"]) .nav:is(.nav--hold, :not(:hover):not(:focus-within)) .nav__cta { padding: 0; gap: 0; }
  html:not([data-sidebar="open"]) .nav:is(.nav--hold, :not(:hover):not(:focus-within)) .nav__head { flex-direction: column; justify-content: center; }
  html:not([data-sidebar="open"]) .nav:is(.nav--hold, :not(:hover):not(:focus-within)) .nav__group { margin: 14px 10px 4px; min-height: 0; border-top: 1px solid rgba(160, 180, 207, 0.35); }
  html:not([data-sidebar="open"]) .nav:is(.nav--hold, :not(:hover):not(:focus-within)) .lang-switch { flex-direction: column; border-radius: var(--r-lg); }
  html:not([data-sidebar="open"]) .nav:is(.nav--hold, :not(:hover):not(:focus-within)) .lang-btn { width: 100%; padding: 8px 0; }
  html:not([data-sidebar="open"]) .nav:not(.nav--hold):not(:hover):not(:focus-within) .nav__rail-btn { display: none; }
}
@media (min-width: 1000px) and (max-width: 1279px) and (hover: none) {
  html:not([data-sidebar="open"]) .nav:not(.nav--hold):is(:focus-within) {
    width: var(--sb-open);
    background: rgba(240, 246, 255, 0.94);
    box-shadow: 0 18px 48px rgba(4, 44, 83, 0.22);
  }
  html:not([data-sidebar="open"]) .nav:is(.nav--hold, :not(:focus-within)) .nav__text { opacity: 0; width: 0; }
  html:not([data-sidebar="open"]) .nav:is(.nav--hold, :not(:focus-within)) .nav__link { gap: 0; }
  html:not([data-sidebar="open"]) .nav:is(.nav--hold, :not(:focus-within)) .nav__cta { padding: 0; gap: 0; }
  html:not([data-sidebar="open"]) .nav:is(.nav--hold, :not(:focus-within)) .nav__head { flex-direction: column; justify-content: center; }
  html:not([data-sidebar="open"]) .nav:is(.nav--hold, :not(:focus-within)) .nav__group { margin: 14px 10px 4px; min-height: 0; border-top: 1px solid rgba(160, 180, 207, 0.35); }
  html:not([data-sidebar="open"]) .nav:is(.nav--hold, :not(:focus-within)) .lang-switch { flex-direction: column; border-radius: var(--r-lg); }
  html:not([data-sidebar="open"]) .nav:is(.nav--hold, :not(:focus-within)) .lang-btn { width: 100%; padding: 8px 0; }
}
@media (min-width: 1280px) and (hover: hover) {
  html[data-sidebar="rail"] .nav:not(.nav--hold):is(:hover, :focus-within) {
    width: var(--sb-open);
    background: rgba(240, 246, 255, 0.94);
    box-shadow: 0 18px 48px rgba(4, 44, 83, 0.22);
  }
  html[data-sidebar="rail"] .nav:is(.nav--hold, :not(:hover):not(:focus-within)) .nav__text { opacity: 0; width: 0; }
  html[data-sidebar="rail"] .nav:is(.nav--hold, :not(:hover):not(:focus-within)) .nav__link { gap: 0; }
  html[data-sidebar="rail"] .nav:is(.nav--hold, :not(:hover):not(:focus-within)) .nav__cta { padding: 0; gap: 0; }
  html[data-sidebar="rail"] .nav:is(.nav--hold, :not(:hover):not(:focus-within)) .nav__head { flex-direction: column; justify-content: center; }
  html[data-sidebar="rail"] .nav:is(.nav--hold, :not(:hover):not(:focus-within)) .nav__group { margin: 14px 10px 4px; min-height: 0; border-top: 1px solid rgba(160, 180, 207, 0.35); }
  html[data-sidebar="rail"] .nav:is(.nav--hold, :not(:hover):not(:focus-within)) .lang-switch { flex-direction: column; border-radius: var(--r-lg); }
  html[data-sidebar="rail"] .nav:is(.nav--hold, :not(:hover):not(:focus-within)) .lang-btn { width: 100%; padding: 8px 0; }
  html[data-sidebar="rail"] .nav:not(.nav--hold):not(:hover):not(:focus-within) .nav__rail-btn { display: none; }
}
@media (min-width: 1280px) and (hover: none) {
  html[data-sidebar="rail"] .nav:not(.nav--hold):is(:focus-within) {
    width: var(--sb-open);
    background: rgba(240, 246, 255, 0.94);
    box-shadow: 0 18px 48px rgba(4, 44, 83, 0.22);
  }
  html[data-sidebar="rail"] .nav:is(.nav--hold, :not(:focus-within)) .nav__text { opacity: 0; width: 0; }
  html[data-sidebar="rail"] .nav:is(.nav--hold, :not(:focus-within)) .nav__link { gap: 0; }
  html[data-sidebar="rail"] .nav:is(.nav--hold, :not(:focus-within)) .nav__cta { padding: 0; gap: 0; }
  html[data-sidebar="rail"] .nav:is(.nav--hold, :not(:focus-within)) .nav__head { flex-direction: column; justify-content: center; }
  html[data-sidebar="rail"] .nav:is(.nav--hold, :not(:focus-within)) .nav__group { margin: 14px 10px 4px; min-height: 0; border-top: 1px solid rgba(160, 180, 207, 0.35); }
  html[data-sidebar="rail"] .nav:is(.nav--hold, :not(:focus-within)) .lang-switch { flex-direction: column; border-radius: var(--r-lg); }
  html[data-sidebar="rail"] .nav:is(.nav--hold, :not(:focus-within)) .lang-btn { width: 100%; padding: 8px 0; }
}

/* ── phone / tablet (<1000px) ── */
@media (max-width: 999px) {
  body { padding-bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom, 0px)); }
  .topbar {
    position: relative; z-index: 5;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    max-width: 1180px; margin: 0 auto; padding: 14px 16px 6px;
  }
  .topbar__brand {
    display: flex; align-items: center; gap: 10px; min-height: 44px;
    font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--brand-navy);
  }
  .topbar__brand img { width: 34px; height: 34px; border-radius: 50%; filter: drop-shadow(0 2px 6px rgba(4, 44, 83, 0.25)); }
  .topbar__cta {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px;
    border-radius: var(--r-full); color: var(--on-brand); font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-deep));
    box-shadow: 0 4px 14px rgba(55, 138, 221, 0.4);
  }
  .topbar__cta .ico { width: 16px; height: 16px; stroke-width: 2.2; }
  .tabbar {
    position: fixed; z-index: 200; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(240, 246, 255, 0.88);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -6px 24px rgba(4, 44, 83, 0.12);
  }
  .tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 52px; padding: 4px 2px; border: 0; background: transparent; cursor: pointer;
    font-family: var(--font-body); font-size: 11px; font-weight: 600; line-height: 1.15;
    color: var(--ink-faint); border-radius: var(--r-md); -webkit-tap-highlight-color: transparent;
  }
  .tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tab .ico { width: 22px; height: 22px; padding: 0; box-sizing: content-box; border-radius: var(--r-full); transition: background var(--dur-fast) var(--ease-out); }
  .tab[aria-current="page"], .tab[aria-expanded="true"] { color: var(--brand-navy); }
  .tab[aria-current="page"] .ico, .tab[aria-expanded="true"] .ico { background: rgba(55, 138, 221, 0.16); padding: 3px 14px; margin: -3px 0; }
  .tab:active .ico { transform: scale(0.92); }
}
/* Pages that live in the sheet (Sou nou, Kijan, FAQ, legal) light up "Plis" —
   its page links only, never the sheet's language buttons. */
.tabbar:has(~ .sheet :is(.sheet__link, .sheet__legal a)[aria-current="page"]) .tab--more { color: var(--brand-navy); }
.tabbar:has(~ .sheet :is(.sheet__link, .sheet__legal a)[aria-current="page"]) .tab--more .ico { background: rgba(55, 138, 221, 0.16); padding: 3px 14px; margin: -3px 0; }
/* 320–359px phones: the longest label ("Assistance") still fits its tab. */
@media (max-width: 359px) {
  .tabbar { padding-left: 2px; padding-right: 2px; }
  .tab { font-size: 10.5px; letter-spacing: -0.015em; }
}
/* Tablet: the tab bar floats as a pill instead of spanning the screen edge to edge. */
@media (min-width: 600px) and (max-width: 999px) {
  .tabbar {
    left: 50%; right: auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    width: min(520px, calc(100% - 32px)); transform: translateX(-50%);
    padding: 6px; border: 1px solid var(--glass-border); border-radius: var(--r-2xl);
    box-shadow: var(--glass-shadow);
  }
}

/* ── "Plis" sheet ── */
.sheet { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet__backdrop {
  position: absolute; inset: 0; background: rgba(4, 44, 83, 0.38);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity var(--dur-base) var(--ease-out);
}
.sheet__panel {
  position: relative; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; overscroll-behavior: contain;
  padding: 10px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  background: var(--surface-raised); border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  box-shadow: 0 -12px 40px rgba(4, 44, 83, 0.25);
  transform: translateY(100%); transition: transform var(--dur-slow) var(--ease-out);
}
.sheet__panel::before {
  content: ''; display: block; width: 40px; height: 5px; margin: 0 auto 6px;
  border-radius: var(--r-full); background: var(--surface-lo);
}
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sheet__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--brand-navy); }
.sheet__close {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: var(--surface); color: var(--ink-soft);
  box-shadow: var(--nm-raised-xs); cursor: pointer;
}
.sheet__grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
/* An odd last tile spans both columns: the grid never ends on a lone half-row. */
.sheet__grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.sheet__link {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  min-height: 92px; padding: 14px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--nm-raised-sm);
  font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--brand-navy);
}
.sheet__link .ico { width: 22px; height: 22px; color: var(--brand-gold-deep); }
.sheet__link[aria-current="page"] { box-shadow: var(--nm-pressed-sm); }
.sheet__account { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 14px; }
.sheet__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 12px; border-radius: var(--r-full);
  font-size: 15px; font-weight: 700; color: var(--brand-navy);
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--brand-navy);
}
.sheet__btn--primary {
  color: var(--on-brand); box-shadow: 0 4px 14px rgba(55, 138, 221, 0.4);
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-deep));
}
.lang-switch--sheet .lang-btn { font-family: var(--font-body); font-size: 14px; letter-spacing: 0; padding: 12px 6px; }
.sheet__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: 16px; }
.sheet__legal a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: 13px; color: var(--ink-dim); }
.sheet__legal .ico { width: 16px; height: 16px; }
html.sheet-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .nav, .nav__text, .sheet__panel, .sheet__backdrop { transition: none; }
}

/* Pulse (2026-08-21): a soft ring breathes out of Enskri every 2.4s so the
   sign-up action is the one thing in the menu that moves. Paused on hover
   and under prefers-reduced-motion. */
.nav__cta, .topbar__cta { position: relative; isolation: isolate; }
.nav__cta::after, .topbar__cta::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  box-shadow: 0 0 0 0 rgba(55, 138, 221, 0.55);
  animation: cta-pulse 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}
.nav__cta:hover::after { animation-play-state: paused; }
@keyframes cta-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(55, 138, 221, 0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(55, 138, 221, 0); }
  100% { box-shadow: 0 0 0 0 rgba(55, 138, 221, 0); }
}
/* MENU-CSS:END */
/* Strict-CSP pages: the icon sprite is positioned by class, not a style attribute. */
.chrome__sprite{position:absolute}
