/* ============================================================
   SellifyGPT — Blog stylesheet (Aurora brand system)
   Mirrors the design tokens, nav, and footer of the main site
   (see index.html / about.html). Shared by /blog/index.html and
   every /blog/<slug>.html post so generated pages stay consistent.
   ============================================================ */

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

:root {
  --navy:        #0F1115;
  --navy-deep:   #0B0D12;
  --navy-mid:    #4949C4;
  --navy-light:  #898781;
  --gold:        #5B5BD6;
  --gold-light:  #9594F2;
  --gold-pale:   #EEF0FF;
  --cream:       #F8F8F7;
  --rule:        #E4E2DE;
  --white:       #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter',sans-serif;
  background: var(--white);
  color: var(--navy);
  line-height: 1.75;
  font-size: 16px;
}

a { color: var(--navy-mid); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── NAV (verbatim from site) ──────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1160px; margin: 0 auto; padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { display: block; height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'Inter',sans-serif; font-size: 14px; font-weight: 500;
  letter-spacing: 0; text-transform: none;
  text-decoration: none; color: var(--navy);
  opacity: 0.7; transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--gold); }
.nav-cta { display: flex; align-items: center; }
.btn-primary {
  display: inline-block; background: var(--gold); color: white;
  border: none; padding: 13px 26px; border-radius: 10px;
  font-family: 'Inter',sans-serif; font-size: 15px;
  font-weight: 600; letter-spacing: 0; text-transform: none;
  text-decoration: none; cursor: pointer; transition: background 0.2s;
}
.btn-primary:hover { background: var(--navy-mid); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 4px; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); }
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--rule);
    padding: 24px; gap: 20px; align-items: flex-start;
  }
  .nav-cta.open {
    display: block; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); padding: 0 24px 24px;
  }
}

/* ── PAGE HEADER (verbatim from about.html) ────────────── */
.page-header { background: var(--navy-deep); padding-top: 0; }
.page-header-inner {
  max-width: 1160px; margin: 0 auto; padding: 64px 24px 60px;
  position: relative; overflow: hidden;
}
.page-header-inner::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.08);
}
.page-header-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.page-header-title {
  font-family: 'Clash Display','Inter',sans-serif; font-size: clamp(32px, 5vw, 52px);
  font-weight: 400; color: white; line-height: 1.15; max-width: 760px;
}
.page-header-title em { font-style: italic; color: var(--gold-light); }
.page-header-rule {
  height: 1px; margin-top: 28px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.4), transparent);
}

/* ── BREADCRUMB ────────────────────────────────────────── */
.breadcrumb {
  position: relative; z-index: 1;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { margin: 0 8px; color: rgba(255,255,255,0.3); }

/* ── ARTICLE META (under the header) ───────────────────── */
.post-meta {
  position: relative; z-index: 1; margin-top: 22px;
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.6);
}
.post-meta .cat {
  color: var(--navy-deep); background: var(--gold);
  padding: 4px 12px; font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
}

/* ── ARTICLE HERO IMAGE ────────────────────────────────── */
.post-hero {
  max-width: 980px;
  margin: -52px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.post-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  box-shadow: 0 18px 50px rgba(10,30,51,0.22);
}
@media (max-width: 600px) { .post-hero { margin-top: -28px; } }

/* ── ARTICLE BODY ──────────────────────────────────────── */
.article { padding: 56px 0 96px; }
.article-wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.article-wrap p {
  font-size: 17px; line-height: 1.85; color: var(--navy);
  margin-bottom: 24px;
}
.article-wrap h2 {
  font-family: 'Clash Display','Inter',sans-serif;
  font-size: clamp(26px, 3vw, 34px); font-weight: 500; color: var(--navy);
  line-height: 1.25; margin: 52px 0 8px;
}
.article-wrap h2 + .gold-rule { margin: 14px 0 26px; }
.article-wrap h3 {
  font-family: 'Clash Display','Inter',sans-serif;
  font-size: clamp(21px, 2.2vw, 25px); font-weight: 600; color: var(--navy);
  margin: 38px 0 14px;
}
.gold-rule { width: 48px; height: 1.5px; background: var(--gold); margin: 20px 0 28px; }
.article-wrap ul, .article-wrap ol { margin: 0 0 26px 26px; }
.article-wrap li { font-size: 17px; line-height: 1.8; margin-bottom: 10px; color: var(--navy); }
.article-wrap a { color: var(--navy-mid); text-decoration: underline; text-underline-offset: 3px; }
.article-wrap a:hover { color: var(--gold); }
.article-wrap strong { color: var(--navy-deep); }
.article-wrap figure { margin: 32px 0; }
.article-wrap figure img { width: 100%; height: auto; display: block; border-radius: 2px; }
.article-wrap figcaption {
  font-size: 13px; color: var(--navy-light); margin-top: 10px; text-align: center;
}
.lead { font-size: 20px !important; line-height: 1.7 !important; color: var(--navy-deep) !important; }

blockquote {
  border-left: 3px solid var(--gold); background: var(--gold-pale);
  margin: 32px 0; padding: 22px 28px;
  font-family: 'Clash Display','Inter',sans-serif; font-style: italic;
  font-size: 21px; line-height: 1.5; color: var(--navy-deep);
}

/* Key-takeaways / TL;DR box */
.key-points {
  background: var(--white); border: 1px solid var(--rule);
  border-left: 3px solid var(--gold); padding: 24px 28px; margin: 0 0 40px;
}
.key-points .kp-title {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.key-points ul { margin: 0 0 0 20px; }
.key-points li { font-size: 15px; margin-bottom: 8px; }

/* In-article CTA */
.cta-box {
  background: var(--navy-deep); color: var(--white);
  padding: 44px 40px; margin: 56px 0 0; text-align: center;
}
.cta-box h2 {
  font-family: 'Clash Display','Inter',sans-serif; color: var(--white);
  font-size: clamp(24px, 3vw, 32px); font-weight: 400; margin: 0 0 12px;
}
.cta-box p { color: rgba(255,255,255,0.7) !important; max-width: 520px; margin: 0 auto 28px !important; }
.cta-box .btn-primary { background: var(--white); color: var(--gold); }
.cta-box .btn-primary:hover { background: var(--rule); }

/* Author / disclosure */
.disclosure {
  max-width: 760px; margin: 48px auto 0; padding: 0 24px;
  font-size: 12px; color: var(--navy-light); line-height: 1.7;
}

/* ── BLOG LISTING ──────────────────────────────────────── */
.listing { padding: 72px 0 96px; }
.post-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px;
}
.post-card {
  background: var(--white); border: 1px solid var(--rule);
  display: flex; flex-direction: column; transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none; color: inherit;
}
.post-card:hover { box-shadow: 0 8px 30px rgba(10,30,51,0.10); transform: translateY(-3px); }
.post-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: var(--navy); }
.post-card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.post-card .cat {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.post-card h2 {
  font-family: 'Clash Display','Inter',sans-serif; font-size: 23px;
  font-weight: 500; color: var(--navy); line-height: 1.3; margin-bottom: 12px;
}
.post-card p { font-size: 14px; color: var(--navy-light); line-height: 1.7; margin-bottom: 18px; }
.post-card .read {
  margin-top: auto; font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--navy-mid);
}
.post-card-date { font-size: 12px; color: var(--navy-light); margin-bottom: 14px; }
@media (max-width: 720px) { .post-grid { grid-template-columns: 1fr; } }

/* ── FOOTER (verbatim from site) ───────────────────────── */
footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding: 60px 0 32px;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px;
  margin-bottom: 48px; max-width: 1160px; margin-left: auto; margin-right: auto; padding: 0 24px;
}
.footer-brand-logo { display: block; width: 220px; max-width: 100%; height: auto; margin-bottom: 20px; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 300px; }
.footer-col-title {
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(201,168,76,0.1); padding-top: 28px;
  max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 1px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 11px; color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold-light); }
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── FADE-IN ───────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   SITE CHROME — nav + footer copied verbatim from the main site
   (index.html Aurora system) so the blog uses the SAME header and
   footer as the rest of sellifygpt.com. Appended last so these win.
   ============================================================ */
:root{
  --ind:#5B5BD6;--ind600:#4949C4;--ind300:#9594F2;--teal:#1D9E75;--coral:#FF5C39;
  --ink:#0F1115;--sec:#54545A;--ter:#898781;
  --paper:#fff;--cloud:#F8F8F7;--mist:#EFEEEC;--night:#0B0D12;
  --display:'Clash Display','Inter',system-ui,sans-serif;--sans:'Inter',system-ui,-apple-system,sans-serif;
}
.wrap{max-width:1140px;margin:0 auto;padding:0 24px}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:8px;font-family:var(--sans);font-weight:600;font-size:15px;padding:13px 22px;border-radius:10px;border:1px solid transparent;cursor:pointer;transition:.15s;white-space:nowrap;text-decoration:none}
.btn-primary{background:var(--ind);color:#fff}
.btn-primary:hover{background:var(--ind600)}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--border)}
.btn-ghost:hover{border-color:var(--ind);color:var(--ind)}
.btn-lg{padding:16px 28px;font-size:16px}

/* nav — identical to main site */
nav{position:sticky;top:0;left:auto;right:auto;z-index:100;background:rgba(255,255,255,.9);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
.nav-in{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;max-width:1140px;margin:0 auto;height:auto}
.logo{display:flex;align-items:center;text-decoration:none}
.logo-img{height:30px;width:auto;display:block}
.nav-links{display:flex;align-items:center;gap:28px;list-style:none}
.nav-links a{font-family:var(--sans);font-size:14px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--sec);text-decoration:none;opacity:1}
.nav-links a:hover{color:var(--ink)}
.nav-links a.active{color:var(--ind)}
.nav-cta{display:flex;align-items:center;gap:12px}
@media(max-width:820px){.nav-links{display:none}}

/* footer — identical to main site */
footer{position:static;background:var(--night);color:#C9C9D2;padding:60px 0 36px;margin-top:30px}
footer .cols{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:30px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.1)}
footer .logo-img,.footer-logo-img{height:28px;margin-bottom:14px;width:auto}
footer h4{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#8B8B95;margin-bottom:14px;font-family:var(--sans);font-weight:600}
footer a{display:block;font-size:14px;color:#C9C9D2;margin:9px 0;text-decoration:none}
footer a:hover{color:#fff}
footer .fine{font-size:13px;color:#8B8B95;padding-top:24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
footer .desc{font-size:14px;color:#9A9AA4;max-width:280px;margin-top:0}
@media(max-width:720px){footer .cols{grid-template-columns:1fr 1fr}}
