/* Turnkey CFO — Blog stylesheet
   Light theme, clean and minimal. Plus Jakarta Sans. Emerald used sparingly.
   Brand source: .claude/Turnkey Branding and Logos/TURNKEY_BRAND_STYLE_GUIDE.md
   Generated/owned by seo-content-engine — do not hand-edit on the live site;
   edit templates/blog-styles.css in the skill and re-publish. */

:root {
  --tk-emerald: #00E676;       /* brand accent — bars, eyebrow */
  --tk-link:    #057a4b;       /* readable emerald for text links on white */
  --tk-bg:      #ffffff;
  --tk-soft:    #f6f7f5;       /* soft tint for the CTA box */
  --tk-border:  #e7e7e4;
  --tk-text:    #1f2328;       /* near-black body text */
  --tk-heading: #111317;
  --tk-muted:   #6b7280;
  --tk-max:     700px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--tk-bg);
  color: var(--tk-text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  line-height: 1.75;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--tk-link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ───────────────────────────────────────────────────────────── */
.tk-header {
  border-bottom: 1px solid var(--tk-border);
  background: #fff;
}
.tk-header-inner {
  max-width: 1040px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
}
.tk-logo { display: flex; align-items: center; gap: 10px; }
.tk-logo img { height: 26px; width: auto; }
.tk-logo span { font-weight: 700; font-size: 17px; color: var(--tk-heading); }
.tk-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.tk-nav a { color: var(--tk-muted); font-size: 15px; font-weight: 500; }
.tk-nav a:hover { color: var(--tk-link); text-decoration: none; }

/* ── Article ──────────────────────────────────────────────────────────── */
.tk-article { max-width: var(--tk-max); margin: 0 auto; padding: 60px 24px 88px; }
.tk-eyebrow {
  color: var(--tk-link); font-weight: 700; font-size: 12px;
  letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 14px;
}
.tk-article h1 {
  font-size: 2.35rem; line-height: 1.22; font-weight: 800;
  letter-spacing: -0.02em; color: var(--tk-heading); margin-bottom: 18px;
}
.tk-byline {
  color: var(--tk-muted); font-size: 14.5px;
  padding-bottom: 24px; margin-bottom: 38px;
  border-bottom: 1px solid var(--tk-border);
}
.tk-byline strong { color: var(--tk-text); font-weight: 600; }

.tk-body h2 {
  font-size: 1.5rem; font-weight: 700; color: var(--tk-heading);
  letter-spacing: -0.01em; margin: 46px 0 14px; line-height: 1.3;
}
.tk-body h3 {
  font-size: 1.18rem; font-weight: 700; color: var(--tk-heading);
  margin: 32px 0 10px;
}
.tk-body p { margin: 0 0 20px; }
.tk-body ul, .tk-body ol { margin: 0 0 22px; padding-left: 24px; }
.tk-body li { margin-bottom: 8px; }
.tk-body strong { color: var(--tk-heading); font-weight: 700; }
.tk-body a { font-weight: 600; }
.tk-body blockquote {
  border-left: 3px solid var(--tk-emerald);
  padding: 2px 0 2px 20px; margin: 24px 0; color: var(--tk-muted);
  font-style: italic;
}

/* ── CTA / footer ─────────────────────────────────────────────────────── */
.tk-cta {
  margin-top: 52px; padding: 26px 28px; border-radius: 12px;
  background: var(--tk-soft); border: 1px solid var(--tk-border);
}
.tk-cta h3 { margin: 0 0 8px; color: var(--tk-heading); font-size: 1.1rem; }
.tk-cta p { color: var(--tk-muted); font-size: 15px; margin: 0; }

.tk-footer {
  border-top: 1px solid var(--tk-border);
  color: var(--tk-muted); font-size: 14px;
  text-align: center; padding: 30px 24px;
}
.tk-footer a { color: var(--tk-muted); }

/* ── Blog index ───────────────────────────────────────────────────────── */
.tk-index { max-width: 1040px; margin: 0 auto; padding: 60px 24px 88px; }
.tk-index-head { margin-bottom: 42px; }
.tk-index-head h1 {
  font-size: 2.4rem; font-weight: 800; color: var(--tk-heading);
  letter-spacing: -0.02em; margin-bottom: 10px;
}
.tk-index-head p { color: var(--tk-muted); font-size: 17px; }
.tk-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.tk-card {
  display: block; background: #fff;
  border: 1px solid var(--tk-border); border-radius: 12px;
  padding: 24px; transition: border-color .15s ease, box-shadow .15s ease;
}
.tk-card:hover {
  border-color: var(--tk-emerald);
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  text-decoration: none;
}
.tk-card .tk-tag {
  color: var(--tk-link); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.tk-card h2 {
  color: var(--tk-heading); font-size: 1.16rem; font-weight: 700;
  margin: 9px 0 8px; line-height: 1.38;
}
.tk-card p { color: var(--tk-muted); font-size: 14.5px; }
.tk-card .tk-date { color: #9aa0a6; font-size: 13px; margin-top: 14px; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .tk-article h1 { font-size: 1.85rem; }
  .tk-index-head h1 { font-size: 1.95rem; }
  .tk-article, .tk-index { padding-top: 40px; }
}
