/* Shared behaviour styles; each direction's look lives in its own templates. */
[data-burger] { cursor: pointer; }
[data-nav] a[aria-current="page"] { color: #F05527 !important; }

.aegiz-menu { position: fixed; inset: 0; z-index: 1000; background: #fff; color: #0A2239; display: flex; flex-direction: column; padding: 18px 20px 32px; overflow-y: auto; animation: aegiz-menu-in .18s ease both; }
.aegiz-menu-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid #E6E9ED; }
.aegiz-menu-top img { height: 36px; display: block; }
.aegiz-menu-top button { width: 44px; height: 44px; border: 0; background: none; font: 300 36px/1 system-ui, sans-serif; color: #0A2239; cursor: pointer; }
.aegiz-menu nav { display: flex; flex-direction: column; margin-top: 12px; }
.aegiz-menu nav a { display: block; padding: 16px 0; border-bottom: 1px solid #E6E9ED; color: #0A2239; text-decoration: none; font-size: 26px; font-weight: 500; letter-spacing: -.01em; }
.aegiz-menu nav a[aria-current="page"], .aegiz-menu nav a:hover { color: #F05527; }
@keyframes aegiz-menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

form[data-demo-form] [data-form-done][hidden] { display: none !important; }

/* Phones: the Claude Design headers (logo + 4 languages + menu button) overflow a 390px screen.
   Move the language picker into the mobile menu instead. */
@media (max-width: 560px) {
  header { gap: 12px 16px !important; }
  header [data-lang] { display: none !important; }
  header [data-burger] { margin-left: auto; }
  /* Entrance animations (e.g. 02's stamp) briefly overshoot; never let that widen the page. */
  html, body { overflow-x: hidden; overflow-x: clip; }
}
.aegiz-menu-lang { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; font-size: 15px; }
.aegiz-menu-lang > * { font-size: 15px !important; }
