/* ═══════════════════════════════════════════════════════════════════
   platform-nav.css — shared sticky nav-bar for cross-page navigation
   ═══════════════════════════════════════════════════════════════════

   Shared across: profile.html, pricing.html, handbook.html,
   founding.html, privacy.html. Other platform HTML files
   (index.html, studio.html, dashboard.html, auth.html,
   welcome-fan.html, 404.html) intentionally do NOT load this — they
   have either their own focused UX (auth/welcome-fan transient),
   their own chrome (studio dashboard), or a hero composition that
   the nav-bar would visually disrupt (index AQUARIUM-FRAME — design-
   review on NAP 4 before adding).

   Self-contained:
     * Literal colour values inline — doesn't depend on the host
       page's :root vars (which differ across pages).
     * Font stack uses Fraunces / JetBrains-Mono as primary with
       Georgia / system-ui fallbacks — if the host page hasn't
       loaded Google Fonts, the fallback still reads brand-adjacent.
     * No CSS variables emitted at :root — scoped to the nav-bar
       components only, can't leak into the host page's design.

   Z-index 20 was chosen to sit above:
     - Profile-page's .profile-top-nav (z-index 10)
     - The Stripe Checkout iframe (Stripe's default is 999999, but
       it's a child iframe, not a stacking-context sibling — z-index
       doesn't apply across documents).
   ═══════════════════════════════════════════════════════════════════ */

.platform-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0A0A0A;
  border-bottom: 1px solid rgba(245, 245, 240, 0.10);
  box-shadow: 0 1px 0 rgba(245, 245, 240, 0.02);
}

.platform-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.25rem;
}

.platform-nav-brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: 1.0625rem;
  letter-spacing: 0.06em;
  color: #FF9F1C;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 160ms ease;
}

.platform-nav-brand:hover,
.platform-nav-brand:focus-visible {
  opacity: 0.85;
  outline: none;
}

.platform-nav-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1.5rem;
}

.platform-nav-links a {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9A9A92;
  text-decoration: none;
  transition: color 160ms ease;
}

.platform-nav-links a:hover,
.platform-nav-links a:focus-visible {
  color: #F5F5F0;
  outline: none;
}

/* "is-active" hint — a host page can flag the current nav-link with
   class="is-active" so it reads as the current location. Marker is
   the same amber underline pattern as profile-top-nav's active-tab. */
.platform-nav-links a.is-active {
  color: #F5F5F0;
  position: relative;
}

.platform-nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.125rem;
  height: 2px;
  background: #FF9F1C;
}

@media (max-width: 480px) {
  .platform-nav-inner {
    padding: 0.75rem 1rem;
  }
  .platform-nav-brand {
    font-size: 0.9375rem;
    letter-spacing: 0.04em;
  }
  .platform-nav-links {
    gap: 1rem;
  }
  .platform-nav-links a {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
  }
  .platform-nav-links a.is-active::after {
    bottom: -1rem;
  }
}
