/* ==============================================================
   Mass Distractions — Shared site styles
   --------------------------------------------------------------
   Used by: /why-it-works, /blog/*, and any future content page.
   The home page (/) keeps its CSS inline.
   ============================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  background: #ffffff;
  color: #111827;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: #dc2626; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

:root {
  --z1:#dc2626; --z1-lt:#fecaca; --z1-bg:#fef2f2;
  --z2:#c026d3; --z2-lt:#f0abfc; --z2-bg:#fdf4ff;
  --z3:#ca8a04; --z3-lt:#fef08a; --z3-bg:#fefce8;
  --z4:#16a34a; --z4-lt:#bbf7d0; --z4-bg:#f0fdf4;
  --z5:#1d4ed8; --z5-lt:#bfdbfe; --z5-bg:#eff6ff;
  --gray-50:#f9fafb; --gray-100:#f3f4f6; --gray-200:#e5e7eb;
  --gray-400:#9ca3af; --gray-600:#4b5563; --gray-700:#374151; --gray-900:#111827;
}

.container    { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px;  margin: 0 auto; padding: 0 24px; }

.btn-primary {
  display: inline-block; background: var(--z1); color: #fff;
  font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 700;
  padding: 14px 32px; border-radius: 10px; border: none; cursor: pointer;
  text-decoration: none; transition: background .15s, transform .1s;
}
.btn-primary:hover { background: #b91c1c; transform: translateY(-1px); text-decoration: none; }
.btn-secondary {
  display: inline-block; background: #fff; color: var(--gray-700);
  font-family: 'Open Sans', sans-serif; font-size: 15px; font-weight: 600;
  padding: 13px 28px; border-radius: 10px; border: 1.5px solid var(--gray-200);
  cursor: pointer; text-decoration: none; transition: border-color .15s, transform .1s;
}
.btn-secondary:hover { border-color: var(--gray-400); transform: translateY(-1px); text-decoration: none; }

/* ── Nav ────────────────────────────────────────────────────── */
nav { position: sticky; top: 0; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--gray-200); z-index: 100; padding: 14px 0; }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--gray-600); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--z1); }
.nav-links a[aria-current="page"] { color: var(--z1); }
.nav-cta { font-size: 14px !important; padding: 8px 20px !important; color: #fff !important; font-weight: 700 !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: background .2s; }
.nav-mobile { display: none; flex-direction: column; background: #fff; border-top: 1px solid var(--gray-200); padding: 8px 0 16px; }
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 13px 24px; font-size: 16px; font-weight: 500; color: var(--gray-700); text-decoration: none; border-bottom: 1px solid var(--gray-100); }
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--z1); }

/* ── Footer ─────────────────────────────────────────────────── */
footer { background: var(--gray-900); color: rgba(255,255,255,.5); padding: 36px 0; font-size: 13px; text-align: center; }
footer a { color: rgba(255,255,255,.5); text-decoration: none; }
footer a:hover { color: #fff; }

/* ── Mobile nav rules ───────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo img { height: 32px !important; }
}
@media (min-width: 641px) {
  .nav-mobile { display: none !important; }
}
