/* ============================================================================
   marketing_nav.css: the right side of the shared public nav
   (inc/page_components/marketing_nav.cfm): the Features and Pricing links,
   "Sign in", and the Start free trial button with its short phone label.
   Loaded after spec/marketing_base.css (which owns the .cs-nav bar, the brand
   and .cs-btn) by every shell that prints that nav: marketing_shell,
   legal_shell and auth_shell. The rules lived in marketing.css until
   TQ103520, so the legal and sign-in pages printed both CTA labels side by
   side and overflowed a 390px phone.
   ============================================================================ */

/* ── Nav links (right-aligned, quiet). Only the link + spacing styling is
      tuned here. Nav HEIGHT and the CTA size are deliberately NOT overridden:
      the nav reuses the shared marketing_base.css chrome (padding 20px 32px,
      base .cs-btn CTA) so it renders the exact same height on the marketing,
      auth (/login/) and legal shells. Keep them in lockstep. ──────────────── */
.cs-nav-actions { gap: 24px; }
.cs-nav-link {
    font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
    color: var(--cs-ink-60); text-decoration: none; transition: color 0.14s ease;
}
.cs-nav-link:hover { color: var(--cs-ink); }
.cs-nav-link.active { color: var(--cs-accent-dark); }

/* ── Sign in link + Start free trial button (TQ102670) ──
   Sign in is a quiet text link that stays visible on phones, where the center
   links collapse. The button label shortens on narrow phones so brand, Sign in
   and the button fit one row at 360px. Nav height is unchanged (same .cs-btn). */
.cs-nav-signin { font-size: 14px; font-weight: 600; color: var(--cs-ink); padding: 0 4px; white-space: nowrap; transition: color .14s ease; }
.cs-nav-signin:hover { color: var(--cs-accent-dark); }
.cs-nav-cta-short { display: none; }

@media (max-width: 960px) {
    .cs-nav-link { display: none; }   /* keep brand + Sign in + the trial button */
}
@media (max-width: 420px) {
    .cs-nav-cta-long { display: none; }
    .cs-nav-cta-short { display: inline; }
    .cs-nav-actions { gap: 14px; }
}
