/* Deutsch Bridge AI — Blog styles (shares brand tokens with index.html) */
:root {
  --bg: #FAFAF8;
  --bg-alt: #F0EFE9;
  --text: #1E293B;
  --text-muted: #64748B;
  --text-faint: #94A3B8;
  --border: #E2E0D8;
  --navy: #0F172A;
  --navy-mid: #1E2D45;
  --amber: #E8A230;
  --amber-dark: #C47D0E;
  --amber-light: #FDF0D5;
  --surface: #FFFFFF;
  --surface-alt: #F8F7F3;
  --serif: Georgia, 'Palatino Linotype', 'Book Antiqua', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', Helvetica, Arial, sans-serif;
  --bengali: 'Noto Sans Bengali', var(--sans);
  --radius: 12px;
  --radius-lg: 20px;
  --max-w: 1120px;
  --content-w: 720px;
  --shadow: 0 1px 4px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D1117; --bg-alt: #161C26; --text: #E2E8F0;
    --text-muted: #94A3B8; --text-faint: #64748B; --border: #2D3748;
    --surface: #1A2332; --surface-alt: #1E293B;
    --shadow: 0 1px 4px rgba(0,0,0,0.3), 0 4px 16px rgba(0,0,0,0.2);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.4); --amber-light: #2A1F00;
  }
}
:root[data-theme="dark"] {
  --bg: #0D1117; --bg-alt: #161C26; --text: #E2E8F0;
  --text-muted: #94A3B8; --text-faint: #64748B; --border: #2D3748;
  --surface: #1A2332; --surface-alt: #1E293B;
  --shadow: 0 1px 4px rgba(0,0,0,0.3), 0 4px 16px rgba(0,0,0,0.2);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.4); --amber-light: #2A1F00;
}
:root[data-theme="light"] {
  --bg: #FAFAF8; --bg-alt: #F0EFE9; --text: #1E293B;
  --text-muted: #64748B; --text-faint: #94A3B8; --border: #E2E0D8;
  --surface: #FFFFFF; --surface-alt: #F8F7F3;
  --shadow: 0 1px 4px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12); --amber-light: #FDF0D5;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* NAV (matches index.html) */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,23,42,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 64px; display: flex; align-items: center;
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.nav-logo-icon { width: 32px; height: 32px; }
.nav-logo-text { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: rgba(255,255,255,0.72); font-size: 0.9rem; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--amber); color: var(--navy); padding: 8px 20px;
  border-radius: 8px; font-size: 0.875rem; font-weight: 600;
  transition: background 0.15s, transform 0.1s;
}
.nav-cta:hover { background: var(--amber-dark); color: var(--navy); transform: translateY(-1px); }

/* PAGE HEADER */
.blog-header {
  background: var(--navy); color: #fff; padding: 128px 24px 56px; text-align: center;
}
.blog-eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 12px;
}
.blog-header h1 {
  font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 400;
  letter-spacing: -0.02em; margin-bottom: 14px; text-wrap: balance;
}
.blog-header p { color: rgba(255,255,255,0.62); max-width: 560px; margin: 0 auto; font-size: 1.02rem; }

/* LISTING */
.blog-main { max-width: var(--max-w); margin: 0 auto; padding: 56px 24px 96px; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.blog-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column; gap: 10px;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-card-tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--amber-dark); background: var(--amber-light); display: inline-block;
  padding: 3px 10px; border-radius: 100px; width: fit-content;
}
.blog-card-title { font-family: var(--bengali); font-size: 1.15rem; font-weight: 700; color: var(--text); line-height: 1.5; }
.blog-card-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.blog-card-meta { font-size: 0.78rem; color: var(--text-faint); margin-top: auto; padding-top: 6px; }

/* ARTICLE */
.article-header {
  background: var(--navy); color: #fff; padding: 128px 24px 48px;
}
.article-header-inner { max-width: var(--content-w); margin: 0 auto; }
.article-tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 16px;
}
.article-header h1 {
  font-family: var(--bengali); font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 700;
  line-height: 1.4; margin-bottom: 16px; text-wrap: balance;
}
.article-header-en { color: rgba(255,255,255,0.55); font-size: 0.95rem; margin-bottom: 20px; }
.article-meta { color: rgba(255,255,255,0.45); font-size: 0.82rem; }

.article-main { max-width: var(--content-w); margin: 0 auto; padding: 48px 24px 32px; font-family: var(--bengali); }
.article-main h2 {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--text);
  margin: 40px 0 16px; letter-spacing: -0.01em;
}
.article-main h2:first-child { margin-top: 0; }
.article-main p { font-size: 1.02rem; color: var(--text); line-height: 1.9; margin-bottom: 18px; }
.article-main ul, .article-main ol { margin: 0 0 18px 22px; color: var(--text); line-height: 1.85; }
.article-main li { margin-bottom: 8px; }
.article-main strong { color: var(--text); font-weight: 700; }
.article-main .en-note {
  font-family: var(--sans); font-size: 0.85rem; color: var(--text-muted);
  background: var(--surface-alt); border-left: 3px solid var(--amber); padding: 12px 16px;
  border-radius: 0 8px 8px 0; margin-bottom: 18px;
}
.article-callout {
  background: var(--amber-light); border-radius: var(--radius); padding: 20px 24px; margin: 28px 0;
  font-size: 0.95rem; line-height: 1.75;
}
.article-callout strong { display: block; font-family: var(--sans); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: 8px; }

.article-cta {
  max-width: var(--content-w); margin: 0 auto 72px; padding: 0 24px;
}
.article-cta-box {
  background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 36px 32px; text-align: center;
}
.article-cta-box h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; margin-bottom: 10px; }
.article-cta-box p { color: rgba(255,255,255,0.6); font-size: 0.92rem; margin-bottom: 20px; }
.article-cta-btn {
  display: inline-block; background: var(--amber); color: var(--navy); padding: 12px 26px;
  border-radius: 10px; font-weight: 700; font-size: 0.9rem; font-family: var(--sans);
}
.article-cta-btn:hover { background: #F5C842; }

.article-back { max-width: var(--content-w); margin: 0 auto; padding: 0 24px 8px; }
.article-back a { font-size: 0.85rem; color: var(--text-muted); font-family: var(--sans); }
.article-back a:hover { color: var(--text); }

/* FOOTER (matches index.html) */
footer {
  background: #080E1A; color: rgba(255,255,255,0.4);
  padding: 40px 24px; border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.5); }
.footer-brand-name { font-family: var(--serif); font-size: 0.95rem; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.4); font-size: 0.82rem; transition: color 0.15s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-copy { font-size: 0.75rem; width: 100%; text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 8px; }

@media (max-width: 700px) {
  .nav-links { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-header { padding: 108px 20px 44px; }
  .article-header { padding: 108px 20px 40px; }
  .article-main { padding: 36px 20px 24px; }
}
