/* PULSE NEWS blog — gold/tan brand system (matches /how-tos/). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #EBE9DE; --surface: #ffffff; --surface2: #F5F1E6;
  --accent: #A97C1E; --accent2: #D3AD57;
  --text: #20241d; --muted: #6b6f64;
  --border: rgba(20,16,8,0.12); --max: 760px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.75; font-size: 1rem; }

nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); padding: 0 1.5rem; height: 58px; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { font-size: 1.1rem; font-weight: 800; letter-spacing: 0.08em; color: var(--accent); text-decoration: none; text-transform: uppercase; display: flex; align-items: center; }
.nav-brand img { height: 26px; width: 26px; border-radius: 6px; vertical-align: middle; margin-right: 8px; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { background: var(--accent); color: #fff !important; padding: 6px 14px; border-radius: 6px; }
.nav-cta:hover { background: var(--accent2) !important; }

.hero { background: linear-gradient(160deg, #ffffff 0%, #EBE9DE 75%); border-bottom: 1px solid var(--border); padding: 3.5rem 1.5rem 3rem; text-align: center; }
.hero-eyebrow { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.2; max-width: 720px; margin: 0 auto 1rem; text-wrap: balance; }
.hero-sub { color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto 1.75rem; }
.hero-meta { font-size: 0.78rem; color: var(--muted); display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }

article { max-width: var(--max); margin: 0 auto; padding: 3rem 1.5rem 4rem; }
article h2 { font-size: 1.4rem; font-weight: 800; color: var(--accent); margin: 2.5rem 0 0.75rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--border); }
article h3 { font-size: 1.1rem; font-weight: 700; margin: 1.75rem 0 0.5rem; color: var(--text); }
article p { margin-bottom: 1.1rem; color: var(--text); }
article ul, article ol { margin: 0.5rem 0 1.1rem 1.5rem; color: var(--text); }
article li { margin-bottom: 0.45rem; }
article strong { color: #111418; }
article a { color: var(--accent2); text-decoration: none; border-bottom: 1px solid rgba(169,124,30,0.30); transition: border-color 0.2s; }
article a:hover { border-color: var(--accent2); }

.callout { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 8px; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.callout-title { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.callout p { margin-bottom: 0; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.kpi-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.1rem 1rem; text-align: center; }
.kpi-card .kpi-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.kpi-card .kpi-name { font-size: 1rem; font-weight: 800; color: var(--accent); }
blockquote { border-left: 3px solid var(--accent); padding: 0.75rem 1.25rem; margin: 1.5rem 0; background: var(--surface); border-radius: 0 8px 8px 0; font-style: italic; color: var(--muted); }
table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.92rem; }
table th, table td { border: 1px solid var(--border); padding: 0.6rem 0.8rem; text-align: left; }
table th { background: var(--surface2); font-weight: 800; color: var(--accent); }
.table-wrap { overflow-x: auto; }

.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.faq-a { color: var(--muted); }

.cta-card { background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; text-align: center; margin: 2.5rem 0; }
.cta-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.cta-card p { color: var(--muted); margin-bottom: 1.25rem; }
.btn { display: inline-block; background: var(--accent); color: #fff; padding: 0.75rem 1.75rem; border-radius: 8px; text-decoration: none; font-weight: 800; font-size: 0.9rem; letter-spacing: 0.04em; border-bottom: none; transition: background 0.2s, transform 0.15s; margin: 0.25rem; }
.btn:hover { background: var(--accent2); transform: translateY(-1px); border-bottom: none; }
.btn-ghost { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-ghost:hover { background: rgba(169,124,30,0.10); }

/* post byline / tags shared */
.post-tag { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }

/* INDEX listing */
.filters { max-width: 900px; margin: 1.5rem auto 0; padding: 0 1.5rem; display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.filter-chip { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 5px 14px; cursor: pointer; transition: all 0.15s; }
.filter-chip:hover, .filter-chip.active { color: #fff; background: var(--accent); border-color: var(--accent); }
.posts { max-width: 900px; margin: 0 auto; padding: 2.5rem 1.5rem 3rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.6rem; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s; }
.post-card:hover { border-color: rgba(169,124,30,0.45); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20,16,8,0.08); }
.post-card .post-tag { margin-bottom: 0.6rem; }
.post-card h2 { font-size: 1.12rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--text); line-height: 1.3; }
.post-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; flex-grow: 1; }
.post-meta { font-size: 0.74rem; color: var(--muted); display: flex; gap: 0.9rem; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 0.75rem; }

footer { border-top: 1px solid var(--border); padding: 2.5rem 1.5rem; text-align: center; color: var(--muted); font-size: 0.82rem; }
footer a { color: var(--muted); text-decoration: none; border-bottom: none; }
footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 1.1rem; justify-content: center; margin-bottom: 0.75rem; flex-wrap: wrap; }

@media (max-width: 600px) { .hero { padding: 2.5rem 1rem 2rem; } article { padding: 2rem 1rem 3rem; } .nav-links { gap: 0.75rem; } .posts { grid-template-columns: 1fr; } }
