/* =================== VARIABLES =================== */
:root {
  --white: #FFFFFF;
  --frost: #F5F6FA;
  --frost-deep: #EBEEF5;
  --silver: #C0C8D8;
  --silver-bright: #D8DDE8;
  --platinum: #8A94A8;
  --steel: #4A5568;
  --charcoal: #1A1D28;
  --charcoal-warm: #242836;
  --ink: #0D0F16;
  --accent: #3B5BDB;
  --accent-light: #5C7CFA;
  --accent-glow: rgba(59,91,219,0.12);
  --glass: rgba(255,255,255,0.65);
  --glass-border: rgba(255,255,255,0.8);
  --shadow-soft: 0 8px 32px rgba(26,29,40,0.06);
  --shadow-lift: 0 20px 60px rgba(26,29,40,0.1);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Sora', sans-serif;
  background: var(--frost);
  color: var(--steel);
  overflow-x: hidden;
}

/* =================== NAV =================== */
.nav {
  position: fixed; top:0; left:0; right:0; z-index:100;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(245,246,250,0.8);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(192,200,216,0.3);
  transition: all 0.4s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 1px 24px rgba(26,29,40,0.06);
}
.nav-brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.nav-icon {
  width: 34px; height: 34px;
  border: 1.5px solid var(--silver);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  background: var(--white);
  flex-shrink: 0;
}
.nav-icon::after {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 10px solid var(--charcoal);
  transform: rotate(15deg);
  margin-top: -2px;
}
.nav-wordmark {
  font-family: 'Libre Baskerville', serif;
  font-size: 17px; font-weight: 700;
  color: var(--charcoal);
}
.nav-wordmark span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--steel);
  text-decoration: none;
  font-size: 13px; font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--charcoal); }
.nav-sub {
  padding: 9px 24px !important;
  background: var(--charcoal) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  border-radius: 6px;
  transition: all 0.3s !important;
}
.nav-sub:hover {
  background: var(--accent) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(59,91,219,0.25);
}
.nav-burger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:4px; }
.nav-burger span { display:block; width:22px; height:2px; background:var(--charcoal); transition:all .3s; }
.nav-mobile { display:none; position:fixed; top:72px; left:0; right:0; background:rgba(255,255,255,0.97); z-index:99; padding:24px 30px; flex-direction:column; gap:16px; border-bottom:1px solid var(--frost-deep); backdrop-filter:blur(20px); }
.nav-mobile.open { display:flex; }
.nav-mobile a { color:var(--steel); text-decoration:none; font-size:15px; font-weight:500; padding:8px 0; border-bottom:1px solid var(--frost-deep); }
.nav-mobile a:hover { color:var(--accent); }

/* =================== HERO =================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center;
  padding: 120px 48px 100px;
  overflow: hidden;
  background: var(--white);
  margin-top: 72px;
}
.hero-spire {
  position: absolute; width: 1px;
  background: linear-gradient(180deg, rgba(192,200,216,0.4), transparent);
}
.hero-spire:nth-child(1) { left: 12%; top: 0; height: 60%; }
.hero-spire:nth-child(2) { left: 28%; top: 0; height: 45%; }
.hero-spire:nth-child(3) { right: 15%; top: 0; height: 70%; }
.hero-spire:nth-child(4) { right: 32%; top: 0; height: 40%; }
.hero-spire:nth-child(5) { left: 50%; top: 0; height: 35%; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero-glow-1 {
  width: 600px; height: 600px; top: -200px; right: -100px;
  background: radial-gradient(circle, rgba(59,91,219,0.06) 0%, transparent 70%);
}
.hero-glow-2 {
  width: 500px; height: 500px; bottom: -150px; left: -100px;
  background: radial-gradient(circle, rgba(192,200,216,0.15) 0%, transparent 70%);
}
.hero-ornament {
  position: absolute; inset: 0; opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%23000' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 80px; align-items: center;
}
.hero-text { opacity:0; animation: heroReveal 0.8s ease 0.2s forwards; }
.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 600; color: var(--accent);
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 28px;
  display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before { content: '◆'; font-size: 6px; opacity: 0.6; }
.hero h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(36px, 4.2vw, 58px); font-weight: 700;
  line-height: 1.15; color: var(--charcoal); margin-bottom: 24px;
}
.hero h1 .shimmer {
  position: relative;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--accent) 50%, var(--charcoal) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 6s ease infinite;
}
.hero-sub { font-size: 17px; line-height: 1.8; color: var(--steel); max-width: 480px; margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 14px; align-items: center; }
.cta-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 36px; background: var(--charcoal); color: var(--white);
  font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600;
  text-decoration: none; border-radius: 8px; transition: all 0.35s;
}
.cta-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(59,91,219,0.25); }
.cta-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 32px; border: 1.5px solid var(--silver-bright);
  color: var(--charcoal); font-family: 'Sora', sans-serif;
  font-size: 14px; font-weight: 500; text-decoration: none;
  border-radius: 8px; transition: all 0.35s;
}
.cta-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Hero cards */
.hero-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  opacity:0; animation: heroReveal 0.8s ease 0.5s forwards;
}
.hero-card {
  padding: 28px 24px; background: var(--glass);
  backdrop-filter: blur(16px); border: 1px solid var(--glass-border);
  border-radius: 16px; box-shadow: var(--shadow-soft);
  transition: all 0.4s; cursor: pointer;
}
.hero-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--accent-light); }
.hero-card:first-child { grid-column: span 2; background: var(--charcoal); border-color: transparent; }
.hero-card:first-child .card-flag { font-size: 32px; }
.hero-card:first-child .card-name { color: var(--white); font-size: 20px; }
.hero-card:first-child .card-desc { color: rgba(255,255,255,0.6); }
.hero-card:first-child .card-stats .stat-val { color: var(--accent-light); }
.hero-card:first-child .card-stats .stat-lbl { color: rgba(255,255,255,0.4); }
.hero-card:first-child .card-badge {
  display: inline-block; padding: 4px 12px;
  background: var(--accent-glow); border: 1px solid rgba(59,91,219,0.3);
  border-radius: 100px; font-size: 10px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 14px;
}
.card-flag { font-size: 24px; margin-bottom: 12px; }
.card-name { font-family: 'Libre Baskerville', serif; font-size: 16px; font-weight: 700; color: var(--charcoal); margin-bottom: 6px; }
.card-desc { font-size: 13px; line-height: 1.5; color: var(--steel); margin-bottom: 14px; }
.card-stats { display: flex; gap: 18px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; }
.stat-val { color: var(--accent); font-weight: 600; }
.stat-lbl { color: var(--platinum); }

/* =================== TICKER =================== */
.ticker {
  background: var(--charcoal); padding: 16px 48px;
  display: flex; align-items: center; gap: 40px;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px;
  color: rgba(255,255,255,0.5);
  overflow-x: auto; white-space: nowrap;
}
.ticker-item { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ticker-dot { width: 6px; height: 6px; border-radius: 50%; }
.ticker-dot.open { background: #48BB78; }
.ticker-dot.updated { background: #ECC94B; }
.ticker-dot.restricted { background: #FC8181; }

/* =================== SECTION COMMONS =================== */
.section { max-width: 1200px; margin: 0 auto; padding: 100px 48px; }
.sec-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 600; color: var(--accent);
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.sec-label::before { content: ''; width: 24px; height: 1.5px; background: var(--accent); }
.sec-title { font-family: 'Libre Baskerville', serif; font-size: clamp(28px, 3vw, 40px); font-weight: 700; color: var(--charcoal); line-height: 1.2; margin-bottom: 12px; }
.sec-desc { font-size: 16px; line-height: 1.75; color: var(--steel); max-width: 520px; }

/* =================== COUNTRIES =================== */
.countries-section { background: var(--white); }
.countries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.country-card {
  padding: 32px 28px; background: var(--frost); border: 1px solid var(--frost-deep);
  border-radius: 16px; transition: all 0.4s; cursor: pointer;
  position: relative; overflow: hidden;
}
.country-card::after {
  content: ''; position: absolute; bottom:0; left:0; right:0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.country-card:hover::after { transform: scaleX(1); }
.country-card:hover { background: var(--white); border-color: rgba(59,91,219,0.2); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.country-flag { font-size: 28px; margin-bottom: 14px; }
.country-name { font-family: 'Libre Baskerville', serif; font-size: 18px; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; }
.country-tagline { font-size: 13px; line-height: 1.6; color: var(--steel); margin-bottom: 16px; }
.country-data { display: flex; gap: 16px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; }
.country-data .val { color: var(--accent); font-weight: 600; }
.country-data .lbl { color: var(--platinum); }

/* =================== STRATEGY CARDS =================== */
.strategy-section { background: var(--frost); }
.strategy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.strategy-card {
  padding: 40px 32px; background: var(--white); border: 1px solid var(--frost-deep);
  border-radius: 20px; transition: all 0.4s; cursor: pointer;
}
.strategy-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: rgba(59,91,219,0.15); }
.strategy-icon { width: 52px; height: 52px; background: var(--accent-glow); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; font-size: 22px; }
.strategy-card h3 { font-family: 'Libre Baskerville', serif; font-size: 19px; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.strategy-card p { font-size: 14px; line-height: 1.7; color: var(--steel); margin-bottom: 24px; }
.strategy-link { font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.3s; }
.strategy-link:hover { gap: 12px; }

/* =================== COMPARE BOX =================== */
.compare-section { background: var(--white); padding: 0 48px; }
.compare-box {
  max-width: 1200px; margin: 0 auto; padding: 72px;
  background: var(--charcoal); border-radius: 24px;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 64px; align-items: center; position: relative; overflow: hidden;
}
.compare-box::before {
  content: 'VS'; position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  font-family: 'Libre Baskerville', serif; font-size: 200px; font-weight: 700;
  color: rgba(255,255,255,0.02); pointer-events: none;
}
.compare-content { position: relative; z-index:2; }
.compare-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-light); margin-bottom: 18px; }
.compare-title { font-family: 'Libre Baskerville', serif; font-size: 32px; font-weight: 700; color: var(--white); line-height: 1.25; margin-bottom: 14px; }
.compare-desc { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.55); max-width: 420px; }
.compare-flags { position: relative; z-index:2; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.compare-flag-card {
  padding: 24px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; text-align: center; transition: all 0.3s; cursor: pointer;
}
.compare-flag-card:hover { background: rgba(59,91,219,0.08); border-color: rgba(59,91,219,0.3); transform: translateY(-2px); }
.compare-flag-card .flag-emoji { font-size: 28px; margin-bottom: 8px; }
.compare-flag-card .flag-name { font-size: 13px; font-weight: 600; color: var(--white); }
.compare-flag-card .flag-type { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 2px; }

/* =================== EDITORIAL =================== */
.editorial-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; margin-top: 56px; }
.article-featured { background: var(--white); border: 1px solid var(--frost-deep); border-radius: 20px; overflow: hidden; transition: all 0.4s; cursor: pointer; }
.article-featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(59,91,219,0.15); }
.article-featured-img { width: 100%; height: 280px; object-fit: cover; display: block; }
.article-featured-body { padding: 36px; }
.article-cat { font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.article-title { font-family: 'Libre Baskerville', serif; font-size: 22px; font-weight: 700; color: var(--charcoal); line-height: 1.3; margin-bottom: 12px; transition: color 0.3s; }
.article-featured:hover .article-title { color: var(--accent); }
.article-excerpt { font-size: 14px; line-height: 1.7; color: var(--steel); margin-bottom: 18px; }
.article-meta { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--platinum); }
.article-stack { display: flex; flex-direction: column; gap: 16px; }
.article-row { padding: 28px; background: var(--white); border: 1px solid var(--frost-deep); border-radius: 16px; transition: all 0.4s; cursor: pointer; flex: 1; }
.article-row:hover { border-color: rgba(59,91,219,0.15); transform: translateX(4px); box-shadow: var(--shadow-soft); }
.article-row:hover .article-title { color: var(--accent); }
.article-row .article-title { font-size: 17px; }

/* =================== NEWSLETTER =================== */
.nl-section { background: var(--white); }
.nl-inner { max-width: 1200px; margin: 0 auto; padding: 100px 48px; text-align: center; }
.nl-heading { font-family: 'Libre Baskerville', serif; font-size: 38px; font-weight: 700; color: var(--charcoal); line-height: 1.25; margin-bottom: 16px; }
.nl-desc { font-size: 17px; line-height: 1.75; color: var(--steel); max-width: 500px; margin: 0 auto 40px; }
.nl-form { display: flex; gap: 0; max-width: 480px; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--frost-deep); }
.nl-form input { flex: 1; padding: 18px 24px; background: var(--white); border: none; color: var(--charcoal); font-family: 'Sora', sans-serif; font-size: 14px; outline: none; }
.nl-form input::placeholder { color: var(--platinum); }
.nl-form button { padding: 18px 32px; background: var(--charcoal); border: none; color: var(--white); font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; cursor: pointer; white-space: nowrap; transition: background 0.3s; }
.nl-form button:hover { background: var(--accent); }
.nl-note { margin-top: 16px; font-size: 12px; color: var(--platinum); }

/* =================== FOOTER =================== */
.footer { background: var(--charcoal); padding: 72px 48px 36px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; }
.footer-left .nav-wordmark { margin-bottom: 14px; }
.footer-left p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.35); max-width: 280px; }
.footer-cols { display: flex; gap: 56px; }
.footer-col h5 { font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-light); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.35); text-decoration: none; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-light); }
.footer-bar { max-width: 1200px; margin: 32px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,0.2); }

/* =================== ANIMATIONS =================== */
@keyframes heroReveal { from { opacity:0; transform: translateY(24px); } to { opacity:1; transform: translateY(0); } }
@keyframes shimmer { 0%, 100% { background-position: 0% center; } 50% { background-position: 200% center; } }
.reveal { opacity: 0; transform: translateY(24px); transition: all 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =================== BLOG PAGE =================== */
.blog-section { max-width: 1200px; margin: 0 auto; padding: 140px 48px 80px; }
.blog-header { margin-bottom: 56px; }
.posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pagination { display: flex; justify-content: space-between; margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--frost-deep); }
.pag-prev,.pag-next { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }

/* Post cards */
.post-card { background: var(--white); border: 1px solid var(--frost-deep); border-radius: 16px; overflow: hidden; transition: all 0.4s; display: flex; flex-direction: column; cursor: pointer; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(59,91,219,0.15); }
.card-cover img { width: 100%; height: 200px; object-fit: cover; display: block; }
.card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.card-meta { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--platinum); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card-cat { font-weight: 600; color: var(--accent); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.sep { color: var(--silver); }
.card-title { font-family: 'Libre Baskerville', serif; font-size: 19px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.card-title a { color: var(--charcoal); text-decoration: none; transition: color 0.3s; }
.card-title a:hover { color: var(--accent); }
.card-excerpt { font-size: 14px; line-height: 1.7; color: var(--steel); margin-bottom: 16px; flex: 1; }
.card-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.card-tag { font-size: 11px; font-weight: 500; color: var(--platinum); text-decoration: none; padding: 3px 8px; border: 1px solid var(--frost-deep); border-radius: 4px; transition: all 0.2s; }
.card-tag:hover { border-color: var(--accent); color: var(--accent); }

/* =================== ARTICLE SHELL =================== */
.article-shell { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; max-width: 1200px; margin: 6rem auto 4rem; padding: 0 2rem; align-items: start; }
.article-main { min-width: 0; }
.article-eyebrow { display: flex; align-items: center; gap: .5rem; font-family: 'IBM Plex Mono', monospace; font-size: .75rem; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; font-weight: 600; }
.article-eyebrow .sep { opacity: .4; }
.article-title { font-family: 'Libre Baskerville', serif; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.2; color: var(--charcoal); margin-bottom: 1rem; }
.article-standfirst { font-size: 1.1rem; color: var(--steel); line-height: 1.75; margin-bottom: 1.5rem; border-left: 3px solid var(--accent); padding-left: 1rem; }
.byline-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--charcoal); color: var(--accent-light); font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.article-byline { display: flex; align-items: center; gap: .75rem; padding-bottom: 2rem; border-bottom: 1px solid var(--frost-deep); margin-bottom: 2.5rem; }
.byline-info { display: flex; flex-direction: column; gap: .1rem; }
.byline-info strong { font-size: .9rem; color: var(--charcoal); }
.byline-info span { font-size: .78rem; color: var(--platinum); }

/* Prose */
.prose h2 { font-family: 'Libre Baskerville', serif; font-size: 1.6rem; color: var(--charcoal); margin: 2.5rem 0 .75rem; padding-top: 2rem; border-top: 1px solid var(--frost-deep); }
.prose h3 { font-size: 1.2rem; color: var(--charcoal); font-weight: 700; margin: 2rem 0 .5rem; }
.prose p { line-height: 1.85; color: var(--steel); margin-bottom: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose li { line-height: 1.8; color: var(--steel); margin-bottom: .3rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: .9rem; }
.prose th { background: var(--charcoal); color: var(--accent-light); padding: .7rem 1rem; text-align: left; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.prose td { padding: .7rem 1rem; border-bottom: 1px solid var(--frost-deep); color: var(--charcoal); }
.prose tr:nth-child(even) td { background: var(--frost); }
.prose blockquote { border-left: 3px solid var(--accent); padding-left: 1.25rem; margin: 2rem 0; font-style: italic; color: var(--steel); }
.prose strong { color: var(--charcoal); font-weight: 700; }
.prose hr { border: none; border-top: 1px solid var(--frost-deep); margin: 2.5rem 0; }
.prose a { color: var(--accent); text-decoration: underline; }
.article-tags-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0; }
.article-tags-row .tag { background: var(--frost); color: var(--charcoal); padding: .3rem .75rem; border-radius: 6px; font-size: .78rem; text-decoration: none; font-weight: 600; border: 1px solid var(--frost-deep); }

/* PDF Box */
.pdf-box { display: flex; align-items: center; gap: 1.25rem; background: var(--charcoal); border: 1px solid rgba(59,91,219,0.3); border-radius: 12px; padding: 1.5rem; margin: 2.5rem 0; }
.pdf-box-icon { flex-shrink: 0; width: 44px; height: 44px; color: var(--accent-light); }
.pdf-box-icon svg { width: 100%; height: 100%; }
.pdf-box-content { flex: 1; }
.pdf-box-label { font-family: 'IBM Plex Mono', monospace; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-light); margin-bottom: .25rem; }
.pdf-box-content h4 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: .35rem; }
.pdf-box-content p { color: rgba(255,255,255,0.5); font-size: .83rem; line-height: 1.5; margin: 0; }
.pdf-box-btn { flex-shrink: 0; background: var(--accent); color: var(--white); padding: .65rem 1.25rem; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .85rem; white-space: nowrap; }
.pdf-box-btn:hover { background: var(--accent-light); }

/* Author Box */
.author-box { display: flex; gap: 1.25rem; background: var(--frost); border: 1px solid var(--frost-deep); border-left: 3px solid var(--accent); border-radius: 12px; padding: 1.5rem; margin: 2rem 0 3rem; }
.author-avatar { flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%; background: var(--charcoal); color: var(--accent-light); font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
.author-label { font-family: 'IBM Plex Mono', monospace; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--platinum); margin-bottom: .2rem; }
.author-name { font-family: 'Libre Baskerville', serif; font-size: 1.1rem; color: var(--charcoal); margin-bottom: .5rem; }
.author-bio { font-size: .85rem; color: var(--steel); line-height: 1.65; margin-bottom: .75rem; }
.author-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.author-tags span { background: var(--frost-deep); color: var(--charcoal); padding: .2rem .6rem; border-radius: 4px; font-size: .72rem; font-weight: 600; }

/* Sidebar */
.article-sidebar { position: sticky; top: 5rem; }
.sidebar-toc, .sidebar-stats { background: var(--white); border: 1px solid var(--frost-deep); border-radius: 12px; padding: 1.25rem; margin-bottom: 1.25rem; }
.toc-label, .stats-label { font-family: 'IBM Plex Mono', monospace; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 700; margin-bottom: .75rem; }
.toc-content a { display: block; font-size: .82rem; color: var(--steel); text-decoration: none; padding: .3rem 0; border-bottom: 1px solid var(--frost-deep); line-height: 1.4; }
.toc-content a:hover { color: var(--accent); }
.stat-item { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--frost-deep); }
.stat-item:last-child { border-bottom: none; }
.stat-val-side { font-size: 1.1rem; font-weight: 800; color: var(--accent); font-family: 'IBM Plex Mono', monospace; }
.stat-desc { font-size: .75rem; color: var(--platinum); text-align: right; }
.related-cta { margin-top: 60px; background: var(--charcoal); padding: 48px; border-radius: 16px; text-align: center; }
.related-cta-inner .sec-label { justify-content: center; }
.related-cta-inner h3 { font-family: 'Libre Baskerville', serif; font-size: 24px; font-weight: 700; color: var(--white); margin: 12px 0; }
.related-cta-inner p { color: rgba(255,255,255,0.5); margin-bottom: 28px; }
.nl-form-inline { display: flex; gap: 0; max-width: 400px; margin: 0 auto; border-radius: 8px; overflow: hidden; border: 1px solid rgba(59,91,219,0.2); }
.nl-form-inline input { flex: 1; padding: 14px 18px; background: rgba(255,255,255,.04); border: none; color: var(--white); font-family: 'Sora', sans-serif; font-size: 14px; outline: none; }
.nl-form-inline button { padding: 14px 24px; background: var(--accent); border: none; color: var(--white); font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; }
.nl-form-inline button:hover { background: var(--accent-light); }

.page-wrap { max-width: 800px; margin: 0 auto; padding: 140px 48px 80px; }
.page-header { margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--frost-deep); }
.page-header h1 { font-family: 'Libre Baskerville', serif; font-size: clamp(28px,4vw,44px); font-weight: 700; color: var(--charcoal); }
.page-content.prose { font-size: 16px; line-height: 1.8; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero { padding: 100px 24px 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-spire { display: none; }
  .section { padding: 64px 24px; }
  .countries-grid { grid-template-columns: 1fr 1fr; }
  .editorial-grid { grid-template-columns: 1fr; }
  .compare-box { grid-template-columns: 1fr; padding: 48px 32px; border-radius: 16px; }
  .compare-flags { grid-template-columns: repeat(4, 1fr); }
  .strategy-grid { grid-template-columns: 1fr; }
  .nl-inner { padding: 64px 24px; }
  .compare-section { padding: 0 24px; }
  .ticker { padding: 14px 24px; gap: 24px; }
  .footer { padding: 48px 24px 24px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .blog-section { padding: 120px 24px 60px; }
  .posts-grid { grid-template-columns: 1fr; }
  .article-shell { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .page-wrap { padding: 120px 24px 60px; }
}
@media (max-width: 640px) {
  .hero-cards { grid-template-columns: 1fr; }
  .hero-card:first-child { grid-column: span 1; }
  .countries-grid { grid-template-columns: 1fr; }
  .compare-flags { grid-template-columns: 1fr 1fr; }
  .nl-form { flex-direction: column; border-radius: 8px; }
  .footer-cols { flex-direction: column; gap: 24px; }
  .article-shell { margin: 4rem auto 2rem; padding: 0 1rem; }
  .pdf-box { flex-direction: column; }
  .pdf-box-btn { width: 100%; text-align: center; }
}

/* =================== POST PAGE — INTELLIGENCE BRIEF LAYOUT =================== */
.post-hero { background: var(--charcoal); padding: 120px 2rem 56px; }
.post-hero-inner { max-width: 860px; margin: 0 auto; }
.post-eyebrow { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; }
.post-cat-badge { font-family: 'IBM Plex Mono', monospace; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; background: var(--accent); color: var(--white); padding: .2rem .65rem; border-radius: 4px; }
.post-eyebrow-sep { color: rgba(255,255,255,.25); }
.post-eyebrow-label { font-family: 'IBM Plex Mono', monospace; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.35); }
.post-h1 { font-family: 'Libre Baskerville', serif; font-size: clamp(1.9rem, 4.5vw, 3.1rem); line-height: 1.15; color: var(--white); margin-bottom: 1.25rem; }
.post-deck { font-size: 1.05rem; color: rgba(255,255,255,.58); line-height: 1.75; margin-bottom: 2rem; max-width: 680px; }
.post-byline-row { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.post-byline-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--white); font-weight: 700; font-size: .78rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.post-byline-name { display: block; font-size: .88rem; font-weight: 600; color: var(--white); }
.post-byline-role { display: block; font-size: .72rem; color: rgba(255,255,255,.4); }
.post-byline-meta { font-family: 'IBM Plex Mono', monospace; font-size: .71rem; color: rgba(255,255,255,.35); display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.post-byline-meta .dot { opacity: .5; }
.post-live-badge { font-family: 'IBM Plex Mono', monospace; font-size: .63rem; letter-spacing: .08em; color: #4ade80; border: 1px solid rgba(74,222,128,.3); padding: .2rem .55rem; border-radius: 4px; white-space: nowrap; }
.post-kpi-strip { background: var(--accent); padding: .9rem 2rem; }
.post-kpi-inner { max-width: 860px; margin: 0 auto; display: flex; align-items: center; }
.post-kpi { flex: 1; text-align: center; }
.post-kpi-div { width: 1px; height: 30px; background: rgba(255,255,255,.2); flex-shrink: 0; }
.kpi-val { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 1.05rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.kpi-lbl { display: block; font-size: .64rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .06em; margin-top: .1rem; }
.post-body { max-width: 860px; margin: 0 auto; padding: 3rem 2rem 5rem; }
.post-toc-box { background: var(--frost); border: 1px solid var(--frost-deep); border-left: 3px solid var(--accent); border-radius: 10px; padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; }
.post-toc-label { font-family: 'IBM Plex Mono', monospace; font-size: .67rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 700; margin-bottom: .6rem; }
#toc-content a { display: inline-block; font-size: .82rem; color: var(--steel); text-decoration: none; padding: .15rem 0; margin-right: 1.5rem; line-height: 1.8; }
#toc-content a::before { content: '\2197\0020'; font-size: .7rem; opacity: .5; }
#toc-content a:hover { color: var(--accent); }
.analyst-sig { display: flex; gap: 1rem; align-items: flex-start; background: var(--charcoal); border-radius: 12px; padding: 1.5rem; margin: 2.5rem 0 3rem; }
.analyst-sig-avatar { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--white); font-weight: 700; font-size: .88rem; display: flex; align-items: center; justify-content: center; }
.analyst-sig-body { flex: 1; }
.analyst-sig-name { display: block; font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: .25rem; }
.analyst-sig-bio { display: block; font-size: .8rem; color: rgba(255,255,255,.45); line-height: 1.65; margin-bottom: .75rem; }
.analyst-sig-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.analyst-sig-tags span { font-size: .68rem; font-weight: 600; color: var(--accent-light); background: rgba(59,91,219,.15); border: 1px solid rgba(59,91,219,.2); padding: .15rem .5rem; border-radius: 4px; }
@media (max-width: 768px) {
  .post-hero { padding: 90px 1.25rem 44px; }
  .post-kpi-strip { padding: .8rem 1.25rem; }
  .post-body { padding: 2rem 1.25rem 3.5rem; }
  .post-byline-meta { margin-left: 0; }
  .kpi-val { font-size: .9rem; }
  .kpi-lbl { font-size: .6rem; }
}

/* =================== INTELLIGENCE FEED (BLOG PAGE) =================== */
.blog-feed-wrap { max-width: 900px; margin: 0 auto; padding: 140px 2rem 80px; }
.blog-feed-header { margin-bottom: 1.75rem; }
.feed-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--frost-deep); margin-bottom: 2.5rem; flex-wrap: wrap; }
.feed-tab { font-family: 'IBM Plex Mono', monospace; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--platinum); text-decoration: none; padding: .65rem 1rem; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all .2s; white-space: nowrap; }
.feed-tab:hover { color: var(--charcoal); }
.feed-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.intelligence-feed .post-card { border: none; border-bottom: 1px solid var(--frost-deep); border-radius: 0; background: transparent; padding: 1.75rem 0; box-shadow: none; cursor: default; }
.intelligence-feed .post-card:first-child { border-top: 2px solid var(--charcoal); }
.intelligence-feed .post-card:hover { transform: none; box-shadow: none; background: transparent; }
.intelligence-feed .post-card .card-cover { display: none; }
.intelligence-feed .card-body { display: grid; grid-template-columns: 130px 1fr; gap: .3rem 2rem; align-items: start; }
.intelligence-feed .card-meta { grid-column: 1; grid-row: 1 / 4; display: flex; flex-direction: column; gap: .5rem; padding-top: .3rem; }
.intelligence-feed .card-cat { font-family: 'IBM Plex Mono', monospace; font-size: .63rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--white); background: var(--accent); padding: .2rem .5rem; border-radius: 3px; display: inline-block; width: fit-content; }
.intelligence-feed .card-meta .sep { display: none; }
.intelligence-feed .card-meta time, .intelligence-feed .card-meta span:not(.card-cat):not(.sep) { font-family: 'IBM Plex Mono', monospace; font-size: .65rem; color: var(--platinum); display: block; }
.intelligence-feed .card-title { grid-column: 2; grid-row: 1; font-size: 1.18rem; font-weight: 700; margin: 0 0 .4rem; line-height: 1.35; }
.intelligence-feed .card-title a { color: var(--charcoal); text-decoration: none; transition: color .2s; }
.intelligence-feed .post-card:hover .card-title a { color: var(--accent); }
.intelligence-feed .card-excerpt { grid-column: 2; grid-row: 2; font-size: .87rem; color: var(--steel); line-height: 1.65; margin: 0 0 .5rem; }
.intelligence-feed .card-tags { grid-column: 2; grid-row: 3; }
@media (max-width: 640px) {
  .blog-feed-wrap { padding: 100px 1.25rem 60px; }
  .intelligence-feed .card-body { grid-template-columns: 1fr; }
  .intelligence-feed .card-meta { grid-row: 1; flex-direction: row; flex-wrap: wrap; gap: .4rem; align-items: center; }
  .intelligence-feed .card-title { grid-row: 2; }
  .intelligence-feed .card-excerpt { grid-row: 3; }
  .intelligence-feed .card-tags { grid-row: 4; }
}
