/* FaithTracks Blog — shared styles (static, no build). Paths are ROOT-RELATIVE
   because posts live under /blog/. Mirrors the landing's dark/neon brand. */
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 700; font-display: swap; src: url("/landing_assets/font-4.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 800; font-display: swap; src: url("/landing_assets/font-4.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("/landing_assets/font-8.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("/landing_assets/font-8.woff2") format("woff2"); }

:root { --neon: #84e91f; --bg: #060606; --ink: #c8c8c2; --muted: #8f8f8a; --line: rgba(255, 255, 255, 0.08); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Hanken Grotesk", system-ui, sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--neon); }
img { max-width: 100%; height: auto; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { max-width: 1120px; margin: 0 auto; padding: 13px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bar .logo img { height: 38px; width: auto; display: block; }
.bar nav { display: flex; align-items: center; gap: 22px; }
.bar nav a { color: #cfcfca; text-decoration: none; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.bar nav a:hover { color: var(--neon); }
.bar .btn { background: var(--neon); color: #08140a; padding: 9px 18px; border-radius: 9px; font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 14px; }
.bar .btn:hover { color: #08140a; filter: brightness(1.05); }

/* ---- layout ---- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.article { max-width: 740px; margin: 0 auto; padding: 0 22px; }
.crumbs { font-size: 13px; color: var(--muted); padding: 22px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--neon); }
.crumbs span { color: #57574f; }

/* ---- article header ---- */
.chip { display: inline-block; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--neon); border: 1px solid rgba(132, 233, 31, 0.4); background: rgba(132, 233, 31, 0.08); border-radius: 999px; padding: 6px 13px; margin: 26px 0 16px; }
.post-h1 { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: clamp(30px, 5.2vw, 48px); line-height: 1.08; letter-spacing: -0.015em; color: #fff; margin: 0 0 16px; text-wrap: balance; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: var(--muted); margin: 0 0 26px; }
.byline .dot { width: 4px; height: 4px; border-radius: 50%; background: #4a4a45; }
.byline .ava { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #9bff3d, #7df818, #5bc400); display: inline-flex; align-items: center; justify-content: center; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 14px; color: #08210a; }
.banner { height: clamp(150px, 26vw, 240px); border-radius: 20px; margin: 0 0 36px; background: radial-gradient(120% 120% at 80% -20%, rgba(132, 233, 31, 0.4), transparent 55%), linear-gradient(135deg, #16210b, #0a0d07 70%); border: 1px solid rgba(132, 233, 31, 0.18); position: relative; overflow: hidden; }
.banner::after { content: ""; position: absolute; inset: 0; opacity: 0.5; background-image: radial-gradient(rgba(132, 233, 31, 0.18) 1px, transparent 1px); background-size: 22px 22px; }

/* ---- prose ---- */
.prose { font-size: 17px; color: #cfcfc9; }
.prose > p { margin: 0 0 20px; }
.lede { font-size: 19px; color: #dadad4; }
.prose h2 { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: clamp(24px, 3.4vw, 31px); color: #fff; line-height: 1.2; letter-spacing: -0.01em; margin: 44px 0 14px; }
.prose h3 { font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 21px; color: #fff; margin: 30px 0 10px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 22px; }
.prose li { margin: 8px 0; }
.prose strong { color: #ebebe5; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote { margin: 26px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--neon); font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 20px; line-height: 1.45; color: #fff; }
.prose blockquote cite { display: block; margin-top: 8px; font-family: "Hanken Grotesk", sans-serif; font-weight: 600; font-style: normal; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--neon); }

/* tables */
.table-wrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
thead th { background: #101510; color: #fff; font-family: "Baloo 2", sans-serif; font-weight: 700; text-align: left; padding: 12px 16px; font-size: 14px; }
tbody td { padding: 12px 16px; border-top: 1px solid var(--line); color: #c4c4be; vertical-align: top; }
tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.015); }

/* key takeaways */
.takeaways { background: rgba(132, 233, 31, 0.05); border: 1px solid rgba(132, 233, 31, 0.22); border-radius: 16px; padding: 22px 24px; margin: 30px 0; }
.takeaways h2 { margin: 0 0 12px; font-size: 19px; }
.takeaways ul { margin: 0; padding-left: 20px; }
.takeaways li { margin: 7px 0; color: #d2e9b6; }

/* CTA box */
.cta { background: linear-gradient(180deg, #161c10, #0c0d0a 80%); border: 1.5px solid rgba(132, 233, 31, 0.4); border-radius: 20px; padding: 28px 26px; margin: 36px 0; text-align: center; box-shadow: 0 40px 90px -50px rgba(132, 233, 31, 0.4); }
.cta h3 { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 23px; color: #fff; margin: 0 0 8px; }
.cta p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.cta .go { display: inline-block; background: var(--neon); color: #08140a; text-decoration: none; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 16px; padding: 14px 30px; border-radius: 12px; box-shadow: 0 16px 38px -14px rgba(132, 233, 31, 0.7); }
.cta .go:hover { color: #08140a; transform: translateY(-2px); }
.cta small { display: block; margin-top: 12px; font-size: 12.5px; color: #76766f; }

/* FAQ */
.faq { margin: 40px 0 8px; }
.faq h2 { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: clamp(24px, 3.4vw, 31px); color: #fff; margin: 0 0 18px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 0 0 12px; background: #101010; }
.faq-item h3 { font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 17.5px; color: #fff; margin: 0 0 6px; }
.faq-item p { margin: 0; font-size: 15.5px; color: #adada7; }

/* author + related */
.author { display: flex; gap: 16px; align-items: flex-start; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; margin: 40px 0; }
.author .ava { flex: none; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #9bff3d, #7df818, #5bc400); display: flex; align-items: center; justify-content: center; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 22px; color: #08210a; }
.author .name { font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 16px; color: #fff; }
.author p { margin: 4px 0 0; font-size: 14.5px; color: var(--muted); }
.related { margin: 12px 0 60px; }
.related h2 { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 22px; color: #fff; margin: 0 0 18px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

/* post cards (index + related) */
.card { display: block; text-decoration: none; background: #111; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(132, 233, 31, 0.4); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.9); }
.card .thumb { height: 150px; background: radial-gradient(120% 120% at 80% -20%, rgba(132, 233, 31, 0.35), transparent 55%), linear-gradient(135deg, #16210b, #0a0d07 70%); position: relative; }
.card .thumb span { position: absolute; left: 16px; bottom: 14px; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #08140a; background: var(--neon); border-radius: 999px; padding: 5px 11px; }
.card .body { padding: 18px 20px 22px; }
.card .body h3 { font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 18.5px; line-height: 1.25; color: #fff; margin: 0 0 8px; }
.card .body p { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.card .meta { font-size: 12.5px; color: #6f6f6a; }

/* blog index hero */
.blog-hero { padding: 50px 0 30px; }
.blog-hero .eyebrow { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--neon); }
.blog-hero h1 { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: clamp(34px, 6vw, 56px); line-height: 1.04; letter-spacing: -0.02em; color: #fff; margin: 14px 0 14px; }
.blog-hero p { font-size: 18px; color: var(--ink); max-width: 620px; margin: 0; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; padding: 16px 0 70px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #000; }
.fbar { max-width: 1120px; margin: 0 auto; padding: 28px 22px 52px; font-size: 13.5px; color: #6f6f6a; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.fbar a { color: #a0a09b; text-decoration: none; }
.fbar a:hover { color: var(--neon); }
.fbar .arc { flex-basis: 100%; color: #5e5e59; margin-top: 4px; }

@media (max-width: 600px) {
  .bar nav { gap: 14px; }
  .bar nav a.hide-sm { display: none; }
  .prose { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card:hover, .cta .go:hover { transform: none; } }
