/* The Early Access label at the top of the home page is a link to the sign-up form. The form is not hidden under the sticky banner when it scrolls into view. */
a.eyebrow-link { text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
a.eyebrow-link::after { content: "\00a0\2192"; }
a.eyebrow-link:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(45, 58, 140, .25); }
a.eyebrow-link:focus-visible { outline: 3px solid var(--purple2); outline-offset: 2px; }
#join-form { scroll-margin-top: 110px; }

/* The Count me in button in the top banner stands out: brighter gradient, a soft shadow, and a gentle glow every few seconds (not for people who prefer less motion). */
.beta-pill .beta-go { background: linear-gradient(90deg, #4B3FD0, #B03FB0 62%, #FF6B9D) !important; color: #fff !important; box-shadow: 0 3px 10px rgba(123, 47, 190, 0.4); font-weight: 800; }
@media (prefers-reduced-motion: no-preference) {
  .beta-pill .beta-go { animation: qc-glow 4s ease-in-out infinite; }
  @keyframes qc-glow { 0%, 70%, 100% { box-shadow: 0 3px 10px rgba(123, 47, 190, 0.4); } 85% { box-shadow: 0 0 0 5px rgba(176, 63, 176, 0.22), 0 3px 14px rgba(255, 107, 157, 0.55); } }
}

/* Phones: a calmer first screen. One thin banner strip, the language buttons as one thin row under the menu. */
@media (max-width: 600px) {
  .beta-bar { padding: 6px 8px !important; }
  .beta-pill { width: 100% !important; box-sizing: border-box; flex-wrap: nowrap !important; justify-content: center !important; align-items: center !important; gap: 8px !important; padding: 6px 6px 6px 12px !important; font-size: clamp(12.5px, 3.9vw, 15px) !important; line-height: 1.2 !important; border-radius: 14px !important; text-align: center; }
  .beta-pill .beta-go { font-size: clamp(12.5px, 3.5vw, 14px) !important; padding: 7px 12px !important; border-radius: 10px !important; flex: none; white-space: nowrap; }
  .hero { gap: 12px !important; }
  /* less empty space under the sign-up button and above the footer */
  .waitlist { padding-bottom: 18px !important; }
  .form-status:empty { min-height: 0 !important; height: 0; margin-top: -18px !important; }
  #join.strip { padding-bottom: 12px !important; }
  footer.site { margin-top: 0 !important; padding-block: 22px !important; }
  /* a shorter header: smaller logo row, the menu on one line (About points to the top of the same page, so it is hidden here), small language row */
  header.site { padding-block: 6px 2px !important; padding-inline: 14px !important; gap: 2px 12px !important; margin-bottom: 0 !important; }
  .brand img { width: 34px !important; height: 34px !important; border-radius: 9px !important; }
  .brand span { font-size: 19px !important; }
  nav.site { gap: 0 !important; }
  nav.site a { margin: 0 5px !important; font-size: 14px !important; }
  nav.site a[href="#about"] { display: none !important; }
  .qc-lang-top a { padding: 3px 8px !important; font-size: 11.5px !important; }
  .qc-lang.qc-lang-top { padding: 0 0 3px !important; }
  .hero { padding-block: 10px 32px !important; }
  .m-hide, .beta-pill .m-br { display: none !important; }
  .qc-lang.qc-lang-top, .qc-lang.qc-lang-plain { position: static !important; display: flex !important; justify-content: center; width: 100%; box-sizing: border-box; margin: 0 !important; padding: 0 0 6px !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; gap: 2px; font-size: 12px !important; }
  .qc-lang-top a { color: rgba(255, 255, 255, 0.85) !important; padding: 4px 9px !important; }
  .qc-lang-top a[aria-current="true"] { background: rgba(255, 255, 255, 0.22) !important; color: #fff !important; }
  .qc-lang-plain { padding: 6px 0 !important; }
  .qc-lang-plain a { padding: 4px 9px !important; }
  body { padding-bottom: 64px; }
}
/* very small phones (350px and narrower) keep the earlier, smaller header and banner type so the menu and the banner stay on one line */
@media (max-width: 350px) {
  nav.site a { margin: 0 7px !important; font-size: 13.5px !important; }
  .beta-pill { font-size: 12px !important; }
}
/* the logo gets the same space above (under the header) and below (above the early-access label) */
@media (max-width: 600px) {
  .hero picture { display: block; margin: 6px 0 4px !important; }
  .hero picture img { display: block; margin-inline: auto; }
}
