/* Take Back Your Data — custom styles */

/* ── Homepage guide cards grid ── */
.home-guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.home-guide-card {
  background: #0f1729;
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  transition: border-color 0.2s, transform 0.15s, background 0.2s;
  text-decoration: none; display: block; color: inherit;
}
a.home-guide-card:hover {
  border-color: rgba(59,130,246,0.45);
  background: #141e36; transform: translateY(-3px);
}

/* ── Homepage grids ── */
.home-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.home-cross-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem; max-width: 800px; margin: 0 auto;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .home-guides-grid,.articles-grid { grid-template-columns: 1fr }
  .home-steps-grid { grid-template-columns: 1fr }
}

/* ── Prose links ── */
.prose a { color: #60a5fa; text-decoration: underline; text-underline-offset: 2px }
.prose a:hover { color: #93c5fd }

/* ── Dark scrollbar ── */
::-webkit-scrollbar{width:8px}
::-webkit-scrollbar-track{background:#0a0f1e}
::-webkit-scrollbar-thumb{background:#374151;border-radius:4px}
::-webkit-scrollbar-thumb:hover{background:#4b5563}

/* ── Blowfish dark overrides ── */
:root {
  --color-neutral-50:#f8fafc; --color-neutral-900:#0a0f1e;
  --color-primary-400:#60a5fa; --color-primary-500:#3b82f6;
  --color-primary-600:#2563eb; --color-primary-700:#1d4ed8;
}
#appearance-switcher{display:none!important}
body{background-color:#0a0f1e}

/* ── Article body styling ── */
.article-body-content {
  color: #cbd5e1; line-height: 1.8; font-size: 1.05rem;
}
.article-body-content h2 {
  font-size: 1.5rem; font-weight: 700; color: #e8edf5;
  margin: 2.5rem 0 1rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(59,130,246,0.15);
}
.article-body-content h3 {
  font-size: 1.2rem; font-weight: 700; color: #e8edf5;
  margin: 1.75rem 0 0.75rem;
}
.article-body-content p { margin-bottom: 1.25rem }
.article-body-content ul,.article-body-content ol { margin: 0 0 1.5rem 1.5rem }
.article-body-content li { margin-bottom: 0.5rem }
.article-body-content strong { color: #e8edf5; font-weight: 600 }
.article-body-content a { color: #60a5fa; text-decoration: underline; text-underline-offset: 2px }
.article-body-content a:hover { color: #93c5fd }
.article-body-content hr { border: none; border-top: 1px solid rgba(59,130,246,0.12); margin: 2rem 0 }
.article-body-content img {
  width: 100%;
  border-radius: 10px;
  margin: 1.5rem 0;
}
.article-body-content blockquote {
  border-left: 3px solid #3b82f6; padding: 0.75rem 1.25rem;
  margin: 1.5rem 0; background: rgba(59,130,246,0.05);
  border-radius: 0 6px 6px 0; color: #94a3b8;
}

/* ── VPN comparison cards ── */
.vpn-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem; margin: 1.5rem 0 2rem;
}
.vpn-card {
  background: #0f1729;
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: 10px; overflow: hidden;
}
.vpn-card-header {
  background: #1e3a5f; color: #e8edf5;
  font-weight: 700; font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid rgba(59,130,246,0.3);
}
.vpn-card-body { padding: 0.75rem 1rem }
.vpn-spec {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.35rem 0; border-bottom: 1px solid rgba(59,130,246,0.06);
  font-size: 0.88rem; gap: 0.5rem;
}
.vpn-spec:last-child { border-bottom: none }
.vpn-label {
  color: #64748b; font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em; flex-shrink: 0;
}
.vpn-spec span:last-child { color: #cbd5e1; text-align: right }
.vpn-price { color: #60a5fa !important; font-weight: 700 }
.vpn-badge { font-size: 0.75rem; font-weight: 600; padding: 1px 6px; border-radius: 4px }
.vpn-green { color: #4ade80; background: rgba(74,222,128,0.1) }
.vpn-yellow { color: #facc15; background: rgba(250,204,21,0.1) }

/* ── Article tables ── */
.article-body-content table {
  display: table !important;
  width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.9rem;
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 8px;
  overflow: hidden;
}
.article-body-content th {
  background: #1e3a5f;
  color: #e8edf5;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 2px solid rgba(59,130,246,0.3);
}
.article-body-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(59,130,246,0.08);
  color: #cbd5e1;
  vertical-align: top;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.article-body-content tr:nth-child(even) {
  background: rgba(59,130,246,0.03);
}

/* Stats listing — 3-per-row card grid */
.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}
.stats-link-card {
  background: #0f1729;
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  text-decoration: none; display: block; color: inherit;
  transition: border-color 0.2s, transform 0.15s, background 0.2s;
}
.stats-link-card:hover {
  border-color: rgba(59,130,246,0.45);
  background: #141e36; transform: translateY(-2px);
}
.stats-card-icon { font-size: 2rem; margin-bottom: 0.75rem }
.stats-card-title { font-size: 1.05rem; font-weight: 700; color: #e8edf5; margin-bottom: 0.4rem; line-height: 1.3 }
.stats-card-desc { font-size: 0.88rem; color: #8b9ab8; line-height: 1.5 }

/* Stat cards for stats pages */
.stats-content .stat-card {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(59,130,246,0.08);
}

.stats-content .stat-card:last-child {
  border-bottom: none;
}

.stats-content .stat-num {
  font-size: 0.95rem;
  font-weight: 700;
  color: #60a5fa;
  min-width: 120px;
  max-width: 160px;
  flex-shrink: 0;
  line-height: 1.5;
}

.stats-content .stat-text {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.stats-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #e8edf5;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(59,130,246,0.15);
}

.stats-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #94a3b8;
  margin: 2rem 0 0.75rem;
}

/* TOC */
#TableOfContents a:hover{color:#3b82f6}
#TableOfContents ul{list-style:none;padding-left:1rem}
#TableOfContents li{margin-bottom:0.25rem}
