/* Desktop marketing header — ported from the pricing prototype.
 * Loaded AFTER menu.css + the page stylesheet so it owns the header
 * sub-elements and the burger breakpoint. The base .nav (flex bar with
 * space-between) is provided by each page's stylesheet; this file adds
 * the inline links, the Log In / Start for Free action pair, and flips
 * the burger on under 720px. Logo is the Home link, so no Home item. */

/* Base layout — also defined in the page stylesheets, but declared here so
 * pages that load no page stylesheet (e.g. /about/) still get a flex header
 * and a column shell. Identical values, so there is no conflict where both
 * are present. */
.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
}

.nav__links {
  list-style: none;
  margin: 0 0 0 auto; /* push the link group to the right, next to the actions */
  padding: 0;
  display: flex;
  gap: var(--sp-5);
}
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(245, 245, 245, 0.72);
  text-decoration: none;
  padding: 6px 4px;
  transition: color 120ms ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--magenta); }

/* Right-hand action pair: secondary "Log In" + primary "Start for Free" */
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.nav__signin {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 9px 14px;
  background: transparent;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.nav__signin:hover {
  background: rgba(245, 245, 245, 0.06);
  border-color: rgba(245, 245, 245, 0.36);
}
.nav__cta {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 9px 16px;
  background: var(--magenta);
  border: 1px solid var(--magenta);
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 120ms ease, border-color 120ms ease, transform 80ms ease;
}
.nav__cta:hover { background: #d2197d; border-color: #d2197d; }
.nav__cta:active { transform: translateY(1px); }

/* Social icons stay out of the desktop header (they live in the mobile
 * drawer + the footer). Kept defined in case we reinstate them. */
.nav__social { display: none; gap: var(--sp-2); }

/* Burger only shows under 720px (menu.css sets it inline-flex always). */
.burger { display: none; }

/* Action buttons inside the mobile drawer — same Log In / Start for Free
 * pair as the desktop header, full-width so they read as actions. */
.menu-drawer__ctas {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: clamp(24px, 4vh, 40px);
}
.menu-drawer__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  border-radius: 10px;
  font-family: var(--font-system);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.menu-drawer__cta--primary {
  background: var(--magenta);
  color: #fff;
  border: 1px solid var(--magenta);
}
.menu-drawer__cta--primary:hover { background: #d2197d; border-color: #d2197d; }
.menu-drawer__cta--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-default);
}
.menu-drawer__cta--secondary:hover {
  background: rgba(245, 245, 245, 0.06);
  border-color: rgba(245, 245, 245, 0.36);
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__actions { display: none; }
  .nav__social { display: none; }
  .burger { display: inline-flex; }
}
