/* Partprice.ai — shared base: reset, tokens, nav, footer, buttons.
   Loaded by every page; page-specific styles live in home.css / blog.css / contact.css. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:#556ee6; --blue-dk:#3b55d4; --blue-lt:#eef0fd;
  --navy:#1a2340; --navy-lt:#2a3558;
  --text:#2d3748; --muted:#718096; --border:#e2e8f0;
  --bg:#f8f9fc; --white:#ffffff;
  --green:#28a745; --green-dk:#15803d; --green-lt:#edfbf3;
  --red:#e74c3c; --amber:#f59e0b;
  --radius:10px; --radius-lg:16px;
  --shadow:0 4px 24px rgba(0,0,0,.08); --shadow-lg:0 12px 48px rgba(0,0,0,.14);
}

html { scroll-behavior: smooth; }
body { font-family:'DM Sans', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ── NAV (scoped to #navbar so breadcrumb <nav> is unaffected) ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%; height: 64px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
#navbar.scrolled { border-color: var(--border); box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.nav-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.nav-logo img { height: 36px; }
.nav-logo-fallback { font-size: 18px; font-weight: 700; color: var(--navy); letter-spacing: -.4px; }
.nav-logo-fallback span { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-ghost { padding: 8px 18px; font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; border-radius: 8px; transition: background .2s; }
.btn-ghost:hover { background: var(--bg); }
.btn-primary {
  padding: 9px 22px; font-size: 14px; font-weight: 600; color: #fff; background: var(--blue);
  border-radius: 8px; text-decoration: none; box-shadow: 0 2px 10px rgba(85,110,230,.35);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover { background: var(--blue-dk); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(85,110,230,.4); }
.btn-primary:active { transform: translateY(0); }

/* ── FOOTER ── */
footer {
  background: var(--navy); border-top: 1px solid rgba(255,255,255,.06);
  padding: 28px 6%; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
footer p { font-size: 13px; color: rgba(255,255,255,.35); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.35); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.7); }

/* ── shared a11y floor ── */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 900px) { #navbar { padding: 0 5%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
