/**
 * vanta.css — Shared B&W styles for all Vanta product pages.
 * Brand: Vanta by Folner — premium monochrome identity.
 * No accent colors. No gradients. Pure black and white.
 */

/* ─── Tokens ─── */
:root {
  --ink:        #0F172A;   /* Near-black: primary text, headings, icons, CTA bg */
  --ink-mid:    #334155;   /* Secondary text */
  --ink-muted:  #64748B;   /* Meta text, labels */
  --surface:    #FFFFFF;
  --surface-1:  #F8FAFC;   /* Subtle background tint */
  --surface-2:  #F1F5F9;   /* Card hover, pressed */
  --border:     #E2E8F0;
  --border-mid: #CBD5E1;
  --danger:     #BF3003;   /* Error, destructive — non-negotiable semantic */
  --warning:    #EFA500;   /* Warning — non-negotiable semantic */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-pill: 9999px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Base ─── */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a:hover { opacity: 0.75; }

/* ─── Vanta Nav ─── */
.v-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.v-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

/* B&W brand icon — black square with white V */
.v-nav-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.v-nav-icon svg { width: 18px; height: 18px; }

.v-nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.v-nav-links a { text-decoration: none; color: var(--ink-mid); font-size: 0.9375rem; font-weight: 500; padding: 0.5rem 0.75rem; border-radius: var(--radius-sm); transition: background 0.15s, color 0.15s; }
.v-nav-links a:hover { background: var(--surface-2); color: var(--ink); opacity: 1; }

.v-nav-cta {
  background: var(--ink);
  color: #FFFFFF;
  padding: 0.5625rem 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background 0.15s, transform 0.08s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.v-nav-cta:hover { background: #1E293B; transform: translateY(-1px); opacity: 1; }

/* ─── Hero ─── */
.v-hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
  text-align: center;
}

.v-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--surface-1);
  color: var(--ink-mid);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3125rem 0.875rem;
  border-radius: var(--radius-pill);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.v-hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.v-hero-desc {
  font-size: 1.25rem;
  color: var(--ink-mid);
  max-width: 560px;
  margin: 0 auto 2.75rem;
}

.v-hero-actions { display: flex; gap: 0.875rem; justify-content: center; flex-wrap: wrap; }

/* ─── Buttons ─── */
.v-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: #FFFFFF;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.15s, transform 0.08s;
  box-shadow: 0 2px 8px rgba(15,23,42,0.18);
}
.v-btn-primary:hover { background: #1E293B; transform: translateY(-1px); opacity: 1; }

.v-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--ink);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--border-mid);
  transition: border-color 0.15s, background 0.15s;
}
.v-btn-ghost:hover { border-color: var(--ink); background: var(--surface-1); opacity: 1; }

/* ─── Stats Strip ─── */
.v-stats {
  background: var(--ink);
  color: #FFFFFF;
  padding: 2.5rem 2rem;
}
.v-stats-inner { max-width: 960px; margin: 0 auto; display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap; }
.v-stat { text-align: center; }
.v-stat-number { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; display: block; }
.v-stat-label { font-size: 0.8125rem; opacity: 0.65; font-weight: 500; margin-top: 0.25rem; }

/* ─── Features Grid ─── */
.v-features { max-width: 960px; margin: 0 auto; padding: 5rem 2rem; }
.v-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 3rem; }

.v-feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.v-feature-card:hover { border-color: var(--border-mid); box-shadow: 0 4px 16px rgba(15,23,42,0.06); }

.v-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.v-feature-icon svg { width: 22px; height: 22px; }

.v-feature-card h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.625rem; letter-spacing: -0.01em; }
.v-feature-card p { color: var(--ink-muted); font-size: 0.9375rem; line-height: 1.6; }

/* ─── Section headings ─── */
.v-section-tag {
  display: inline-block;
  background: var(--surface-1);
  border: 1px solid var(--border);
  color: var(--ink-mid);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.v-section-h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1rem;
}

.v-section-desc { font-size: 1.125rem; color: var(--ink-mid); max-width: 560px; margin-bottom: 2rem; }

/* ─── List item (feature checkmarks) ─── */
.v-check-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.v-check-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9375rem; color: var(--ink-mid); }
.v-check-list li::before { content: '✓'; font-weight: 700; color: var(--ink); flex-shrink: 0; margin-top: 0.1em; }

/* ─── CTA Banner ─── */
.v-cta-banner {
  background: var(--ink);
  color: #FFFFFF;
  padding: 5rem 2rem;
  text-align: center;
}
.v-cta-banner h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; }
.v-cta-banner p { opacity: 0.7; font-size: 1.125rem; margin-bottom: 2.5rem; }
.v-cta-banner .v-btn-primary { background: #FFFFFF; color: var(--ink); box-shadow: none; }
.v-cta-banner .v-btn-primary:hover { background: var(--surface-2); }

/* ─── Footer ─── */
.v-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2.5rem;
}
.v-footer-inner { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 768px) { .v-footer-inner { grid-template-columns: 1fr 1fr; } .v-nav-links { display: none; } }
@media (max-width: 480px) { .v-footer-inner { grid-template-columns: 1fr; } }

.v-footer-brand { font-weight: 700; font-size: 1rem; margin-bottom: 0.625rem; display: flex; align-items: center; gap: 0.5rem; }
.v-footer-tagline { font-size: 0.875rem; color: var(--ink-muted); margin-bottom: 1.25rem; }
.v-footer h4 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.875rem; }
.v-footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.v-footer a { text-decoration: none; font-size: 0.9375rem; color: var(--ink-mid); transition: color 0.15s; }
.v-footer a:hover { color: var(--ink); opacity: 1; }
.v-footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; margin-top: 2.5rem; max-width: 960px; margin-left: auto; margin-right: auto; font-size: 0.8125rem; color: var(--ink-muted); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ─── Page-level layouts ─── */
.v-container { max-width: 860px; margin: 4rem auto; padding: 0 2rem 6rem; }
.v-container-sm { max-width: 720px; margin: 4rem auto; padding: 0 2rem 6rem; }

/* ─── Page hero (non-home pages) ─── */
.v-page-hero { background: var(--ink); padding: 4.5rem 2rem 3.5rem; text-align: center; color: #FFFFFF; }
.v-page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; }
.v-page-hero p { opacity: 0.7; font-size: 1.0625rem; max-width: 480px; margin: 0.875rem auto 0; }

/* ─── Cards grid ─── */
.v-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-bottom: 3.5rem; }
.v-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; background: var(--surface); }
.v-card-icon { font-size: 1.625rem; margin-bottom: 0.875rem; }
.v-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.375rem; }
.v-card p { color: var(--ink-muted); font-size: 0.875rem; margin-bottom: 0.875rem; }
.v-card a { color: var(--ink); font-size: 0.875rem; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--border-mid); padding-bottom: 1px; transition: border-color 0.15s; }
.v-card a:hover { border-color: var(--ink); }

/* ─── FAQ accordion ─── */
.v-faq { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 3.5rem; }
.v-faq-item { border-bottom: 1px solid var(--border); }
.v-faq-item:last-child { border-bottom: none; }
.v-faq-question { padding: 1.25rem 1.5rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 0.9375rem; }
.v-faq-question:hover { background: var(--surface-1); }
.v-faq-answer { padding: 0 1.5rem 1.25rem; color: var(--ink-mid); font-size: 0.9375rem; line-height: 1.65; }

/* ─── Legal / Policy pages ─── */
.v-prose h2 { font-size: 1.25rem; font-weight: 700; margin: 2.5rem 0 0.75rem; letter-spacing: -0.01em; }
.v-prose h3 { font-size: 1rem; font-weight: 700; margin: 1.75rem 0 0.5rem; }
.v-prose p, .v-prose li { color: var(--ink-mid); font-size: 0.9375rem; line-height: 1.7; }
.v-prose ul, .v-prose ol { padding-left: 1.5rem; margin: 0.75rem 0; }
.v-prose li { margin-bottom: 0.375rem; }
.v-prose a { color: var(--ink); font-weight: 500; }
.v-prose strong { color: var(--ink); font-weight: 600; }
.v-last-updated { font-size: 0.8125rem; color: var(--ink-muted); margin-bottom: 2.5rem; }
