/* Header geometry shared with the auth pages (.auth-header in auth.css), so the
   LIME logo sits in exactly the same place on every page. Values are the pixel
   equivalents of auth.css at the default 16px root size, so pages with another
   root font size (admin uses 17px) still match. Keep in sync with auth.css;
   the landing page and chat keep their own headers. */
.page-header { padding: 21.6px clamp(20px, 4vw, 56px); }
.page-header-inner {
  display: flex;
  width: min(100%, 1280px);
  /* Fixed to the logo box's height: taller header controls (menu toggle,
     actions) are centered on the same line instead of pushing the logo down. */
  height: 44px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.page-header-logo { display: inline-flex; min-height: 44px; align-items: center; }
.page-header-logo img { display: block; width: auto; max-width: none; height: 28.8px; }

@media (max-width: 640px) {
  .page-header { padding: 16px 20px; }
  .page-header-logo img { height: 25.6px; }
}

@media (max-height: 760px) {
  .page-header { padding-top: 12px; padding-bottom: 12px; }
  .page-header-inner { height: 37.6px; }
  .page-header-logo { min-height: 37.6px; }
  .page-header-logo img { height: 24.8px; }
}

@media (max-width: 640px) and (max-height: 760px) {
  .page-header { padding: 10.4px 16px; }
}

/* Pages with a sticky header that tightens when scrolled: never grow taller
   than the short-screen header above. */
@media (max-height: 760px) {
  .page-header.is-scrolled { padding-top: 12px; padding-bottom: 12px; }
}

/* The site navbar in plain CSS, for pages that don't load Tailwind (developers,
   careers). Mirrors the contact/status/terms header exactly: sticky white bar,
   "Kyçu" + "Provo falas" from 1024px, hamburger + full-screen menu below. */
.site-nav {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-nav .page-header-inner { position: relative; gap: 24px; }
.site-nav-actions { display: none; margin-left: auto; align-items: center; gap: 24px; }
.site-nav-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8.8px;
  color: #334155;
  font-size: 15.2px;
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms ease;
}
.site-nav-action:hover,
.site-nav-trial { color: #0f766e; }
.site-nav-trial:hover { color: #115e59; }
.site-nav-action svg { width: 15.2px; height: 15.2px; }
.site-nav-toggle {
  position: relative;
  z-index: 50;
  display: flex;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.site-nav-toggle span {
  width: 20px;
  height: 1.5px;
  border-radius: 999px;
  background: #000000;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.site-nav-toggle[aria-expanded='true'] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.site-nav-toggle[aria-expanded='true'] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.site-nav-menu {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: flex;
  height: 100dvh;
  flex-direction: column;
  justify-content: space-between;
  padding: 96px 32px 48px;
  background: #ffffff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100dvh);
  visibility: hidden;
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 700ms;
}
.site-nav-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
}
.site-nav-menu-links { display: flex; margin-top: 16px; flex-direction: column; gap: 24px; }
.site-nav-menu-cta { display: flex; margin-bottom: 16px; flex-direction: column; gap: 16px; }
.site-nav-menu a {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1), color 180ms ease;
}
.site-nav-menu.is-open a { opacity: 1; transform: translateY(0); }
.site-nav-menu-links a {
  color: #0f172a;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  text-decoration: none;
}
.site-nav-menu-links a:hover { color: #0f766e; }
.site-nav-pill {
  display: block;
  width: 100%;
  padding: 14px 0;
  border-radius: 999px;
  background: #0f172a;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.site-nav-pill:active { transform: scale(0.98); }
body.site-nav-open { overflow: hidden; }
[data-member][hidden],
[data-guest][hidden] { display: none !important; }

@media (min-width: 1024px) {
  .site-nav-actions { display: flex; }
  .site-nav-toggle,
  .site-nav-menu { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav-toggle span,
  .site-nav-menu,
  .site-nav-menu a { transition: none; }
}
