/* ============================================================
   Voltr Blog stylesheet — matches pitch deck aesthetic
   Light cream bg, heavy black display, italic green accent,
   subtle green halo gradients, white cards.
   ============================================================ */

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

:root {
  --volt: #54d74d;
  --volt-dark: #40a43b;
  --volt-dim: rgba(84,215,77,0.10);
  --volt-glow: rgba(84,215,77,0.22);

  --bg: #f5f4f1;
  --bg-card: #ffffff;
  --bg-soft: #faf9f6;

  --text: #1a1a1a;
  --text-2: #4a5258;
  --text-3: #868c91;
  --text-muted: #b4b8bc;

  --border: rgba(26,26,26,0.08);
  --border-2: rgba(26,26,26,0.14);

  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 24px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --display: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --italic: 'Instrument Sans', Georgia, serif;
  --mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --shadow-sm: 0 1px 2px rgba(26,26,26,0.04);
  --shadow-md: 0 2px 6px rgba(26,26,26,0.05), 0 1px 3px rgba(26,26,26,0.04);
  --shadow-lg: 0 8px 30px rgba(26,26,26,0.06), 0 2px 8px rgba(26,26,26,0.04);
}

html, body {
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle green halo behind the page — pulled from the deck */
body {
  background-image:
    radial-gradient(ellipse 60% 50% at 75% 0%, var(--volt-glow) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 15% 30%, rgba(84,215,77,0.06) 0%, transparent 55%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Top nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: rgba(245,244,241,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: 18px;
  color: var(--text);
}
.nav-breadcrumb-sep {
  color: var(--text-3);
  font-weight: 400;
  margin: 0 -2px 0 4px;
  opacity: 0.5;
}
.nav-breadcrumb-current {
  color: var(--text-2);
  font-weight: 500;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 0.15s;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-cta {
  background: var(--volt);
  color: #0c1a0c;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 2px rgba(64,164,59,0.18);
}
.nav-cta:hover { background: #6ce865; box-shadow: 0 2px 6px rgba(64,164,59,0.22); }

/* ── Mobile nav ── */
@media (max-width: 720px) {
  .nav {
    padding: 12px 16px;
    gap: 8px;
  }
  .nav-logo {
    font-size: 16px;
    gap: 6px;
    flex-shrink: 0;
  }
  /* Hide the breadcrumb on mobile — the bolt + "Voltr" wordmark is
     enough; the "← getvoltr.com" link in nav-right does the back-affordance.
     Was colliding with the right-side links on small viewports. */
  .nav-breadcrumb-sep,
  .nav-breadcrumb-current { display: none; }
  .nav-right { gap: 12px; }
  .nav-link {
    font-size: 13px;
    white-space: nowrap;
  }
  /* Hide the secondary "Pricing" link on the smallest viewports — keep
     getvoltr.com (back affordance) + Open App (primary CTA). */
  .nav-right .nav-link[href="/#pricing"] { display: none; }
  .nav-cta {
    padding: 7px 14px;
    font-size: 13px;
  }
}
@media (max-width: 380px) {
  /* Ultra-narrow phones: shrink the back link too */
  .nav-link { font-size: 12px; }
}

/* ── Eyebrow (mono uppercase tag, used in deck) ── */
.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--volt-dark);
  font-weight: 600;
  margin-bottom: 24px;
}

/* ── Hero ── */
.hero {
  padding: 72px 32px 48px;
}
.hero-inner {
  max-width: 920px;
  margin: 0 auto;
}
.hero-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  color: var(--text);
  text-transform: uppercase;
}
.hero-title em {
  font-family: var(--italic);
  font-style: italic;
  font-weight: 500;
  color: var(--volt);
  letter-spacing: -0.02em;
  text-transform: none;
}
.hero-sub {
  color: var(--text-2);
  font-size: 19px;
  line-height: 1.55;
  max-width: 640px;
  font-weight: 400;
}

/* ── Post list ── */
.post-list {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px 96px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-shadow: var(--shadow-sm);
}
.post-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-md);
}
.post-card.featured {
  position: relative;
  overflow: hidden;
}
.post-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, var(--volt-dim) 0%, transparent 55%);
  pointer-events: none;
}
.post-link { display: block; position: relative; z-index: 1; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}
.post-tag {
  color: var(--volt-dark);
  background: var(--volt-dim);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.post-date { color: var(--text-3); }
.post-title {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}
.post-excerpt {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 22px;
  font-weight: 400;
}
.post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.post-read { color: var(--text-3); }
.post-arrow {
  color: var(--volt-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.empty-state {
  padding: 28px;
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
  border: 1px dashed var(--border-2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.4);
}

/* ── Article layout ── */
.article {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 32px 96px;
}
@media (max-width: 720px) {
  .article { padding: 32px 20px 64px; }
  .article-title { font-size: clamp(34px, 9vw, 44px) !important; letter-spacing: -0.035em; line-height: 0.98; }
  .article-deck { font-size: 16px; margin-bottom: 28px; padding-bottom: 28px; }
  .article-meta { font-size: 10px; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
  .article-body { font-size: 16px; line-height: 1.65; }
  .article-body h2 { font-size: clamp(24px, 6vw, 32px) !important; margin-top: 44px; }
  .article-body h3 { font-size: 19px; }
  .tool { padding: 22px 18px; margin: 22px 0; }
  .tool-name { font-size: 28px; }
  .tool-grid { gap: 18px; }
  .tool-pricing { gap: 14px 20px; font-size: 13px; }
  .tldr { padding: 20px 22px; }
  .tldr p { font-size: 15px; line-height: 1.55; }
  .cmp-table th, .cmp-table td { padding: 10px 12px; font-size: 13px; }
  .article-cta { padding: 32px 22px; margin-top: 48px; }
  .article-cta h3 { font-size: clamp(22px, 6vw, 28px) !important; }
  .article-cta p { font-size: 14px; }
}
@media (max-width: 720px) {
  .hero { padding: 40px 20px 32px; }
  .hero-title { font-size: clamp(36px, 9vw, 48px) !important; letter-spacing: -0.035em; }
  .hero-sub { font-size: 16px; }
  .post-list { padding: 0 20px 64px; }
  .post-card { padding: 24px 22px; }
  .post-title { font-size: clamp(22px, 6vw, 28px) !important; }
  .post-excerpt { font-size: 14px; }
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 26px;
}
.article-meta .post-tag {
  color: var(--volt-dark);
  background: var(--volt-dim);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.article-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(44px, 6.4vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--text);
}
.article-title em {
  font-family: var(--italic);
  font-style: italic;
  font-weight: 500;
  color: var(--volt);
  letter-spacing: -0.02em;
  text-transform: none;
}
.article-deck {
  color: var(--text-2);
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
}
.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-2);
}
.article-body > * + * { margin-top: 22px; }
.article-body h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 40px);
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 64px;
  margin-bottom: 20px;
  line-height: 1.02;
}
.article-body h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 10px;
}
.article-body h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--volt-dark);
  margin-top: 26px;
  margin-bottom: 8px;
  font-weight: 600;
}
.article-body p { color: var(--text-2); }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body em { font-style: italic; }
.article-body a {
  color: var(--volt-dark);
  font-weight: 500;
  border-bottom: 1px solid rgba(64,164,59,0.32);
  transition: border-color 0.15s;
}
.article-body a:hover { border-bottom-color: var(--volt-dark); }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li { margin-top: 6px; color: var(--text-2); }
.article-body blockquote {
  border-left: 3px solid var(--volt);
  padding: 4px 0 4px 22px;
  margin: 28px 0;
  color: var(--text);
  font-family: var(--italic);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
}
.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 56px 0;
}

/* ── Comparison table ── */
.cmp-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 32px 0;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}
.cmp-table th,
.cmp-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.cmp-table th {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  font-weight: 600;
  background: var(--bg-soft);
}
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table .cmp-name { font-weight: 600; color: var(--text); font-family: var(--font); }
.cmp-table .cmp-yes { color: var(--volt-dark); font-weight: 600; }
.cmp-table .cmp-no { color: #d63b3b; font-weight: 600; }
.cmp-table .cmp-mid { color: #c08a00; font-weight: 600; }
.cmp-table .cmp-row-voltr { background: var(--volt-dim); }
.cmp-table .cmp-row-voltr .cmp-name { color: var(--volt-dark); }

/* ── Tool / vendor card ── */
.tool {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}
.tool.is-voltr {
  border-color: rgba(84,215,77,0.30);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}
.tool.is-voltr::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 100% 0%, var(--volt-dim) 0%, transparent 60%);
  pointer-events: none;
}
.tool > * { position: relative; z-index: 1; }
.tool-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.tool-rank {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.tool-name {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--text);
  text-transform: uppercase;
  line-height: 1;
}
.tool.is-voltr .tool-name { color: var(--volt-dark); }
.tool-best-for {
  color: var(--text-3);
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 500;
}
.tool-best-for strong { color: var(--text); font-weight: 600; }
.tool-overview {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media(max-width: 640px) { .tool-grid { grid-template-columns: 1fr; } }
.tool-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
  font-weight: 600;
}
.tool-col.strengths h4 { color: var(--volt-dark); }
.tool-col.weaknesses h4 { color: #b9554f; }
.tool-col ul { list-style: none; padding-left: 0; }
.tool-col li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
  padding-left: 20px;
  position: relative;
  margin-top: 7px;
}
.tool-col li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}
.tool-col.strengths li::before { content: '+'; color: var(--volt-dark); }
.tool-col.weaknesses li::before { content: '−'; color: #b9554f; }
.tool-pricing {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  font-size: 14px;
  color: var(--text);
}
.tool-pricing div strong {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 4px;
  font-weight: 600;
  font-family: var(--mono);
}
.tool-verdict {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border-left: 3px solid var(--volt);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}
.tool-verdict strong { color: var(--text); }

/* ── Chart container — modeled on the deck's white revenue-card panel ── */
.chart {
  margin: 36px 0;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.chart-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
  font-weight: 600;
}
.chart-bar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 13px;
}
.chart-bar-label {
  width: 130px;
  flex-shrink: 0;
  color: var(--text);
  font-weight: 500;
}
.chart-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(26,26,26,0.05);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}
.chart-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--volt-dark), var(--volt));
  border-radius: 99px;
  transition: width 0.4s ease;
}
.chart-bar-fill.muted {
  background: rgba(26,26,26,0.16);
}
.chart-bar-val {
  width: 78px;
  flex-shrink: 0;
  text-align: right;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}
.chart-note {
  color: var(--text-3);
  font-size: 12px;
  margin-top: 16px;
  line-height: 1.55;
}

/* ── TL;DR / callout ── */
.tldr {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.tldr::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 0% 100%, var(--volt-dim) 0%, transparent 55%);
  pointer-events: none;
}
.tldr > * { position: relative; z-index: 1; }
.tldr-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--volt-dark);
  margin-bottom: 12px;
  font-weight: 700;
}
.tldr p {
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}
.tldr p strong { font-weight: 600; }
.tldr p + p { margin-top: 12px; }

/* ── CTA box at end of article ── */
.article-cta {
  margin-top: 72px;
  padding: 44px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.article-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 0%, var(--volt-dim) 0%, transparent 60%);
  pointer-events: none;
}
.article-cta > * { position: relative; z-index: 1; }
.article-cta h3 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.05;
}
.article-cta p {
  color: var(--text-2);
  margin-bottom: 22px;
  font-size: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.article-cta-btn {
  display: inline-block;
  background: linear-gradient(180deg, #3ea838 0%, #2d7d29 100%);
  color: #ffffff !important;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 15px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.28);
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.20), inset 0 -2px 0 rgba(0,0,0,0.18), 0 3px 0 #1f561d, 0 6px 16px rgba(64,164,59,0.28);
}
.article-cta-btn:hover {
  background: linear-gradient(180deg, #54d74d 0%, #3ea838 100%);
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.30), inset 0 -2px 0 rgba(0,0,0,0.20), 0 4px 0 #2d6b2a, 0 8px 22px rgba(64,164,59,0.34);
  transform: translateY(-1px);
}
.article-cta-btn:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), inset 0 -2px 0 rgba(0,0,0,0.18), 0 1px 0 #2d6b2a, 0 2px 8px rgba(64,164,59,0.18);
}

/* ── Footer ── */
.site-footer {
  background: var(--text);
  color: #d8d8d4;
  padding: 56px 32px 40px;
  margin-top: 0;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  align-items: center;
  gap: 28px;
}
@media(max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: 17px;
  color: #fff;
}
.footer-logo img { width: 22px; height: 22px; }
.footer-links, .footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
@media(max-width: 760px) {
  .footer-links, .footer-legal { justify-content: center; }
}
.footer-links a, .footer-legal a {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  transition: color 0.15s;
}
.footer-links a:hover, .footer-legal a:hover { color: #fff; }
.footer-copy {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  margin-top: 24px;
  grid-column: 1 / -1;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 20px;
}
