/* ═══════════════════════════════════════════════════════
   THE PRUDENT — Enhancement Layer CSS
   Applied ON TOP of existing theme — no overrides
   ═══════════════════════════════════════════════════════ */

/* ─── 1. MICRO-INTERACTIONS: Weighted slow fades ─── */
a, button, .nav-item, [class*="card"], [class*="article"],
[class*="grid"], [class*="cell"], [class*="hover"] {
  transition-duration: 0.5s !important;
  transition-timing-function: ease !important;
}

/* ─── 2. TYPOGRAPHY: Improved line-height for luxury feel ─── */
p, .deck, .excerpt, [class*="excerpt"], [class*="desc"],
[class*="body"] p, article p {
  line-height: 1.8 !important;
}
h1, h2, h3, h4 {
  line-height: 1.25;
}

/* ─── 3. NEWSLETTER DOSSIER MODAL ─── */
#prudent-dossier-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,5,5,0.92);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
#prudent-dossier-overlay.open {
  display: flex;
}
.dossier-modal {
  background: #0a0a0a;
  border: 1px solid #2a2b30;
  max-width: 480px;
  width: 90%;
  padding: 44px;
  position: relative;
  animation: dossierIn 0.6s ease;
}
@keyframes dossierIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.dossier-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #444;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.4s ease;
  font-family: inherit;
}
.dossier-close-btn:hover { color: #E5E5E5; }
.dossier-badge {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 8px;
  letter-spacing: 0.3em;
  color: #C0181A;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-align: center;
}
.dossier-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  color: #E5E5E5;
  text-align: center;
  line-height: 1.15;
  margin-bottom: 14px;
}
.dossier-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #777;
  text-align: center;
  line-height: 1.7;
  margin-bottom: 24px;
}
.dossier-form {
  display: flex;
  gap: 0;
}
.dossier-email {
  flex: 1;
  background: #050505;
  border: 1px solid #2a2b30;
  border-right: none;
  color: #aaa;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.5s ease;
}
.dossier-email:focus { border-color: #0066FF; }
.dossier-email::placeholder { color: #333; }
.dossier-submit-btn {
  background: #C0181A;
  border: none;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 22px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.5s ease;
}
.dossier-submit-btn:hover { background: #a01214; }
.dossier-result {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  text-align: center;
  margin-top: 12px;
  min-height: 20px;
}
.dossier-trust {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #1e1f24;
}
.dossier-trust span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  color: #333;
  letter-spacing: 0.08em;
  text-align: center;
}

/* ─── 4. GCC CORRIDOR TRACKER (Footer Widget) ─── */
#gcc-corridor-widget {
  padding: 20px 48px;
  border-top: 1px solid #1e1f24;
  background: #0a0a0a;
}
.gcc-widget-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: #444;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.gcc-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.gcc-metric-box {
  text-align: center;
}
.gcc-metric-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  color: #333;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.gcc-metric-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  color: #E5E5E5;
}
.gcc-metric-value small {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  letter-spacing: 0.06em;
}
.gcc-positive { color: #0066FF; }
.gcc-up small { color: #2da84a; }

/* ─── 5. VERIFIED HUMAN BADGE (Footer) ─── */
#verified-human-badge {
  padding: 12px 48px;
  background: rgba(0,102,255,0.03);
  border-top: 1px solid rgba(0,102,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  color: #0066FF;
  letter-spacing: 0.1em;
}

/* ─── 6. PRUDENT PERSPECTIVE BOX (on article pages) ─── */
.prudent-take-box {
  background: #1A1A1A;
  border: 1px solid #2a2b30;
  margin: 20px 0;
  overflow: hidden;
}
.prudent-take-header {
  background: rgba(192,24,26,0.06);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1e1f24;
}
.prudent-take-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #C0181A;
  text-transform: uppercase;
  font-weight: 500;
}
.prudent-take-sublabel {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  color: #444;
  letter-spacing: 0.1em;
}
.prudent-take-content {
  padding: 14px 18px;
}
.prudent-take-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid #111;
}
.prudent-take-item:last-child { border-bottom: none; }
.pt-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 7px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 3px 8px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 1px;
}
.pt-action .pt-tag { background: rgba(0,102,255,0.15); color: #0066FF; }
.pt-risk .pt-tag { background: rgba(192,24,26,0.15); color: #C0181A; }
.pt-opp .pt-tag { background: rgba(200,169,74,0.15); color: #c8a94a; }
.pt-text {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #999;
  line-height: 1.7;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  #gcc-corridor-widget { padding: 16px 20px; }
  .gcc-metrics-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .dossier-modal { padding: 28px; }
  .dossier-form { flex-direction: column; }
  .dossier-email { border-right: 1px solid #2a2b30; border-bottom: none; }
  .dossier-title { font-size: 24px; }
  #verified-human-badge { padding: 10px 20px; }
  .manifesto-title { font-size: 48px !important; }
  .manifesto-beliefs { grid-template-columns: 1fr !important; }
  .oracle-beta-title { font-size: 36px !important; }
  .oracle-beta-scenarios { grid-template-columns: 1fr !important; }
  .subcat-title { font-size: 32px !important; }
}

/* ═══════════════════════════════════════════════════════
   7. ABOUT / MANIFESTO PAGE ENHANCEMENT
   ═══════════════════════════════════════════════════════ */
#manifesto-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  border-bottom: 1px solid #1e1f24;
  overflow: hidden;
  margin-bottom: 32px;
}
.manifesto-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(192,24,26,0.04) 0%, transparent 70%);
}
.manifesto-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px 48px;
  max-width: 700px;
}
.manifesto-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.35em;
  color: #C0181A;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.manifesto-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 72px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #E5E5E5;
  margin-bottom: 8px;
}
.manifesto-subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 300;
  color: #555;
  margin-bottom: 24px;
}
.manifesto-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 300;
  font-style: italic;
  color: #888;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
  border-left: 2px solid #C0181A;
  padding-left: 20px;
  text-align: left;
}
.manifesto-beliefs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #1e1f24;
  margin: 32px 0;
}
.manifesto-belief {
  background: #0a0a0a;
  padding: 28px;
  transition: background 0.5s ease;
}
.manifesto-belief:hover {
  background: #0f0f0f;
}
.mb-icon {
  font-size: 14px;
  color: #C0181A;
  margin-bottom: 12px;
}
.mb-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  color: #E5E5E5;
  margin-bottom: 8px;
}
.mb-desc {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #777;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   8. SUB-CATEGORY PAGE HEADERS
   ═══════════════════════════════════════════════════════ */
#subcat-header {
  margin-bottom: 8px;
}
.subcat-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.25em;
  color: #C0181A;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.subcat-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #E5E5E5;
  margin-bottom: 12px;
}
.subcat-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  max-width: 640px;
}

/* ═══════════════════════════════════════════════════════
   9. ORACLE BETA WAITLIST PAGE
   ═══════════════════════════════════════════════════════ */
#oracle-beta-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.oracle-beta-hero {
  text-align: center;
  margin-bottom: 40px;
}
.oracle-beta-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.3em;
  color: #C0181A;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.oracle-beta-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #E5E5E5;
  margin-bottom: 8px;
}
.oracle-beta-subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 300;
  color: #555;
  margin-bottom: 20px;
}
.oracle-beta-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}
.oracle-beta-interface {
  background: #0a0a0a;
  border: 1px solid #1e1f24;
  padding: 32px;
  margin-bottom: 48px;
}
.oracle-beta-scenarios-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: #333;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.oracle-beta-scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.oracle-beta-chip {
  background: #1A1B1E;
  border: 1px solid #2a2b30;
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #777;
  transition: all 0.5s ease;
  text-align: left;
  line-height: 1.5;
  cursor: pointer;
}
.oracle-beta-chip:hover,
.oracle-beta-chip.active {
  border-color: #0066FF;
  color: #0066FF;
}
.oracle-beta-ta {
  width: 100%;
  background: #050505;
  border: 1px solid #1e1f24;
  color: #aaa;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  padding: 16px;
  resize: none;
  outline: none;
  line-height: 1.8;
  height: 120px;
  margin-bottom: 12px;
  transition: border-color 0.5s ease;
}
.oracle-beta-ta:focus { border-color: #0066FF; }
.oracle-beta-submit {
  width: 100%;
  background: #C0181A;
  color: #fff;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px;
  transition: all 0.5s ease;
  cursor: pointer;
}
.oracle-beta-submit:hover { background: #a01214; }
.oracle-beta-submit:disabled { opacity: 0.6; cursor: wait; }
.oracle-beta-output {
  display: none;
  margin-top: 24px;
  background: #050505;
  border: 1px solid #1e1f24;
  padding: 24px;
}
.oracle-beta-output-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.22em;
  color: #C0181A;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.oracle-beta-output-body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: #bbb;
}
.oracle-beta-output-body p { margin-bottom: 1.2em; }
.oracle-beta-output-body strong { color: #E5E5E5; font-weight: 600; }
.oracle-beta-loading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #333;
  text-align: center;
  padding: 20px 0;
}

/* Oracle Nav */
.oracle-beta-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  margin-bottom: 24px;
  border-bottom: 1px solid #1e1f24;
}
.oracle-nav-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  color: #E5E5E5;
  text-decoration: none;
  font-weight: 300;
}
.oracle-nav-logo strong { font-weight: 700; }
.oracle-nav-links {
  display: flex;
  gap: 24px;
}
.oracle-nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
  text-decoration: none;
  transition: color 0.5s ease;
}
.oracle-nav-links a:hover { color: #E5E5E5; }

/* Oracle Waitlist Section */
.oracle-beta-waitlist {
  background: #0a0a0a;
  border: 1px solid #2a2b30;
  border-top: 2px solid #C0181A;
  padding: 40px;
  text-align: center;
}
.oracle-wl-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.3em;
  color: #C0181A;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.oracle-wl-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  color: #E5E5E5;
  margin-bottom: 12px;
}
.oracle-wl-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #777;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 24px;
}
.oracle-wl-form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto;
}
.oracle-wl-input {
  flex: 1;
  background: #050505;
  border: 1px solid #2a2b30;
  border-right: none;
  color: #aaa;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.5s ease;
}
.oracle-wl-input:focus { border-color: #0066FF; }
.oracle-wl-input::placeholder { color: #333; }
.oracle-wl-btn {
  background: #C0181A;
  border: none;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 13px 22px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.5s ease;
}
.oracle-wl-btn:hover { background: #a01214; }
.oracle-wl-result {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  text-align: center;
  margin-top: 12px;
  min-height: 20px;
}
.oracle-wl-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  color: #333;
  letter-spacing: 0.08em;
  margin-top: 16px;
}

/* ═══════════════════════════════════════════════════════
   11. AUTHOR VERIFIED BADGES
   ═══════════════════════════════════════════════════════ */
.author-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  color: #0066FF;
  letter-spacing: 0.1em;
  background: rgba(0,102,255,0.08);
  padding: 2px 8px;
  border: 1px solid rgba(0,102,255,0.15);
  white-space: nowrap;
}
.author-verified-standalone {
  font-size: 8px;
  padding: 3px 10px;
}
.verified-research-bar {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(0,102,255,0.04);
  border: 1px solid rgba(0,102,255,0.1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  color: #0066FF;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   12. CONTENT TONE AUDIT BADGE
   ═══════════════════════════════════════════════════════ */
.tone-audit-badge {
  background: #0a0a0a;
  border: 1px solid #1e1f24;
  margin-top: 32px;
  overflow: hidden;
}
.tone-badge-header {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.22em;
  color: #333;
  text-transform: uppercase;
  padding: 12px 18px;
  border-bottom: 1px solid #1e1f24;
}
.tone-badge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #1e1f24;
}
.tone-item {
  background: #0a0a0a;
  padding: 14px 18px;
  text-align: center;
}
.tone-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 7px;
  letter-spacing: 0.15em;
  color: #333;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tone-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   13. DYNAMIC INTELLIGENCE MAP
   ═══════════════════════════════════════════════════════ */
#intelligence-map-widget {
  padding: 32px 48px;
  border-top: 1px solid #1e1f24;
  border-bottom: 1px solid #1e1f24;
  background: #050505;
}
.intel-map-header {
  margin-bottom: 20px;
}
.intel-map-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.25em;
  color: #C0181A;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.intel-map-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: #E5E5E5;
}
.intel-map-container {
  border: 1px solid #1e1f24;
  overflow: hidden;
}
.intel-map-svg {
  width: 100%;
  height: auto;
  display: block;
}
.map-region-uk {
  transition: fill 0.5s ease;
}
.map-region-uk:hover { fill: rgba(192,24,26,0.2); }
.map-region-gcc {
  transition: fill 0.5s ease;
}
.map-region-gcc:hover { fill: rgba(200,169,74,0.2); }

@media (max-width: 768px) {
  #intelligence-map-widget { padding: 20px; }
  .intel-map-title { font-size: 22px; }
  .tone-badge-grid { grid-template-columns: 1fr 1fr; }
  .payment-success-inner { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════════════════
   14. PAYMENT SUCCESS BANNER
   ═══════════════════════════════════════════════════════ */
#payment-success-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99998;
  background: linear-gradient(135deg, #0a0a0a 0%, #111 100%);
  border-bottom: 2px solid #2da84a;
  animation: slideDown 0.5s ease;
}
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
.payment-success-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.payment-success-icon {
  font-size: 24px;
  color: #2da84a;
  flex-shrink: 0;
}
.payment-success-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: #E5E5E5;
  margin-bottom: 4px;
}
.payment-success-desc {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #888;
  line-height: 1.6;
}
.payment-success-close {
  background: none;
  border: none;
  color: #444;
  font-size: 20px;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
  transition: color 0.4s ease;
}
.payment-success-close:hover { color: #E5E5E5; }
