/* ═══════════════════════════════════════════════════════════════
   RefineMyDraft Blog — premium editorial light theme
   Deliberately a DIFFERENT vibe from the app (which is dark navy):
   warm paper, ink text, gold + teal accents, glossy white cards.
   Reading-friendly, premium, calm.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #f2eee5;
  --bg2: #ebe5d8;
  --navy: #0c1e3b;
  --card: #fdfbf5;
  --ink: #182338;
  --ink-mid: #2c3a52;
  --ink-lt: #4d5e77;
  --ink-xs: #7a8ba3;
  --teal: #0f766e;
  --teal-bright: #14b8a6;
  --teal-tint: #e3f4f1;
  --gold: #b45309;
  --gold-bright: #d97706;
  --gold-tint: #fdf0d7;
  --violet: #7c3aed;
  --violet-tint: #f3e8ff;
  --border: #ddd6c8;
  --border-h: rgba(15, 118, 110, .35);
  --shadow-sm: 0 1px 2px rgba(24, 35, 56, .05), 0 6px 18px rgba(24, 35, 56, .05);
  --shadow-md: 0 2px 4px rgba(24, 35, 56, .05), 0 14px 36px rgba(24, 35, 56, .09);
  --shadow-lg: 0 4px 8px rgba(24, 35, 56, .06), 0 24px 56px rgba(24, 35, 56, .13);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --body: 'Lora', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
ul, ol { list-style: none; padding-left: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background:
    radial-gradient(ellipse 900px 520px at 85% -10%, rgba(15, 118, 110, .05), transparent 60%),
    radial-gradient(ellipse 700px 420px at 5% 15%, rgba(180, 83, 9, .04), transparent 60%),
    radial-gradient(ellipse 600px 380px at 50% 110%, rgba(124, 58, 237, .03), transparent 60%),
    var(--bg);
  color: var(--ink-mid);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(20, 184, 166, .22); }

/* ── PROGRESS BAR (articles) ── */
#progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--teal), var(--gold-bright)); z-index: 200; transition: width .1s; }

/* ── NAV ── */
nav { position: sticky; top: 0; z-index: 100; background: rgba(242, 238, 229, .82); backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%); border-bottom: 1px solid rgba(24, 35, 56, .10); box-shadow: 0 10px 34px rgba(24, 35, 56, .08); padding: 0 48px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
nav::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(20, 184, 166, .5), rgba(217, 119, 6, .4), transparent); opacity: .8; pointer-events: none; }
.nav-logo { font-family: var(--serif); font-size: 18px; font-weight: 700; text-decoration: none; color: var(--ink); }
.nav-logo span { color: var(--gold); text-shadow: 0 0 16px rgba(180, 83, 9, .25); }
.nav-logo b { color: var(--teal); font-style: normal; text-shadow: 0 0 16px rgba(20, 184, 166, .25); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 13.5px; color: var(--ink-lt); text-decoration: none; font-weight: 500; transition: color .25s; border-radius: 6px; padding: 6px 10px; background: transparent; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal-bright), var(--gold-bright)); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-back { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-lt); text-decoration: none; transition: color .2s; }
.nav-back:hover { color: var(--teal); }
.nav-links .nav-cta {
  background: linear-gradient(135deg, #2dd4bf, #0d9488);
  color: #0b1526 !important;
  padding: 10px 22px;
  border-radius: 9px;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  box-shadow: 0 4px 18px rgba(45, 212, 191, .22);
  transition: transform .2s, box-shadow .2s;
}
.nav-links .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 26px rgba(45, 212, 191, .32);
  color: #0b1526 !important;
}

/* Hamburger — brand gold circle */
.nav-hamburger { display: none; background: linear-gradient(135deg, var(--gold-bright), var(--gold)); border: 0; border-radius: 50%; cursor: pointer; padding: 0; width: 42px; height: 42px; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; box-shadow: 0 2px 10px rgba(180, 83, 9, .35), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .2s; }
.nav-hamburger:hover { transform: scale(1.06); }
.nav-hamburger span { display: block; width: 18px; height: 2.5px; background: #fff; border-radius: 2px; transition: all .25s; }

.mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; background: rgba(242, 238, 229, .97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 20px 20px 24px; z-index: 99; flex-direction: column; gap: 4px; box-shadow: 0 16px 40px rgba(24, 35, 56, .12); }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 15px; color: var(--ink-mid); text-decoration: none; font-weight: 500; padding: 10px 4px; border-bottom: 1px solid var(--border); transition: color .2s; }
.mobile-menu a:hover { color: var(--teal); }
.mobile-menu .nav-cta { background: linear-gradient(135deg, #2dd4bf, #0d9488); color: #0b1526 !important; padding: 10px 22px; border-radius: 9px; text-align: center; margin-top: 8px; box-shadow: 0 4px 18px rgba(45, 212, 191, .22); border-bottom: none; }

/* Tool switcher pills — mirror the index page's three-tool nav presentation */
.nav-links .tool-switcher {
  display: flex; align-items: center; gap: 2px;
  background: rgba(10, 24, 50, .82);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 30px; padding: 4px;
  backdrop-filter: blur(12px);
}
.nav-links .tool-switcher a {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  padding: 7px 16px; border-radius: 24px; text-decoration: none;
  color: #e2e8f0; transition: all .22s;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap; letter-spacing: .01em;
}
.nav-links .tool-switcher a:hover { color: #fff; background: rgba(255, 255, 255, .20); border: 1px solid rgba(255, 255, 255, .35); }
.nav-links .tool-switcher a.active-gold { background: linear-gradient(135deg, #fbbf24, #d97706); color: #0b1526; box-shadow: 0 2px 12px rgba(245, 158, 11, .25); }
.nav-links .tool-switcher a.active { background: linear-gradient(135deg, #2dd4bf, #0d9488); color: #0b1526; box-shadow: 0 2px 12px rgba(45, 212, 191, .25); }
.nav-links .tool-switcher a.active-violet { background: linear-gradient(135deg, #a78bfa, #6d28d9); color: #fff; box-shadow: 0 2px 12px rgba(167, 139, 250, .25); }
.nav-links .tool-switcher a.active-orange { background: linear-gradient(135deg, #fb923c, #ea580c); color: #0b1526; box-shadow: 0 2px 12px rgba(234, 88, 12, .3); }
.nav-links .tool-switcher a.free-pill { background: linear-gradient(135deg, #f472b6, #db2777); color: #fff; box-shadow: 0 2px 12px rgba(219, 39, 119, .35); }
.nav-links .tool-switcher a.free-pill:hover { background: linear-gradient(135deg, #f472b6, #db2777); color: #fff; box-shadow: 0 4px 16px rgba(219, 39, 119, .5); border: 1px solid rgba(255, 255, 255, .35); }

/* Mobile menu pills */
.mobile-menu .tool-switcher { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 6px 0; }
.mobile-menu .tool-switcher a {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  padding: 7px 16px; border-radius: 24px; text-decoration: none;
  color: #e2e8f0; transition: all .22s; border-bottom: none;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap; letter-spacing: .01em;
}
.mobile-menu .tool-switcher a.active-gold { background: linear-gradient(135deg, #fbbf24, #d97706); color: #0b1526; box-shadow: 0 2px 12px rgba(245, 158, 11, .25); }
.mobile-menu .tool-switcher a.active { background: linear-gradient(135deg, #2dd4bf, #0d9488); color: #0b1526; box-shadow: 0 2px 12px rgba(45, 212, 191, .25); }
.mobile-menu .tool-switcher a.active-violet { background: linear-gradient(135deg, #a78bfa, #6d28d9); color: #fff; box-shadow: 0 2px 12px rgba(167, 139, 250, .25); }
.mobile-menu .tool-switcher a.active-orange { background: linear-gradient(135deg, #fb923c, #ea580c); color: #0b1526; box-shadow: 0 2px 12px rgba(234, 88, 12, .3); border-bottom: none; }
.mobile-menu .tool-switcher a.free-pill { background: linear-gradient(135deg, #f472b6, #db2777); color: #fff; box-shadow: 0 2px 12px rgba(219, 39, 119, .35); border-bottom: none; }

/* ── BLOG HERO (index) ── */
.blog-hero { padding: 84px 48px 76px; text-align: center; position: relative; overflow: hidden; background: linear-gradient(180deg, #f6f1e7 0%, var(--bg) 100%); border-bottom: 1px solid var(--border); }
.blog-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 640px 380px at 50% -30%, rgba(20, 184, 166, .12), transparent 70%), radial-gradient(ellipse 460px 300px at 85% -20%, rgba(217, 119, 6, .08), transparent 70%); }
.hero-label { display: inline-block; font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); background: var(--teal-tint); border: 1px solid rgba(15, 118, 110, .28); padding: 6px 16px; border-radius: 22px; margin-bottom: 22px; position: relative; }
.blog-hero h1 { font-family: var(--serif); font-size: clamp(36px, 5vw, 60px); font-weight: 900; color: var(--ink); line-height: 1.08; margin-bottom: 18px; position: relative; }
.blog-hero h1 em { color: var(--teal); font-style: italic; }
.blog-hero p { font-size: 17px; color: var(--ink-lt); max-width: 540px; margin: 0 auto; line-height: 1.75; position: relative; }

/* ── LAYOUT ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 48px; }

/* ── SECTION LABELS ── */
.section-label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.section-label::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }

/* ── FEATURED ── */
.featured-section { padding: 64px 0 0; }
.featured-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; text-decoration: none; background: var(--card); box-shadow: var(--shadow-md); transition: transform .25s, box-shadow .25s, border-color .25s; }
.featured-card:hover { transform: translateY(-4px); border-color: var(--border-h); box-shadow: var(--shadow-lg); }
.featured-visual { min-height: 360px; display: flex; align-items: center; justify-content: center; padding: 48px; position: relative; overflow: hidden; background: radial-gradient(ellipse 420px 320px at 30% 50%, rgba(20, 184, 166, .25), transparent 70%), radial-gradient(ellipse 300px 240px at 80% 20%, rgba(124, 58, 237, .18), transparent 70%), linear-gradient(135deg, #0c1e3b 0%, #1e3a64 100%); }
.featured-visual::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .12), transparent 50%); }
.feat-icon { position: relative; z-index: 1; display: flex; }
.feat-icon svg { width: 88px; height: 88px; color: #fff; filter: drop-shadow(0 10px 28px rgba(0, 0, 0, .4)); }
.featured-content { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }

/* ── TAGS ── */
.art-tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 13px; border-radius: 20px; margin-bottom: 16px; border: 1px solid transparent; }
.tag-teal { color: #0f766e; background: var(--teal-tint); border-color: rgba(15, 118, 110, .25); }
.tag-gold { color: #92400e; background: var(--gold-tint); border-color: rgba(180, 83, 9, .25); }
.tag-navy { color: #f8fafc; background: #16233c; }
.tag-rose { color: #9f1239; background: #fff1f2; border-color: rgba(159, 18, 57, .2); }
.tag-violet { color: #6d28d9; background: var(--violet-tint); border-color: rgba(124, 58, 237, .25); }
.tag-sky { color: #1d4ed8; background: #dbeafe; border-color: rgba(29, 78, 216, .2); }

.featured-content h2 { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--ink); line-height: 1.25; margin-bottom: 14px; }
.featured-content p { font-family: var(--body); font-size: 16px; color: var(--ink-lt); line-height: 1.8; margin-bottom: 24px; }
.art-meta { display: flex; align-items: center; gap: 16px; font-size: 12.5px; color: var(--ink-xs); }
.art-meta span { display: flex; align-items: center; gap: 6px; }
.art-meta span svg { width: 14px; height: 14px; color: var(--teal); }
.read-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--teal); text-decoration: none; margin-top: 20px; transition: gap .2s, color .2s; }
.read-more:hover { gap: 10px; color: var(--gold); }

/* ── ARTICLES GRID ── */
.articles-section { padding: 56px 0 80px; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-card { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; background: var(--card); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.article-card:hover { transform: translateY(-4px); border-color: var(--border-h); box-shadow: var(--shadow-md); }
.card-visual { height: 180px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.card-visual svg { width: 54px; height: 54px; color: #fff; position: relative; z-index: 1; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .32)); }
.cv-1 { background: radial-gradient(ellipse 260px 180px at 30% 20%, rgba(45, 212, 191, .28), transparent 70%), linear-gradient(135deg, #0c1e3b, #1e3a64); }
.cv-2 { background: radial-gradient(ellipse 260px 180px at 30% 20%, rgba(45, 212, 191, .26), transparent 70%), linear-gradient(135deg, #065f46, #0d9488); }
.cv-3 { background: radial-gradient(ellipse 260px 180px at 30% 20%, rgba(245, 158, 11, .28), transparent 70%), linear-gradient(135deg, #92400e, #d97706); }
.cv-4 { background: radial-gradient(ellipse 260px 180px at 30% 20%, rgba(251, 113, 133, .26), transparent 70%), linear-gradient(135deg, #9f1239, #e11d48); }
.cv-5 { background: radial-gradient(ellipse 260px 180px at 30% 20%, rgba(245, 158, 11, .26), transparent 70%), linear-gradient(135deg, #92400e, #ea580c); }
.cv-6 { background: radial-gradient(ellipse 260px 180px at 30% 20%, rgba(196, 181, 253, .30), transparent 70%), linear-gradient(135deg, #5b21b6, #8b5cf6); }
.cv-7 { background: radial-gradient(ellipse 260px 180px at 30% 20%, rgba(147, 197, 253, .26), transparent 70%), linear-gradient(135deg, #1e40af, #3b82f6); }
.cv-8 { background: radial-gradient(ellipse 260px 180px at 30% 20%, rgba(45, 212, 191, .26), transparent 70%), linear-gradient(135deg, #0f766e, #14b8a6); }
.cv-9 { background: radial-gradient(ellipse 260px 180px at 30% 20%, rgba(45, 212, 191, .24), transparent 70%), linear-gradient(135deg, #134e4a, #0f766e); }
.cv-10 { background: radial-gradient(ellipse 260px 180px at 30% 20%, rgba(148, 163, 184, .24), transparent 70%), linear-gradient(135deg, #1e293b, #334155); }
.cv-11 { background: radial-gradient(ellipse 260px 180px at 30% 20%, rgba(251, 191, 36, .26), transparent 70%), linear-gradient(135deg, #78350f, #b45309); }
.cv-12 { background: radial-gradient(ellipse 260px 180px at 30% 20%, rgba(244, 114, 182, .26), transparent 70%), linear-gradient(135deg, #831843, #be185d); }
.cv-13 { background: radial-gradient(ellipse 260px 180px at 30% 20%, rgba(165, 180, 252, .26), transparent 70%), linear-gradient(135deg, #3730a3, #6366f1); }
.cv-14 { background: radial-gradient(ellipse 260px 180px at 30% 20%, rgba(251, 191, 36, .28), transparent 70%), linear-gradient(135deg, #78350f, #f59e0b); }
.cv-15 { background: radial-gradient(ellipse 260px 180px at 30% 20%, rgba(45, 212, 191, .26), transparent 70%), linear-gradient(135deg, #312e81, #8b5cf6); }
.card-visual::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, .14), transparent 55%); }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.3; margin: 10px 0 10px; }
.card-body p { font-family: var(--body); font-size: 14px; color: var(--ink-lt); line-height: 1.75; flex: 1; }
.card-foot { padding: 0 24px 20px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--ink-xs); }
.card-read { font-size: 12.5px; font-weight: 700; color: var(--teal); }

/* ── CTA BAND ── */
.cta-band { padding: 64px 48px; text-align: center; margin: 0 0 80px; background: radial-gradient(ellipse 620px 320px at 50% 0%, rgba(20, 184, 166, .14), transparent 70%), radial-gradient(ellipse 400px 260px at 85% 100%, rgba(124, 58, 237, .12), transparent 70%), linear-gradient(160deg, #16233c 0%, #0c1e3b 100%); box-shadow: var(--shadow-lg); }
.cta-band h2 { font-family: var(--serif); font-size: 34px; font-weight: 700; color: #fdfaf3; margin-bottom: 12px; }
.cta-band h2 em { color: var(--teal-bright); font-style: italic; }
.cta-band p { font-size: 15px; color: rgba(253, 250, 243, .68); margin-bottom: 30px; }
/* Coloured CTA buttons — styling copied from the index.html button system
   (single design reference): same gradients, text colours, borders, shadows
   and hover lift. Teal/gold use the dark index text; violet stays white. */
.btn-teal, .btn-gold, .btn-violet, .btn-teal-sm, .btn-gold-sm, .btn-violet-sm, .btn-ghost-sm {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--sans); font-size: 13.5px; font-weight: 700;
  padding: 10px 22px; border-radius: 9px; text-decoration: none;
  transition: all .2s ease; letter-spacing: .01em;
}
.btn-teal {
  background: linear-gradient(135deg, #2dd4bf, #0d9488);
  color: #0b1526;
  box-shadow: 0 4px 18px rgba(45, 212, 191, .22);
}
.btn-teal:hover { transform: translateY(-1px); box-shadow: 0 6px 26px rgba(45, 212, 191, .32); }
.btn-gold {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #0b1526;
  border: 1px solid rgba(253, 224, 71, .22);
  box-shadow: 0 6px 20px rgba(245, 158, 11, .24);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(245, 158, 11, .34); }
.btn-violet {
  background: linear-gradient(135deg, #a78bfa, #6d28d9);
  color: #fff;
  border: 1px solid rgba(196, 181, 253, .22);
  box-shadow: 0 6px 20px rgba(124, 58, 237, .28);
}
.btn-violet:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(124, 58, 237, .38); }
.btn-lg { padding: 14px 32px; font-size: 14.5px; }
.btn-teal-sm {
  background: linear-gradient(135deg, #2dd4bf, #0d9488);
  color: #0b1526;
  box-shadow: 0 4px 18px rgba(45, 212, 191, .22);
}
.btn-teal-sm:hover { transform: translateY(-1px); box-shadow: 0 6px 26px rgba(45, 212, 191, .32); }
.btn-ghost-sm {
  background: rgba(255, 255, 255, .10);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, .22);
  color: #fff;
  margin-left: 10px;
}
.btn-ghost-sm:hover { background: rgba(255, 255, 255, .18); color: #fff; border-color: rgba(255, 255, 255, .42); }
.btn-gold-sm {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #0b1526;
  border: 1px solid rgba(253, 224, 71, .22);
  box-shadow: 0 6px 20px rgba(245, 158, 11, .24);
  margin-left: 10px;
}
.btn-gold-sm:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(245, 158, 11, .34); }
.btn-violet-sm {
  background: linear-gradient(135deg, #a78bfa, #6d28d9);
  color: #fff;
  border: 1px solid rgba(196, 181, 253, .22);
  box-shadow: 0 6px 20px rgba(124, 58, 237, .28);
  margin-left: 10px;
}
.btn-violet-sm:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(124, 58, 237, .38); }

/* Override .article-body a link colour/underline for CTA buttons —
   teal/gold keep the index dark text, violet keeps white. */
.article-body .inline-cta .btn-teal-sm,
.article-body .inline-cta .btn-gold-sm,
.article-body .inline-cta .btn-violet-sm { text-decoration: none; }
.article-body .inline-cta .btn-teal-sm,
.article-body .inline-cta .btn-gold-sm { color: #0b1526; }
.article-body .inline-cta .btn-violet-sm { color: #fff; }

/* ── ARTICLE HERO (posts) ── */
.article-hero { border-bottom: 1px solid var(--border); padding: 60px 0 52px; text-align: center; background: linear-gradient(180deg, #f6f1e7 0%, var(--bg) 100%); }
.hero-inner { max-width: 760px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; width: 100%; }
.breadcrumb { font-size: 12.5px; color: var(--ink-xs); margin-bottom: 18px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.breadcrumb a { color: var(--ink-xs); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--teal); }
.article-hero h1 { font-family: var(--serif); font-size: clamp(28px, 4.5vw, 48px); font-weight: 900; line-height: 1.15; color: var(--ink); margin-bottom: 18px; }
.article-hero .subtitle { font-family: var(--body); font-size: 18px; color: var(--ink-lt); line-height: 1.75; margin-bottom: 28px; max-width: 640px; margin-left: auto; margin-right: auto; }
.article-meta { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.meta-item { font-size: 13px; color: var(--ink-xs); display: flex; align-items: center; gap: 6px; }
.meta-item svg { width: 14px; height: 14px; color: var(--teal); }
.meta-divider { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }

/* ── ARTICLE LAYOUT / BODY ── */
.article-layout { width: 100%; max-width: 728px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.article-layout > * { width: 100%; }
.article-body { padding: 52px 0 64px; overflow-wrap: break-word; word-wrap: break-word; }
.article-body p { font-family: var(--body); font-size: 17.5px; line-height: 1.95; color: var(--ink-mid); margin-bottom: 28px; letter-spacing: 0.01em; }
.article-body h2 { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--ink); margin: 52px 0 18px; line-height: 1.25; letter-spacing: -0.01em; }
.article-body h2::before { content: ''; display: block; width: 36px; height: 3px; border-radius: 2px; margin-bottom: 14px; background: linear-gradient(90deg, var(--teal), var(--gold-bright)); }
.article-body h3 { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--ink); margin: 36px 0 14px; line-height: 1.3; }
.article-body ul, .article-body ol { margin: 16px 0 24px 0; display: flex; flex-direction: column; gap: 10px; list-style: none; padding-left: 0; }
.article-body li { font-family: var(--body); font-size: 16.5px; line-height: 1.85; color: var(--ink-mid); padding-left: 24px; position: relative; }
.article-body ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.article-body ol { counter-reset: ol-counter; }
.article-body ol li { counter-increment: ol-counter; }
.article-body ol li::before { content: counter(ol-counter); position: absolute; left: 0; top: 1px; font-size: 13px; font-weight: 700; color: var(--teal); }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body em { color: var(--ink); }
.article-body a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.article-body a:hover { color: var(--gold); }

/* Drop cap */
.article-body .drop-cap::first-letter { float: left; font-family: var(--serif); font-size: 72px; font-weight: 900; line-height: .85; margin: 4px 12px 0 0; color: var(--teal); }

/* Shared glossy panel */
.pull-quote, .highlight-box, .warn-box, .feature-card, .example-block, .chat-mock, .voice-card, .atrophy-chart, .streak, .expand-technique, .mistake-body { background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }

/* Pull quote */
.pull-quote { border-left: 4px solid var(--teal); padding: 22px 26px; margin: 36px 0; border-radius: 0 14px 14px 0; }
.pull-quote p { font-family: var(--body); font-size: 20px; font-style: italic; font-weight: 500; color: var(--ink); line-height: 1.65; margin: 0; letter-spacing: 0.01em; }

/* Highlight box */
.highlight-box { background: linear-gradient(180deg, #f2faf8, #eef7f4); border: 1px solid rgba(15, 118, 110, .22); border-radius: 14px; padding: 24px 28px; margin: 32px 0; }
.highlight-box h4 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.highlight-box ul { margin: 0; list-style: none; padding-left: 0; }
.highlight-box li::before { background: var(--gold) !important; }

/* Warning box */
.warn-box { background: linear-gradient(180deg, #fffaf0, #fdf3e0); border: 1px solid rgba(180, 83, 9, .28); border-radius: 14px; padding: 24px 28px; margin: 32px 0; }
.warn-box p { color: #92400e; margin: 0; font-size: 15px; }
.warn-box strong { color: #78350f; }

/* Inline CTA — premium platform call-to-action */
.inline-cta {
  position: relative;
  background: linear-gradient(160deg, #16233c 0%, #0c1e3b 100%);
  border: 1px solid rgba(20, 184, 166, .22);
  border-radius: 18px;
  padding: 40px 32px 34px;
  margin: 44px 0;
  text-align: center;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}
.inline-cta::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal-bright), var(--gold-bright), var(--violet));
}
.inline-cta::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 420px 200px at 50% -10%, rgba(20,184,166,.14), transparent 70%);
  pointer-events: none;
}
.icta-label {
  position: relative; z-index: 1;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: #2dd4bf; margin-bottom: 12px;
}
.inline-cta h3 {
  position: relative; z-index: 1;
  font-family: var(--serif); font-size: 25px; font-weight: 700; color: #ffffff; margin: 0 0 10px;
}
.inline-cta h3 em { color: #fbbf24; font-style: italic; }
.inline-cta p {
  position: relative; z-index: 1;
  font-size: 14.5px; color: rgba(253, 250, 243, .94); margin: 0 auto 22px; line-height: 1.75; max-width: 580px;
}
.icta-tools {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px;
}
.icta-tool {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: #f2f5fb;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  border-radius: 100px; padding: 6px 14px;
}
.icta-tool.t-teal   { border-color: rgba(45,212,191,.55);  color: #7ff0e2; background: rgba(45,212,191,.12); }
.icta-tool.t-gold   { border-color: rgba(251,191,36,.55);  color: #fde68a; background: rgba(251,191,36,.12); }
.icta-tool.t-violet { border-color: rgba(167,139,250,.55); color: #d8ccff; background: rgba(167,139,250,.12); }
.icta-actions {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center;
}
.icta-actions .btn-ghost-sm, .icta-actions .btn-gold-sm, .icta-actions .btn-violet-sm { margin-left: 0; }

/* Numbered steps */
.steps { display: flex; flex-direction: column; gap: 20px; margin: 24px 0 32px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-bright), var(--teal)); color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; font-family: var(--sans); margin-top: 2px; box-shadow: 0 4px 12px rgba(15, 118, 110, .28); }
.step-body h4 { font-size: 15.5px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.step-body p { font-size: 14.5px; line-height: 1.75; color: var(--ink-lt); margin: 0; }

/* Divider */
.section-divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

/* ── RELATED ── */
.related-section { border-top: 1px solid var(--border); padding: 48px 20px 64px; box-sizing: border-box; max-width: 728px; margin: 0 auto; }
.related-label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.related-label::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.related-card { border: 1px solid var(--border); border-radius: 14px; padding: 24px; text-decoration: none; display: block; background: var(--card); box-shadow: var(--shadow-sm); transition: all .2s; }
.related-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-h); transform: translateY(-2px); }
.related-card .art-tag { margin-bottom: 10px; }
.related-card h4 { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.35; margin-bottom: 8px; }
.related-card p { font-family: var(--sans); font-size: 13.5px; color: var(--ink-lt); line-height: 1.7; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 30px 48px; background: #f6f1e7; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--ink-xs); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 18px; border-top: 1px solid var(--border); }
.footer-copy { font-size: 12px; color: var(--ink-xs); }

/* ── SOCIAL ── */
.social-row { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.social-icon { width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--card); border: 1px solid var(--border); color: var(--ink-lt); text-decoration: none; transition: all .2s; }
.social-icon svg { width: 19px; height: 19px; flex-shrink: 0; }
.social-icon .txt { font-family: var(--sans); font-size: 15px; font-weight: 800; letter-spacing: .01em; line-height: 1; }
.social-icon:hover { color: #fff; background: linear-gradient(135deg, var(--teal-bright), var(--teal)); border-color: transparent; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(15, 118, 110, .3); }

/* ── ARTICLE-SPECIFIC COMPONENTS (light editorial versions) ── */

/* Numbered feature cards */
.feature-grid { display: flex; flex-direction: column; gap: 20px; margin: 28px 0; }
.feature-card { display: flex; gap: 20px; align-items: flex-start; padding: 22px 24px; border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.feature-card:hover { border-color: var(--border-h); box-shadow: var(--shadow-md); }
.fc-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, var(--teal-bright), var(--teal)); color: #fff; font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; font-family: var(--sans); box-shadow: 0 4px 12px rgba(15, 118, 110, .28); }
.fc-body h4 { font-size: 15.5px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.fc-body p { font-family: var(--body); font-size: 14.5px; line-height: 1.75; color: var(--ink-lt); margin: 0; }

/* Mistake cards */
.mistake { border-radius: 16px; overflow: hidden; margin: 28px 0; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.mistake-header { background: linear-gradient(135deg, #16233c, #0c1e3b); padding: 20px 26px; display: flex; align-items: center; gap: 16px; }
.mistake-num { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-bright), var(--teal)); color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 12px rgba(15, 118, 110, .3); }
.mistake-header h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; color: #fdfaf3; margin: 0; }
.mistake-body { padding: 24px 26px; border-radius: 0; }
.mistake-body p { font-family: var(--body); font-size: 16px; line-height: 1.85; color: var(--ink-mid); margin-bottom: 18px; }
.mistake-body p:last-child { margin-bottom: 0; }

/* Example blocks (bad vs good) */
.example-block { border-radius: 12px; padding: 16px 20px; margin: 16px 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-mid); }
.example-block .bad { color: #dc2626; margin-bottom: 8px; }
.example-block .good { color: #15803d; }
.example-block strong { font-weight: 600; }

/* Chat mock */
.chat-mock { border-radius: 14px; padding: 22px 20px; margin: 30px 0; }
.chat-mock h4 { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-xs); margin-bottom: 16px; }
.bubble { max-width: 78%; padding: 10px 14px; border-radius: 14px; font-family: var(--sans); font-size: 14px; line-height: 1.5; margin-bottom: 10px; }
.bubble-text { background: var(--teal-tint); border: 1px solid rgba(15, 118, 110, .2); color: #155e54; border-bottom-left-radius: 4px; }
.bubble-email { background: linear-gradient(135deg, var(--teal-bright), var(--teal)); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; font-weight: 600; }
.bubble-lbl { font-size: 10px; font-family: var(--sans); color: var(--ink-xs); margin-bottom: 4px; font-weight: 600; }

/* Expand techniques */
.expand-technique { border-radius: 14px; padding: 24px 26px; margin: 16px 0; border-left: 4px solid var(--teal); }
.expand-technique h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.expand-technique h4 span { background: linear-gradient(135deg, var(--teal-bright), var(--teal)); color: #fff; font-size: 12px; padding: 2px 9px; border-radius: 12px; font-weight: 700; }
.expand-technique p { font-family: var(--body); font-size: 15px; line-height: 1.8; color: var(--ink-lt); margin: 0; }
.expand-technique .example { margin-top: 12px; padding: 12px 14px; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; font-size: 13.5px; color: var(--ink-mid); line-height: 1.6; }
.expand-technique .example strong { color: var(--teal); }

/* Timeline */
.timeline { position: relative; margin: 36px 0 32px; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--gold-bright), var(--teal)); }
.tl-item { position: relative; padding-bottom: 28px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -28px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 0 4px rgba(180, 83, 9, .15); }
.tl-item.tl-now .tl-dot { background: var(--teal); box-shadow: 0 0 0 4px rgba(15, 118, 110, .15); }
.tl-year { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.tl-item.tl-now .tl-year { color: var(--teal); }
.tl-item h4 { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.tl-item p { font-size: 14.5px; color: var(--ink-lt); line-height: 1.75; margin: 0; }

/* Voice comparison */
.voice-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.voice-card { border-radius: 14px; padding: 22px 20px; }
.voice-card.vc-generic { background: var(--card); }
.voice-card.vc-yours { background: var(--violet-tint); border-color: rgba(124, 58, 237, .3); }
.voice-card h5 { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; color: var(--ink-xs); }
.voice-card.vc-yours h5 { color: var(--violet); }
.voice-card p { font-family: var(--body); font-style: italic; font-size: 14.5px; line-height: 1.75; color: var(--ink-mid); margin: 0; }

/* Atrophy chart */
.atrophy-chart { border-radius: 14px; padding: 28px 26px; margin: 32px 0; }
.atrophy-chart h4 { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-xs); margin-bottom: 20px; }
.atrophy-row { margin-bottom: 18px; }
.atrophy-row:last-child { margin-bottom: 0; }
.atrophy-label { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-lt); margin-bottom: 6px; font-family: var(--sans); }
.atrophy-label strong { color: var(--ink); }
.atrophy-track { height: 14px; background: #e9e4d8; border-radius: 7px; overflow: hidden; }
.atrophy-fill { height: 100%; border-radius: 7px; }
.fill-down { background: linear-gradient(90deg, #f87171, #dc2626); width: 28%; }
.fill-up { background: linear-gradient(90deg, var(--teal-bright), var(--teal)); width: 82%; }
.atrophy-caption { font-size: 12px; color: var(--ink-xs); margin-top: 16px; line-height: 1.6; font-family: var(--sans); }

/* Streak widget */
.streak { border-radius: 14px; padding: 26px 24px; margin: 30px 0; }
.streak h4 { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-xs); margin-bottom: 18px; }
.streak-row { display: flex; gap: 8px; justify-content: space-between; }
.streak-day { flex: 1; text-align: center; }
.streak-dot { width: 100%; aspect-ratio: 1; max-width: 38px; margin: 0 auto 6px; border-radius: 9px; background: #e9e4d8; display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 11px; font-weight: 700; color: var(--ink-xs); }
.streak-dot.done { background: linear-gradient(135deg, var(--teal-bright), var(--teal)); color: #fff; box-shadow: 0 4px 10px rgba(15, 118, 110, .3); }
.streak-dot.today { background: linear-gradient(135deg, #a78bfa, #7c3aed); color: #fff; box-shadow: 0 0 0 3px rgba(124, 58, 237, .18), 0 4px 12px rgba(124, 58, 237, .35); }
.streak-lbl { font-size: 10.5px; color: var(--ink-xs); font-family: var(--sans); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 20px; height: 60px; }
  .mobile-menu { top: 60px; }
  .blog-hero { padding: 60px 20px 54px; }
  .blog-hero p { font-size: 15px; }
  .container { padding: 0 16px; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-visual { min-height: 160px; }
  .featured-content { padding: 28px 24px; }
  .featured-content h2 { font-size: 22px; }
  .articles-grid { grid-template-columns: 1fr; gap: 16px; }
  .articles-section { padding: 44px 0 60px; }
  .featured-section { padding: 48px 0 0; }
  .cta-band { padding: 48px 20px; }
  .cta-band h2 { font-size: 26px; }
  .cta-band .btn-teal, .cta-band .btn-gold, .cta-band .btn-violet { display: block; margin: 8px auto 0; max-width: 260px; text-align: center; }
  footer { padding: 24px 20px; }
  .footer-top, .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .social-row { justify-content: center; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 720px) {
  .article-hero { padding: 40px 0 36px; }
  .hero-inner { padding: 0 16px; }
  .article-hero h1 { font-size: clamp(24px, 6vw, 36px); }
  .article-hero .subtitle { font-size: 15px; }
  .article-layout { padding: 0 16px; }
  .article-body p { font-size: 16px; line-height: 1.85; }
  .article-body h2 { font-size: 22px; margin: 40px 0 14px; }
  .article-body h3 { font-size: 18px; }
  .pull-quote p { font-size: 17px; }
  .inline-cta { padding: 24px 20px; }
  .inline-cta h3 { font-size: 19px; }
  .inline-cta .btn-ghost-sm, .inline-cta .btn-teal-sm { display: flex; justify-content: center; }
  .inline-cta .btn-ghost-sm { margin: 8px 0 0; }
  .voice-compare { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .highlight-box, .warn-box { padding: 18px 16px; }
  footer { padding: 20px 16px; flex-direction: column; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════
   SHARED ANIMATIONS (anim.js — scroll reveal + micro-interactions)
   Hidden state applies ONLY when html.anim-ready is present (set by
   anim.js), so no-JS visitors never see invisible content.
   ══════════════════════════════════════════════════════════════ */
html.anim-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
html.anim-ready [data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
html.anim-ready [data-reveal="left"] { transform: translateX(-26px); }
html.anim-ready [data-reveal="left"].in,
html.anim-ready [data-reveal="right"].in { transform: translateX(0); }
html.anim-ready [data-reveal="right"] { transform: translateX(26px); }
html.anim-ready [data-reveal="zoom"] { transform: scale(.94); }
html.anim-ready [data-reveal="zoom"].in { transform: scale(1); }

/* Soft lift + glow on cards marked .anim-card */
.anim-card { transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, border-color .3s ease; }
.anim-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(0,0,0,.22); }

/* Gentle float for decorative elements */
.anim-float { animation: animFloat 4.5s ease-in-out infinite; }
@keyframes animFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Reduced motion: kill all of it */
@media (prefers-reduced-motion: reduce) {
  html.anim-ready [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .anim-float { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
