/*
Theme Name: RankAnythingSEO
Theme URI: https://rankanythingseo.com
Author: RankAnythingSEO
Version: 2.1.2
Description: Official Emerald & Ink Design System for RankAnythingSEO.com (Matching Plugin Dashboard)
*/

:root {
  /* Official RankAnything Dashboard Design System */
  --ra-ink:         #14171f;
  --ra-ink-soft:    #2a303d;
  --ra-muted:       #5f6675;
  --ra-subtle:      #8f96a3;
  --ra-line:        #e4e6ec;
  --ra-line-subtle: #edf0f5;
  --ra-bg:          #f6f7fa;
  --ra-card:        #ffffff;
  --ra-brand:       #0d7a5f;
  --ra-brand-dark:  #095c47;
  --ra-brand-soft:  #e3f4ee;
  --ra-accent:      #f2b33d;
  --ra-accent-soft: #fef7e7;
  --ra-red:         #dc2626;
  --ra-acid:        #0d7a5f;
  --ra-radius:      14px;
  --ra-grad-brand:  linear-gradient(135deg, #0d7a5f 0%, #16a079 100%);
  --ra-grad-dark:   linear-gradient(160deg, #10241e 0%, #14171f 100%);
  --ra-shadow-sm:   0 1px 2px rgba(15, 23, 42, 0.05);
  --ra-shadow-md:   0 8px 24px -8px rgba(15, 23, 42, 0.12), 0 2px 6px -2px rgba(15, 23, 42, 0.06);
  --ra-sans:        'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ra-mono:        'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body, .ra-term-root {
  margin: 0;
  background-color: var(--ra-bg);
  color: var(--ra-ink);
  font-family: var(--ra-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.ra-wrap, .wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.ra-mono { font-family: var(--ra-mono); }

/* Top Notification Banner */
.ra-banner {
  background: var(--ra-brand-soft);
  color: var(--ra-brand-dark);
  border-bottom: 1px solid #bfe5d7;
  font-family: var(--ra-mono);
  font-weight: 600;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* Navigation */
.ra-nav, nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ra-line);
}
.ra-nav-inner, nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}
.ra-brand, .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ra-ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.ra-brand span, .logo span {
  color: var(--ra-brand);
}
.ra-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--ra-ink);
  color: #fff;
  border-radius: 7px;
  font-family: var(--ra-mono);
  font-size: 13px;
  font-weight: 700;
}
.ra-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.ra-nav-links a {
  color: var(--ra-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease;
}
.ra-nav-links a:hover {
  color: var(--ra-brand);
}

/* Buttons */
.ra-btn, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.05s, box-shadow 0.15s;
}
.ra-btn:active, .btn:active { transform: translateY(1px); }
.ra-btn-sm, .btn.sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}
.ra-btn-acid, .ra-btn-primary, .btn {
  background: var(--ra-brand);
  color: #ffffff !important;
  border: 1px solid var(--ra-brand);
  box-shadow: 0 1px 3px rgba(13, 122, 95, 0.2);
}
.ra-btn-acid:hover, .ra-btn-primary:hover, .btn:hover {
  background: var(--ra-brand-dark);
  border-color: var(--ra-brand-dark);
  box-shadow: 0 4px 12px rgba(13, 122, 95, 0.25);
}
.ra-btn-wire {
  background: #ffffff;
  color: var(--ra-ink) !important;
  border: 1px solid var(--ra-line);
  box-shadow: var(--ra-shadow-sm);
}
.ra-btn-wire:hover {
  background: #f6f7fa;
  border-color: #cfd3db;
}

/* Hero Section */
.ra-hero {
  padding: 60px 0 50px;
}
.ra-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}
.ra-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ra-brand-soft);
  color: var(--ra-brand-dark);
  border: 1px solid #bfe5d7;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--ra-mono);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}
.ra-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ra-brand);
  box-shadow: 0 0 0 3px rgba(13, 122, 95, 0.25);
}
.ra-hero h1 {
  font-size: 44px;
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ra-ink);
  margin: 0 0 18px;
}
.ra-hero h1 em {
  font-style: normal;
  color: var(--ra-brand);
}
.ra-hero-sub {
  font-size: 17px;
  color: var(--ra-muted);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 520px;
}
.ra-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.ra-ver-line {
  font-family: var(--ra-mono);
  font-size: 12px;
  color: var(--ra-muted);
}

/* SERP Telemetry Box (Styled like the Dashboard's featured balance card) */
.ra-serp-box {
  background: var(--ra-grad-dark);
  color: #fff;
  border-radius: var(--ra-radius);
  border: 1px solid #20352d;
  box-shadow: 0 16px 40px rgba(16, 36, 30, 0.16);
  overflow: hidden;
}
.ra-win-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--ra-mono);
  font-size: 11px;
  color: #a9c9be;
}
.ra-win-dots {
  display: flex;
  gap: 6px;
}
.ra-win-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.ra-win-dots i:nth-child(1) { background: #ff5f56; }
.ra-win-dots i:nth-child(2) { background: #ffbd2e; }
.ra-win-dots i:nth-child(3) { background: #27c93f; }

.ra-serp-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ra-serp-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  font-family: var(--ra-mono);
  font-size: 12px;
}
.ra-serp-row.ra-locked {
  background: rgba(13, 122, 95, 0.25);
  border-color: rgba(0, 255, 102, 0.4);
}
.ra-rank-num {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-align: center;
}
.ra-domain-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 2px;
}
.ra-domain-url {
  color: #a9c9be;
  font-size: 11px;
}
.ra-delta {
  font-weight: 700;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
}
.ra-delta.up {
  color: #00ff66;
  background: rgba(0, 255, 102, 0.15);
}
.ra-delta.down {
  color: #ff7b72;
  background: rgba(255, 123, 114, 0.15);
}

/* Proof Strip */
.ra-proof-strip {
  background: var(--ra-card);
  border-top: 1px solid var(--ra-line);
  border-bottom: 1px solid var(--ra-line);
  padding: 24px 0;
}
.ra-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ra-proof-cell {
  text-align: left;
  padding: 0 16px;
  border-right: 1px solid var(--ra-line);
}
.ra-proof-cell:last-child {
  border-right: none;
}
.ra-proof-k {
  font-family: var(--ra-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ra-muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.ra-proof-v {
  font-size: 28px;
  font-weight: 800;
  color: var(--ra-ink);
  letter-spacing: -0.02em;
}
.ra-proof-v span {
  color: var(--ra-brand);
}
.ra-proof-sub {
  font-size: 11px;
  color: var(--ra-brand);
  font-weight: 600;
  margin-top: 2px;
}

/* Section Headings */
.ra-sec, .ra-section {
  padding: 70px 0;
  border-bottom: 1px solid var(--ra-line);
}
.ra-sec-header, .ra-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}
.ra-eyebrow {
  display: inline-block;
  font-family: var(--ra-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ra-brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.ra-sec-header h2, .ra-sec-head h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--ra-ink);
  margin: 0;
  letter-spacing: -0.02em;
}
.ra-sec-header p, .ra-sec-head p {
  color: var(--ra-muted);
  font-size: 15px;
  margin: 0;
  max-width: 500px;
}

/* Arsenal Grid & Module Cards */
.ra-arsenal-grid, .ra-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.ra-mod-card, .ra-tool-card {
  position: relative;
  background: var(--ra-card);
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius);
  padding: 30px;
  box-shadow: var(--ra-shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.ra-mod-card:hover, .ra-tool-card:hover {
  border-color: var(--ra-brand);
  box-shadow: var(--ra-shadow-md);
  transform: translateY(-2px);
}
.ra-mod-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-family: var(--ra-mono);
  font-size: 12px;
}
.ra-mod-id, .ra-tool-tag {
  color: var(--ra-brand);
  background: var(--ra-brand-soft);
  border: 1px solid #bfe5d7;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
}
.ra-mod-spec {
  color: var(--ra-muted);
  font-size: 11px;
}
.ra-mod-card h3, .ra-tool-card h4 {
  font-size: 20px;
  font-weight: 750;
  color: var(--ra-ink);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.ra-mod-card p, .ra-tool-card p {
  color: var(--ra-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
}
.ra-mod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--ra-line-subtle);
  padding-top: 16px;
}
.ra-mod-tags span {
  font-family: var(--ra-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ra-ink-soft);
  background: var(--ra-bg);
  border: 1px solid var(--ra-line);
  border-radius: 6px;
  padding: 3px 8px;
}

/* Terminal & Cost Telemetry */
.ra-term-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}
.ra-terminal {
  background: var(--ra-grad-dark);
  border: 1px solid #20352d;
  border-radius: var(--ra-radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(16, 36, 30, 0.15);
  font-family: var(--ra-mono);
  font-size: 12.5px;
}
.ra-term-body {
  padding: 20px;
  line-height: 1.85;
  color: #d1d5db;
  overflow-x: auto;
}
.ra-log-line { display: block; margin-bottom: 4px; }
.ra-log-ts { color: #8892b0; margin-right: 10px; }
.ra-log-ok { color: #00ff66; font-weight: 700; }
.ra-log-warn { color: var(--ra-accent); }

.ra-telemetry-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ra-mono);
  font-size: 12px;
  background: var(--ra-card);
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius);
  overflow: hidden;
  box-shadow: var(--ra-shadow-sm);
}
.ra-telemetry-table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--ra-bg);
  color: var(--ra-muted);
  border-bottom: 1px solid var(--ra-line);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
}
.ra-telemetry-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--ra-line-subtle);
  color: var(--ra-ink);
}
.ra-telemetry-table tr:last-child td { border-bottom: none; }
.ra-telemetry-table td.cost {
  color: var(--ra-brand);
  font-weight: 700;
  text-align: right;
}

/* Pricing Token Matrix */
.ra-matrix-grid, .ra-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.ra-tier, .ra-pricing-card {
  position: relative;
  background: var(--ra-card);
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--ra-shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.ra-tier:hover, .ra-pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ra-shadow-md);
}
.ra-tier.ra-tier-prime, .ra-pricing-card.is-featured {
  border: 2px solid var(--ra-brand);
  box-shadow: 0 10px 30px rgba(13, 122, 95, 0.12);
}
.ra-prime-badge, .ra-pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--ra-brand);
  color: #fff;
  font-family: var(--ra-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ra-tier-name, .ra-pack-name {
  font-family: var(--ra-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ra-brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.ra-tier-price, .ra-pack-price {
  font-size: 44px;
  font-weight: 800;
  color: var(--ra-ink);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.ra-tier-tokens, .ra-pack-tokens {
  font-family: var(--ra-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ra-muted);
  margin-bottom: 20px;
}
.ra-tier-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  border-top: 1px solid var(--ra-line-subtle);
  padding-top: 16px;
}
.ra-tier-list li {
  font-size: 13px;
  color: var(--ra-ink);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ra-tier-list li::before {
  content: "✓";
  color: var(--ra-brand);
  font-weight: 700;
  font-family: var(--ra-mono);
}

/* Console Boxes (Key Provisioning & Token Topup) */
.ra-console-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
.ra-console-box {
  background: var(--ra-card);
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius);
  padding: 32px;
  box-shadow: var(--ra-shadow-sm);
}
.ra-console-box h3 {
  font-size: 20px;
  font-weight: 750;
  color: var(--ra-ink);
  margin: 0 0 8px;
}
.ra-console-box p {
  color: var(--ra-muted);
  font-size: 14px;
  margin: 0 0 20px;
}
.ra-input-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ra-field {
  flex: 1 1 200px;
  min-height: 44px;
  padding: 0 14px;
  background: #ffffff;
  border: 1px solid #cfd3db;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ra-ink);
  box-sizing: border-box;
}
.ra-field:focus {
  border-color: var(--ra-brand);
  outline: none;
  box-shadow: 0 0 0 3px var(--ra-brand-soft);
}
.ra-key-out {
  background: var(--ra-brand-soft);
  border: 1px solid #bfe5d7;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--ra-mono);
  font-size: 13px;
  color: var(--ra-brand-dark);
  font-weight: 700;
  word-break: break-all;
  margin: 12px 0 16px;
}
.msg {
  font-family: var(--ra-mono);
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
  min-height: 20px;
}
.msg.ok { color: var(--ra-brand); }
.msg.bad, .msg.err { color: var(--ra-red); }

/* FAQ Specs */
.ra-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}
.ra-faq-item {
  background: var(--ra-card);
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius);
  padding: 24px;
  box-shadow: var(--ra-shadow-sm);
}
.ra-faq-item summary {
  font-size: 16px;
  font-weight: 750;
  color: var(--ra-ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.ra-faq-item summary::-webkit-details-marker { display: none; }
.ra-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 700;
  color: var(--ra-brand);
}
.ra-faq-item[open] summary::after {
  content: "−";
}
.ra-faq-item p {
  font-size: 14px;
  color: var(--ra-muted);
  line-height: 1.6;
  margin: 12px 0 0;
}

/* Final CTA Banner */
.ra-final-cta {
  background: var(--ra-brand-soft);
  border: 1px solid #bfe5d7;
  border-radius: var(--ra-radius);
  padding: 40px;
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Footer */
.ra-footer, footer {
  background: #ffffff;
  border-top: 1px solid var(--ra-line);
  padding: 36px 0;
}
.ra-footer-inner, footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ra-muted);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}
.ra-footer a, footer a {
  color: var(--ra-muted);
  text-decoration: none;
}
.ra-footer a:hover, footer a:hover {
  color: var(--ra-brand);
}

/* Blog & Article Styles */
.ra-blog-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 50px 24px 80px;
}
.ra-blog-hero {
  margin-bottom: 40px;
}
.ra-blog-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ra-ink);
  margin: 8px 0 12px;
}
.ra-blog-sub {
  color: var(--ra-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}
.ra-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.ra-blog-card {
  background: var(--ra-card);
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius);
  padding: 32px;
  box-shadow: var(--ra-shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.ra-blog-card:hover {
  transform: translateY(-2px);
  border-color: var(--ra-brand);
  box-shadow: var(--ra-shadow-md);
}
.ra-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-family: var(--ra-mono);
  font-size: 11px;
}
.ra-card-cat {
  color: var(--ra-brand);
  background: var(--ra-brand-soft);
  border: 1px solid #bfe5d7;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
}
.ra-card-date {
  color: var(--ra-muted);
}
.ra-blog-card h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.ra-blog-card h2 a {
  color: var(--ra-ink);
  text-decoration: none;
  transition: color 0.15s;
}
.ra-blog-card h2 a:hover {
  color: var(--ra-brand);
}
.ra-card-excerpt {
  color: var(--ra-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.ra-card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ra-brand);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  font-family: var(--ra-mono);
}
.ra-card-read-more:hover {
  color: var(--ra-brand-dark);
  text-decoration: underline;
}

/* Single Article Layout */
.ra-article-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ra-line);
}
.ra-article-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ra-ink);
  margin: 12px 0 16px;
}
.ra-post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ra-mono);
  font-size: 12px;
  color: var(--ra-muted);
  flex-wrap: wrap;
}
.ra-meta-badge {
  color: var(--ra-brand);
  background: var(--ra-brand-soft);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  border: 1px solid #bfe5d7;
}

/* Article Body Typography */
.entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: #2a303d;
}
.entry-content h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ra-ink);
  margin: 44px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ra-line-subtle);
}
.entry-content h3 {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--ra-ink);
  margin: 32px 0 12px;
}
.entry-content p {
  margin: 0 0 20px;
}
.entry-content ul, .entry-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}
.entry-content li {
  margin-bottom: 8px;
}
.entry-content code {
  font-family: var(--ra-mono);
  font-size: 13px;
  background: #edf0f5;
  color: var(--ra-ink);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #e4e6ec;
}
.entry-content pre {
  background: var(--ra-grad-dark);
  color: #d1d5db;
  padding: 20px;
  border-radius: var(--ra-radius);
  overflow-x: auto;
  font-family: var(--ra-mono);
  font-size: 13px;
  line-height: 1.6;
  margin: 24px 0;
  border: 1px solid #20352d;
}
.entry-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  border: none;
}
.entry-content strong {
  color: var(--ra-ink);
  font-weight: 700;
}

/* Step Callout Boxes */
.ra-step-box {
  background: #ffffff;
  border: 1px solid var(--ra-line);
  border-left: 4px solid var(--ra-brand);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
  box-shadow: var(--ra-shadow-sm);
}
.ra-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.ra-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--ra-brand);
  color: #fff;
  border-radius: 50%;
  font-family: var(--ra-mono);
  font-size: 12px;
  font-weight: 700;
}
.ra-step-title {
  font-size: 16px;
  font-weight: 750;
  color: var(--ra-ink);
  margin: 0;
}

/* UI Visual Mockup Card */
.ra-ui-mockup {
  background: #ffffff;
  border: 1px solid var(--ra-line);
  border-radius: 10px;
  overflow: hidden;
  margin: 28px 0;
  box-shadow: var(--ra-shadow-md);
}
.ra-ui-bar {
  background: #f6f7fa;
  border-bottom: 1px solid var(--ra-line);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--ra-mono);
  font-size: 11px;
  color: var(--ra-muted);
}
.ra-ui-body {
  padding: 20px;
}

/* Enhanced UI Mockups & Architectural Visuals */
.ra-ui-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.ra-ui-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.ra-ui-dot-r { background: #ff5f56; }
.ra-ui-dot-y { background: #ffbd2e; }
.ra-ui-dot-g { background: #27c93f; }
.ra-ui-title {
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ra-ink);
}
.ra-ui-tag {
  background: var(--ra-brand-tint);
  color: var(--ra-brand-dark);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.ra-ui-grid-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.ra-ui-stat-card {
  background: #fbfcfd;
  border: 1px solid var(--ra-line);
  border-radius: 8px;
  padding: 12px 14px;
}
.ra-ui-stat-label {
  font-family: var(--ra-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--ra-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ra-ui-stat-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--ra-ink);
  font-family: var(--ra-mono);
}
.ra-ui-stat-val.ra-green { color: var(--ra-brand); }
.ra-ui-stat-val.ra-blue { color: #1a62d6; }
.ra-ui-stat-val.ra-amber { color: #b45309; }

/* Mockup Input & Form */
.ra-ui-search-bar {
  display: flex;
  gap: 10px;
  background: #f6f7fa;
  padding: 10px 14px;
  border: 1px solid var(--ra-line);
  border-radius: 8px;
  margin-bottom: 16px;
  align-items: center;
}
.ra-ui-input-dummy {
  flex: 1;
  font-family: var(--ra-mono);
  font-size: 13px;
  color: var(--ra-ink);
  background: transparent;
}
.ra-ui-btn-dummy {
  background: var(--ra-brand);
  color: #fff;
  font-family: var(--ra-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Mockup Table */
.ra-ui-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ra-line);
  border-radius: 8px;
  margin-top: 14px;
}
.ra-ui-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
.ra-ui-table th {
  background: #f6f7fa;
  padding: 10px 12px;
  font-family: var(--ra-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ra-muted);
  border-bottom: 1px solid var(--ra-line);
  text-transform: uppercase;
}
.ra-ui-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--ra-line);
  color: var(--ra-ink);
  font-family: var(--ra-mono);
}
.ra-ui-table tr:last-child td {
  border-bottom: none;
}
.ra-ui-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--ra-mono);
}
.ra-ui-badge.pass { background: #dcfce7; color: #15803d; }
.ra-ui-badge.warn { background: #fef3c7; color: #b45309; }
.ra-ui-badge.info { background: #e0f2fe; color: #0369a1; }
.ra-ui-badge.kd-low { background: #dcfce7; color: #15803d; }
.ra-ui-badge.kd-mid { background: #fef9c3; color: #854d0e; }
.ra-ui-badge.kd-high { background: #fee2e2; color: #b91c1c; }

/* Architectural Flow Diagram Card */
.ra-arch-flow {
  background: #0d1219;
  border: 1px solid #20352d;
  border-radius: 10px;
  padding: 24px;
  margin: 28px 0;
  color: #d1d5db;
}
.ra-arch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 12px;
  margin-bottom: 20px;
  font-family: var(--ra-mono);
  font-size: 11px;
  color: #10b981;
}
.ra-arch-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  align-items: stretch;
}
.ra-arch-node {
  background: #151d27;
  border: 1px solid #253342;
  border-radius: 8px;
  padding: 16px;
  position: relative;
}
.ra-arch-node.active {
  border-color: #10b981;
  background: #11221c;
}
.ra-arch-num {
  font-family: var(--ra-mono);
  font-size: 10px;
  font-weight: 700;
  color: #10b981;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.ra-arch-node-title {
  font-family: var(--ra-sans);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}
.ra-arch-node-desc {
  font-size: 12px;
  line-height: 1.5;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 960px) {
  .ra-hero-grid, .ra-console-grid, .ra-faq-grid, .ra-arsenal-grid, .ra-term-grid, .ra-matrix-grid {
    grid-template-columns: 1fr;
  }
  .ra-proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ra-nav-links {
    display: none;
  }
  .ra-hero h1 {
    font-size: 34px;
  }
}
