/* Phone menu for the teamagogo site (2026-10-04, Tige: "Add a menu button
   for phones"). Shown at the same width the header hides its section links. */
.tgm-btn { display: none; }
@media (max-width: 900px) {
  .tgm-btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
    border-radius: 12px; border: 1.5px solid #dfe2d9; background: #ffffff; color: #16201f;
    cursor: pointer; margin-left: 8px; -webkit-tap-highlight-color: transparent;
  }
  .tgm-btn:hover { border-color: #17808e; color: #0e6e74; }
  .tgm-btn:focus-visible { outline: 3px solid #17808e; outline-offset: 2px; }
  .tgm-btn[aria-expanded="true"] { background: #e5f1ef; border-color: #17808e; color: #0e6e74; }
  .tgm-btn svg { width: 22px; height: 22px; }
}
@media (max-width: 420px) {
  /* room for logo + button + menu: the header CTA gets compact */
  .nav .right .btn-primary { padding: 10px 14px; font-size: 14px; }
}
@media (max-width: 360px) {
  .nav .right .btn-primary { display: none; }
}

.tgm-scrim { position: fixed; inset: 0; z-index: 998; background: rgba(10, 30, 32, 0.32); opacity: 0; transition: opacity 0.18s ease; }
.tgm-scrim.on { opacity: 1; }
.tgm-panel {
  position: fixed; left: 10px; right: 10px; z-index: 999; max-height: calc(100dvh - 90px); overflow: auto;
  background: #ffffff; border-radius: 22px; padding: 10px 10px 14px;
  box-shadow: 0 0 0 1px #dfe2d9, 0 24px 50px -20px rgba(10, 40, 45, 0.45);
  transform: translateY(-8px); opacity: 0; transition: transform 0.2s ease, opacity 0.18s ease;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.tgm-panel.on { transform: none; opacity: 1; }
.tgm-group { padding: 6px 4px; }
.tgm-group + .tgm-group { border-top: 1px solid #e8ebe3; }
.tgm-label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #7b8785; padding: 8px 12px 4px; }
.tgm-panel a.tgm-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 48px; padding: 10px 12px; border-radius: 12px;
  color: #16201f; font-size: 17px; font-weight: 700; text-decoration: none;
}
.tgm-panel a.tgm-link::after { content: "›"; color: #b4bdb9; font-size: 22px; font-weight: 500; }
.tgm-panel a.tgm-link:hover, .tgm-panel a.tgm-link:focus-visible { background: #e5f1ef; color: #0e6e74; outline: none; }
.tgm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.tgm-grid a.tgm-link { font-size: 15px; min-height: 44px; }
.tgm-grid a.tgm-link::after { content: none; }
.tgm-cta { display: grid; gap: 8px; padding: 12px 6px 0; }
.tgm-cta a { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; }
.tgm-cta .tgm-primary { background: #ff7f50; color: #1f1a17; box-shadow: 0 10px 22px -10px rgba(255, 127, 80, 0.6); }
.tgm-cta .tgm-ghost { border: 1.5px solid #dfe2d9; color: #0e6e74; background: #fff; }
@media (prefers-reduced-motion: reduce) { .tgm-scrim, .tgm-panel { transition: none; } }

/* While the menu is open the assistant steps aside. */
body.tgm-open .tga-root, body.tgm-open .tga-launcher { visibility: hidden; }
/* Phones: the header CTA stays on one line ("Start free", set in menu.js). */
@media (max-width: 480px) { .nav .right .btn-primary { white-space: nowrap; } }

/* Header "Log in": one line; on phones it lives in the menu instead.
   (Page CSS sets .nav .login display:inline-flex after its own phone
   hide, so the hide never applied — .nav a.login outranks both.) */
.nav .login { white-space: nowrap; }
@media (max-width: 420px) { .nav a.login { display: none; } }
/* 2026-10-07 — the other languages (English / Español / Português), quiet, side by side under the buttons */
.tgm-langs { display: flex; justify-content: center; gap: 4px; margin-top: 6px; }
.tgm-panel a.tgm-lang { justify-content: center; font-size: 15px; color: #0e6e74; }
.tgm-panel a.tgm-lang::after { content: none; }
