/* SafeBrowz blog + landing page styles - shared across all /blog/ and marketing landing pages */

:root, [data-theme="dark"] {
  --bg: #050510;
  --bg-2: #0a0a1a;
  --surface: #0f0f20;
  --surface-2: #14142a;
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.12);
  --text: #ffffff;
  --text-dim: #9ca3af;
  --text-mute: #6b7280;
  --green: #10b981;
  --green-2: #34d399;
  --green-dim: rgba(16,185,129,0.15);
  --green-glow: rgba(16,185,129,0.4);
  --yellow: #f59e0b;
  --yellow-dim: rgba(245,158,11,0.15);
  --red: #ef4444;
  --red-dim: rgba(239,68,68,0.12);
}
[data-theme="light"] {
  --bg: #fafafa;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f4f7;
  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.14);
  --text: #0a0a18;
  --text-dim: #4b5563;
  --text-mute: #9ca3af;
  --green: #059669;
  --green-2: #10b981;
  --green-dim: rgba(5,150,105,0.1);
  --green-glow: rgba(5,150,105,0.3);
  --yellow: #d97706;
  --yellow-dim: rgba(217,119,6,0.1);
  --red: #dc2626;
  --red-dim: rgba(220,38,38,0.1);
}
[data-theme="light"] nav { background: rgba(255,255,255,0.7); }
[data-theme="light"] .nav-toggle { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.1); }

/* Theme toggle styling lives in the "Nav" block below (copied from
   landing page) so every page renders the emoji toggle identically. */

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ─── Nav: exact copy of landing page so header is identical.
       Scoped to `body > nav` so pages that embed a secondary <nav>
       (e.g. /api-docs sidebar) don't accidentally turn THAT into a
       fixed top bar too. ─── */
body > nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(5, 5, 16, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s ease, border-color 0.4s ease;
}
[data-theme="light"] body > nav { background: rgba(255, 255, 255, 0.7); }
/* Nav container uses landing-page dimensions so the brand + menu have
   the same breathing room on every page. The tighter .container used
   elsewhere (max-width: 1100px) gives narrower reading columns in
   articles without squeezing the top bar. */
body > nav .container {
  max-width: 1240px; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 0;
  font-weight: 800; font-size: 18px; letter-spacing: -0.4px;
  color: var(--text); text-decoration: none; cursor: pointer;
  transition: opacity 0.2s;
}
.brand:hover { opacity: 0.85; }
/* Brand shield logo — explicit size since the inline SVG markup
   doesn't carry width/height attributes. Without this rule the
   browser falls back to intrinsic 300x150 and the shield renders
   huge / distorted. */
.brand svg { width: 22px; height: 22px; margin-right: 6px; flex-shrink: 0; display: block; }
.brand-text { white-space: nowrap; }
.brand .g { color: var(--green); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--text-dim); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
  font-size: 16px;
  padding: 0;
  cursor: pointer;
}
.theme-toggle:hover { background: var(--surface-2); transform: scale(1.05); }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
[data-theme="light"] .theme-toggle .sun { display: block; }
[data-theme="light"] .theme-toggle .moon { display: none; }
/* SVG sun/moon icons need explicit stroke/fill since the inline SVG
   markup doesn't declare them. Without this rule the icons render
   invisible (no fill on path, no stroke color). */
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--text); }
.cta-mini {
  background: linear-gradient(135deg, var(--green), #059669);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 22px;
  box-shadow: 0 4px 14px var(--green-glow);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}
.cta-mini:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--green-glow); }
.nav-links a[data-nav="cta"] { display: none; }
.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  padding: 8px 10px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  flex-shrink: 0;
}
.nav-toggle:hover { border-color: var(--green); background: var(--green-dim); }
.nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; color: var(--text); }
.nav-toggle svg.nav-toggle-open { display: block; }
.nav-toggle svg.nav-toggle-close { display: none; }
.nav-toggle.open svg.nav-toggle-open { display: none; }
.nav-toggle.open svg.nav-toggle-close { display: block; }
/* Add top padding to body so fixed-nav content doesn't hide under it */
body { padding-top: 62px; }
@media (max-width: 860px) {
  body > nav { padding: 12px 0; }
  .nav-right { gap: 10px; flex-wrap: nowrap; }
  .nav-toggle { display: inline-flex; }
  .brand { flex-shrink: 1; min-width: 0; }
  body > nav .nav-right > .cta-mini { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(5,5,16,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 10px 0 16px;
    z-index: 9;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  }
  [data-theme="light"] .nav-links { background: rgba(255,255,255,0.98); }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a[data-nav="cta"] {
    display: block;
    margin: 12px 24px 0;
    text-align: center;
    padding: 12px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--green), #059669);
    color: #fff;
    font-weight: 800;
    border-bottom: none;
  }
}

/* Hero */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, var(--green-dim), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.hero-section > .container { position: relative; z-index: 1; }
.kicker {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--green);
  text-transform: uppercase;
  font-weight: 700;
  display: inline-block;
  padding: 7px 14px;
  background: var(--green-dim);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 100px;
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 18px;
}
h1 .grad {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Buttons */
.cta-btn-primary {
  background: linear-gradient(135deg, var(--green), #059669);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.2px;
  transition: transform .15s, box-shadow .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cta-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--green-glow); }
.cta-btn-outline {
  background: transparent;
  color: var(--text);
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  font-weight: 700;
  font-size: 15px;
  transition: border-color .15s, background .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cta-btn-outline:hover { border-color: var(--green); background: var(--green-dim); }

/* Branded store install buttons */
.store-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
}
.store-btn {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  transition: border-color .15s, transform .15s, background .15s;
}
.store-btn:hover { border-color: var(--green); transform: translateY(-2px); }
.store-btn img { width: 20px; height: 20px; display: block; }
.store-btn.chrome:hover { border-color: #4285f4; background: rgba(66,133,244,0.08); }
.store-btn.firefox:hover { border-color: #ff7139; background: rgba(255,113,57,0.08); }
.store-btn.edge:hover { border-color: #0078d4; background: rgba(0,120,212,0.08); }
.store-btn-primary {
  background: linear-gradient(135deg, var(--green), #059669);
  color: #fff;
  border-color: transparent;
}
.store-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--green-glow); }

/* AI Quick Answer block (GEO - Generative Engine Optimization)
   Designed for extraction by Google AI Overviews, ChatGPT, Claude, Perplexity */
.ai-quick-answer {
  background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(16,185,129,0.01));
  border: 1px solid rgba(16,185,129,0.25);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 32px 0 28px;
}
.ai-quick-answer h2 {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 10px;
}
.ai-quick-answer p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
  font-weight: 500;
}

/* Sections */
.section { padding: 70px 0; border-top: 1px solid var(--border); }
.section:first-of-type { border-top: none; }
.section h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section p {
  font-size: 16.5px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
}
.section-kicker {
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--green);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Feature grid (3-col) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: rgba(16,185,129,0.25); transform: translateY(-2px); }
.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-card p { font-size: 14.5px; color: var(--text-dim); line-height: 1.55; }

/* Step list */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}
.step-list .step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  position: relative;
  padding-left: 72px;
}
.step-list .step::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 22px;
  top: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-dim);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--green);
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
}
.step-list { counter-reset: step; }
.step-list .step h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text);
}
.step-list .step p { font-size: 14.5px; color: var(--text-dim); line-height: 1.55; margin: 0; }

/* Compare table */
.compare-table-wrap { overflow-x: auto; margin-top: 32px; border-radius: 14px; border: 1px solid var(--border); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 15px;
  min-width: 560px;
}
.compare-table thead th {
  background: var(--surface-2);
  color: var(--text);
  font-weight: 800;
  text-align: left;
  padding: 16px 20px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-strong);
}
.compare-table thead th:last-child { color: var(--green); }
.compare-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(16,185,129,0.03); }
.compare-table td:first-child { color: var(--text); font-weight: 600; }
.compare-table td:last-child { color: var(--green-2); font-weight: 700; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
  transition: background .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 22px;
  font-weight: 300;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { background: rgba(255,255,255,0.02); }
.faq-item-body {
  padding: 4px 24px 22px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}
.faq-item-body p { margin-bottom: 10px; }
.faq-item-body p:last-child { margin-bottom: 0; }

/* Also style direct <p>/<ul>/<ol> inside <details> (no wrapper needed) */
.faq-item details > p,
.faq-item details > ul,
.faq-item details > ol {
  padding: 4px 24px 22px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.faq-item details > p + p { padding-top: 0; margin-top: -14px; padding-bottom: 22px; }
.faq-item details > ul { padding-left: 44px; list-style: disc; }
.faq-item details > ol { padding-left: 44px; }

/* Bullet list */
.bullet-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bullet-list li {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.55;
  padding-left: 28px;
  position: relative;
}
.bullet-list li::before {
  content: "▸";
  color: var(--green);
  position: absolute;
  left: 6px;
  top: -2px;
  font-size: 18px;
}
.bullet-list li strong { color: var(--text); font-weight: 700; }

/* Highlight box (for price callouts, important stats) */
.highlight-box {
  background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(16,185,129,0.02));
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 14px;
  padding: 28px 30px;
  margin: 24px 0;
}
.highlight-box h3 {
  color: var(--green);
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.highlight-box p { margin: 0; font-size: 17px; color: var(--text); line-height: 1.6; }

/* Warning box (for recovery guides, red/urgent content) */
.warning-box {
  background: linear-gradient(135deg, rgba(239,68,68,0.08), rgba(245,158,11,0.04));
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 14px;
  padding: 28px 30px;
  margin: 24px 0;
}
.warning-box h3 {
  color: var(--yellow);
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ─── Article (blog) ─── */
.article-page { padding: 0; }
.article-header {
  text-align: center;
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.article-header::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, var(--green-dim), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.article-header .container-narrow { position: relative; z-index: 1; }
.article-header h1 {
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.article-lede {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 20px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.article-meta {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.08em;
}
.article-body {
  padding: 50px 0 60px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-dim);
}
.article-body h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin-top: 48px;
  margin-bottom: 18px;
  color: var(--text);
  scroll-margin-top: 80px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text);
}
.article-body p { margin-bottom: 20px; }
.article-body strong, .article-body b { color: var(--text); font-weight: 700; }
.article-body a { color: var(--green-2); border-bottom: 1px solid rgba(52,211,153,0.35); transition: border-color .15s; }
.article-body a:hover { border-bottom-color: var(--green); }
.article-body ul, .article-body ol {
  padding-left: 22px;
  margin-bottom: 22px;
}
.article-body ul li, .article-body ol li { margin-bottom: 10px; }
.article-body ul li::marker { color: var(--green); }
.article-body ol li::marker { color: var(--green); font-weight: 700; }
.article-body code {
  background: var(--surface-2);
  color: var(--green-2);
  padding: 2px 8px;
  border-radius: 5px;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
}
.article-body pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  overflow-x: auto;
  margin-bottom: 22px;
}
.article-body pre code {
  background: none;
  padding: 0;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.6;
  display: block;
}
.article-body blockquote {
  border-left: 3px solid var(--green);
  padding: 8px 20px;
  margin: 22px 0;
  color: var(--text-dim);
  font-style: italic;
}

/* Article CTA block (end of article) */
.article-cta {
  background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(16,185,129,0.02));
  border: 1px solid rgba(16,185,129,0.22);
  border-radius: 16px;
  padding: 36px 32px;
  margin: 50px 0 30px;
  text-align: center;
}
.article-cta h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}
.article-cta p { color: var(--text-dim); margin-bottom: 22px; font-size: 15px; }
.article-cta .buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.article-cta .buttons a {
  padding: 11px 22px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  transition: border-color .15s, transform .15s;
  border-bottom: 1px solid var(--border-strong);
}
.article-cta .buttons a:hover { border-color: var(--green); transform: translateY(-1px); }
.article-cta .buttons a.primary {
  background: linear-gradient(135deg, var(--green), #059669);
  color: #fff;
  border-color: transparent;
}

/* Article related links */
.article-related {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  margin-top: 30px;
}
.article-related h3 {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
  font-weight: 700;
}
.article-related ul { list-style: none; padding: 0; }
.article-related li { margin-bottom: 8px; }
.article-related a {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  border-bottom: none;
}
.article-related a:hover { color: var(--green-2); }
.article-related a::before { content: "→ "; color: var(--green); }

/* Install CTA section (landing pages) */
.install-cta-section {
  background: linear-gradient(180deg, rgba(16,185,129,0.05), transparent);
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.install-cta-section h2 { margin-bottom: 16px; }
.install-cta-section p {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 32px;
}
.install-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.install-buttons a {
  padding: 14px 26px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: border-color .15s, transform .15s;
}
.install-buttons a:hover { border-color: var(--green); transform: translateY(-2px); }
.install-buttons a img { width: 20px; height: 20px; }
.install-footnote {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}

/* Footer - matches homepage footer */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-mute);
  font-size: 13px;
}
footer .meta {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  margin-top: 8px;
}
footer > .container > div > a,
footer .links a {
  color: var(--text-dim);
  margin: 0 12px;
  transition: color 0.2s;
  text-decoration: none;
}
footer > .container > div > a:hover,
footer .links a:hover { color: var(--green); }
footer .social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 20px 0 8px;
}
footer .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  margin: 0;
  transition: all 0.2s;
}
footer .social a:hover {
  background: var(--green-dim);
  border-color: var(--green);
  transform: translateY(-2px);
}
footer .social svg {
  width: 16px;
  height: 16px;
  fill: var(--text-dim);
  transition: fill 0.2s;
}
footer .social a:hover svg { fill: var(--green); }
footer .trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 8px 0 16px;
  opacity: 0.75;
  transition: opacity 0.2s;
}
footer .trust-badges:hover { opacity: 1; }
footer .trust-badges img { height: 40px; width: auto; display: block; }

/* Mobile hamburger menu */
.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  padding: 8px 10px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  flex-shrink: 0;
}
.nav-toggle:hover { border-color: var(--green); background: var(--green-dim); }
.nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; color: var(--text); }
.nav-toggle svg.nav-toggle-open { display: block; }
.nav-toggle svg.nav-toggle-close { display: none; }
.nav-toggle.open svg.nav-toggle-open { display: none; }
.nav-toggle.open svg.nav-toggle-close { display: block; }

/* Narrow screens (tablet + mobile) - hide Install Free CTA (it goes into dropdown), show hamburger */
@media (max-width: 860px) {
  nav { padding: 12px 0; }
  .nav-row { gap: 10px; flex-wrap: nowrap; justify-content: space-between; }
  .nav-toggle { display: inline-flex; }
  .brand { flex-shrink: 1; min-width: 0; }
  .brand-text { font-size: 18px; }
  /* Hide the inline Install Free button on narrow screens - dropdown includes it */
  nav .cta-mini { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5,5,16,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 10px 0 16px;
    z-index: 9;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a[data-nav="cta"] {
    display: block !important;
    margin: 12px 24px 0;
    text-align: center;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--green), #059669);
    color: #fff;
    font-weight: 800;
    border-bottom: none;
  }
}

@media (max-width: 720px) {
  .hero-section { padding: 56px 0 40px; }
  .section { padding: 50px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .step-list .step { padding: 20px 20px 20px 60px; }
  .step-list .step::before { left: 18px; top: 18px; }
  h1 { font-size: 34px; letter-spacing: -1px; }
  .article-body { font-size: 16px; line-height: 1.7; }
  .article-body h2 { font-size: 22px; }
}
