/* BitcoinHomeBase Blog — shared styles */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bitcoin: #F7931A;
  --bitcoin-dark: #E8850F;
  --gold: #FFD700;
  --dark: #0D1117;
  --darker: #080B10;
  --card: #161B22;
  --card-border: #21262D;
  --text: #E6EDF3;
  --text-muted: #8B949E;
  --text-body: #D1D5DA;
  --green: #3FB950;
  --red: #F85149;
  --blue: #58A6FF;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--darker);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--bitcoin); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ======== GLOBAL LAYOUT ======== */
.container { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ======== SITE HEADER (shared) ======== */
.site-header {
  border-bottom: 1px solid var(--card-border);
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: .95;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}
.site-logo .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #f6b935;
  color: #061827;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 900;
  flex: 0 0 auto;
  line-height: 1;
}
.site-logo .brand-text { color: var(--text); }
.site-logo .brand-text strong { color: var(--text); font-weight: 900; }
.site-nav { display: flex; gap: 28px; font-size: 14px; font-weight: 600; }
.site-nav a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.site-nav a:hover { color: var(--bitcoin); text-decoration: none; }
.site-nav a.active { color: var(--bitcoin); }
.site-nav-cta {
  background: var(--bitcoin);
  color: #000 !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
}
.site-nav-cta:hover { background: var(--bitcoin-dark); color: #000 !important; }

/* ======== ANNOUNCEMENT BAR ======== */
.announcement {
  background: linear-gradient(90deg, var(--bitcoin), #E8850F, var(--bitcoin));
  color: #000;
  text-align: center;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.announcement a { color: #000; text-decoration: underline; }

/* ======== BLOG INDEX ======== */
.blog-hero {
  padding: 72px 24px 48px;
  text-align: center;
  background: linear-gradient(180deg, var(--dark), var(--darker));
  border-bottom: 1px solid var(--card-border);
}
.blog-hero-kicker {
  display: inline-block;
  color: var(--bitcoin);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.blog-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.blog-hero p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 17px;
}

.post-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  padding: 64px 0;
}
@media (min-width: 880px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}
.post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(247,147,26,0.4);
}
.post-card a { color: inherit; text-decoration: none; }
.post-cover {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  background: linear-gradient(135deg, rgba(247,147,26,0.25), rgba(247,147,26,0.05));
  border-bottom: 1px solid var(--card-border);
}
.post-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.post-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bitcoin);
  font-weight: 700;
  margin-bottom: 10px;
}
.post-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.post-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin-bottom: 18px; flex: 1; }
.post-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.post-meta .read-more { color: var(--bitcoin); font-weight: 700; }

/* ======== ARTICLE ======== */
.article-head {
  padding: 64px 24px 32px;
  text-align: center;
  background: linear-gradient(180deg, var(--dark), var(--darker));
  border-bottom: 1px solid var(--card-border);
}
.article-head .post-tag { font-size: 12px; margin-bottom: 14px; }
.article-head h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  line-height: 1.18;
  max-width: 820px;
  margin: 0 auto 18px;
}
.article-deck {
  max-width: 680px;
  margin: 0 auto 22px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
}
.article-byline {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.article-byline strong { color: var(--text); }

/* Article body */
.article {
  padding: 56px 24px 24px;
  max-width: 720px;
  margin: 0 auto;
}
.article p,
.article ul,
.article ol {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 20px;
}
.article h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 14px;
  line-height: 1.25;
}
.article h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 10px;
}
.article ul, .article ol { padding-left: 24px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--text); }
.article blockquote {
  border-left: 3px solid var(--bitcoin);
  margin: 28px 0;
  padding: 4px 0 4px 20px;
  color: var(--text-muted);
  font-style: italic;
}
.article .callout {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--bitcoin);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 28px 0;
  color: var(--text-body);
  font-size: 16px;
}
.article .callout strong { color: var(--bitcoin); }
.article a { color: var(--bitcoin); text-decoration: underline; }
/* Override the .article a rule for buttons-as-links so the button styles win */
.article a.btn, .article .btn { text-decoration: none; }
.article a.btn-primary, .article .btn-primary { color: #000; text-decoration: none; }
.article a.btn-primary:hover, .article .btn-primary:hover { color: #000; text-decoration: none; }
.article a.btn-outline, .article .btn-outline { color: var(--bitcoin); text-decoration: none; }

/* Inline CTA halfway through articles */
.inline-cta {
  background: linear-gradient(135deg, rgba(247,147,26,0.08), rgba(247,147,26,0.02));
  border: 1px solid rgba(247,147,26,0.35);
  border-radius: 14px;
  padding: 28px;
  margin: 36px 0;
  text-align: center;
}
.inline-cta h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 8px;
}
.inline-cta p { font-size: 15px; color: var(--text-muted); margin-bottom: 18px; }
.inline-cta .btn { display: inline-block; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: linear-gradient(135deg, var(--bitcoin), var(--bitcoin-dark)); color: #000; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(247,147,26,0.35); color:#000; text-decoration: none; }
.btn-outline { background: transparent; border: 2px solid var(--bitcoin); color: var(--bitcoin); }
.btn-outline:hover { background: rgba(247,147,26,0.1); text-decoration: none; }
.btn-block { width: 100%; padding: 16px; font-size: 16px; }

/* Conversion footer — big sales pitch after article */
.conv-footer {
  background: linear-gradient(165deg, #1a1f28, #0d1117);
  border: 2px solid var(--bitcoin);
  border-radius: 20px;
  padding: 44px 36px;
  margin: 48px auto 0;
  max-width: 720px;
  text-align: center;
}
.conv-footer .kicker {
  display: inline-block;
  background: rgba(247,147,26,0.15);
  color: var(--bitcoin);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.conv-footer h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 3.6vw, 34px);
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}
.conv-footer .highlight { color: var(--bitcoin); }
.conv-footer p { color: var(--text-muted); font-size: 16px; line-height: 1.7; margin-bottom: 22px; max-width: 540px; margin-left: auto; margin-right: auto; }

.conv-pricing {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}
.conv-price-old { color: var(--text-muted); text-decoration: line-through; font-size: 18px; }
.conv-price-new { color: var(--green); font-weight: 900; font-size: 44px; line-height: 1; }
.conv-price-note { color: var(--text-muted); font-size: 14px; }

.conv-bullets {
  list-style: none;
  padding: 0;
  max-width: 440px;
  margin: 0 auto 28px;
  text-align: left;
}
.conv-bullets li {
  color: var(--text-body);
  font-size: 15px;
  padding: 8px 0 8px 30px;
  position: relative;
}
.conv-bullets li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  background: rgba(63,185,80,0.15);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.conv-footer .btn { font-size: 16px; padding: 16px 34px; }
.conv-footer .guarantee { margin-top: 14px; color: var(--text-muted); font-size: 13px; }

/* Related posts */
.related {
  padding: 64px 24px 24px;
  max-width: 1040px;
  margin: 0 auto;
}
.related h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  text-align: center;
  margin-bottom: 32px;
  color: var(--text);
}

/* Site footer */
.site-footer {
  padding: 40px 24px 32px;
  margin-top: 48px;
  border-top: 1px solid var(--card-border);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
.site-footer p { margin-bottom: 10px; }
.site-footer .ftr-nav { margin-bottom: 14px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.site-footer .ftr-nav a { color: var(--text-muted); text-decoration: none; }
.site-footer .ftr-nav a:hover { color: var(--bitcoin); }
.site-footer .ftr-disclaim { max-width: 700px; margin: 14px auto 0; font-size: 12px; line-height: 1.6; }

/* Signup box */
.signup-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 28px 24px;
  margin: 36px 0;
}
.signup-box h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 6px;
}
.signup-box p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.signup-box form { display: flex; gap: 10px; flex-wrap: wrap; }
.signup-box input[type="email"] {
  flex: 1 1 220px;
  padding: 12px 14px;
  border: 2px solid var(--card-border);
  border-radius: 10px;
  background: var(--darker);
  color: var(--text);
  font-size: 15px;
  outline: none;
  font-family: inherit;
}
.signup-box input[type="email"]:focus { border-color: var(--bitcoin); }
.signup-box button { padding: 12px 22px; }
.signup-box .notice { color: var(--text-muted); font-size: 12px; margin-top: 10px; }
.signup-box .notice.success { color: var(--green); }
