/* ============================================================
   public.css — chrome shared by every signed-out page: the marketing site (News, Features,
   Pricing, About), sign in, password reset, and email confirmation. One header, one set of
   sizes, so nothing moves or resizes when a visitor goes from one of these pages to another.
   Self-contained (no site.css).
   ============================================================ */

:root {
  --lp-primary: #009B8D;
  --lp-primary-hover: #00796B;
  --lp-primary-strong: #007A6E;   /* white text passes 4.5:1 on this one */
  --lp-primary-light: #E0F2F1;
  --lp-navy: #0D2B3A;
  --lp-navy-surface: #163344;
  --lp-bg: #F8FAFC;
  --lp-surface: #FFFFFF;
  --lp-border: #E2E8F0;
  --lp-text: #191b22;
  --lp-text-2: #434653;
  --lp-muted: #94A3B8;
  --lp-warn: #D97706;
  --lp-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --lp-font-head: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reserve the scrollbar's space so short and long pages lay the header out identically. */
html { scrollbar-gutter: stable; }

/* ---------- Buttons ---------- */
.lp-btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-family: var(--lp-font);
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.15s ease, transform 0.1s ease;
}
.lp-btn-sm { padding: 8px 16px; font-size: 14px; }
.lp-btn-primary { background: var(--lp-primary-strong); color: #fff; }
.lp-btn-primary:hover { background: #005A51; }
.lp-btn-ghost { color: var(--lp-navy); background: var(--lp-surface); border: 1px solid #C9D7DA; }
.lp-btn-ghost:hover { background: var(--lp-primary-light); }
.lp-btn-light { background: #fff; color: var(--lp-navy); }
.lp-btn-light:hover { transform: translateY(-1px); }

/* ---------- Header ---------- */
/* Page links on the left, logo centred, Login and Book a demo on the right. */
.lp-nav {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px 24px;
  min-height: 72px;
  padding: 12px 48px;
  background: var(--lp-surface);
  border-bottom: 1px solid var(--lp-border);
  position: sticky;
  top: 0;
  z-index: 10;
  font-family: var(--lp-font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.lp-nav-brand { display: flex; align-items: center; justify-self: center; text-decoration: none; }
.lp-nav-logo { display: block; width: auto; height: 44px; }
.lp-nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; justify-self: start; }
.lp-nav-links a,
.lp-nav-actions a:not(.lp-btn) {
  text-decoration: none;
  color: var(--lp-text-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.lp-nav-links a:hover,
.lp-nav-actions a:not(.lp-btn):hover { color: var(--lp-navy); }
.lp-nav-links a.is-active { color: var(--lp-primary-hover); border-bottom-color: var(--lp-primary-hover); }
.lp-nav-actions { display: flex; align-items: center; gap: 8px 24px; justify-self: end; }
.lp-nav-actions .lp-btn { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 8px; padding: 10px 20px; }
.lp-nav-actions a.lp-btn-primary { color: #fff; }

/* Narrow screens: logo and actions share the first row; the page links drop to their own
   full-width row and scroll sideways if they must, so every page stays one tap away. */
@media (max-width: 900px) {
  .lp-nav { grid-template-columns: auto 1fr; padding: 10px 16px; gap: 6px 12px; }
  .lp-nav-brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .lp-nav-logo { height: 36px; }
  .lp-nav-actions { grid-column: 2; grid-row: 1; gap: 4px 14px; }
  .lp-nav-links { grid-column: 1 / -1; grid-row: 2; flex-wrap: nowrap; overflow-x: auto; justify-self: stretch; justify-content: space-between; gap: 4px 18px; }
  .lp-nav-links a { white-space: nowrap; }
}
@media (max-width: 440px) {
  .lp-nav-actions .lp-btn { padding: 8px 12px; }
}
