/* ==========================================================================
   LeadGen AI Suite — Marketing Site Design System
   Lead Generation Consulting · 1000x Digital LLC
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,700&family=JetBrains+Mono:wght@400;500;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #0a0a0b;
  --ink-2: #111114;
  --ink-3: #1a1a1f;
  --paper: #ffffff;
  --paper-dim: #e8e8ea;
  --muted: #8a8a92;
  --line: #25252b;
  --line-soft: #1f1f24;
  --blue: #00A8FF;
  --blue-dim: #0086cc;
  --blue-wash: rgba(0, 168, 255, 0.08);
  --blue-glow: rgba(0, 168, 255, 0.25);
  --warn: #ffb547;
  --ok: #4ade80;
  --bad: #ff5470;

  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', monospace;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 22px;
}

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

html, body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

body {
  background-image:
    url('assets/img/bg.png'),
    radial-gradient(800px circle at 12% -8%, var(--blue-wash), transparent 55%),
    radial-gradient(600px circle at 95% 8%, rgba(0, 168, 255, 0.04), transparent 60%);
  background-attachment: fixed;
  background-size: cover, auto, auto;
  background-position: center;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

::selection { background: var(--blue); color: var(--ink); }

img { max-width: 100%; height: auto; }

/* ---------- Layout ---------- */
.shell { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.shell-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }

/* ---------- Top Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0;
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 50;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 19px;
}
.brand img { height: 32px; width: auto; display: block; }

.nav-links {
  display: flex; gap: 8px;
  font-size: 14px;
  color: var(--paper-dim);
  align-items: center;
}
.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all .15s ease;
}
.nav-link:hover { color: var(--paper); background: var(--ink-2); }
.nav-link.active { color: var(--blue); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%; left: 0;
  margin-top: 8px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 280px;
  padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(-4px);
  transition: all .18s ease;
  box-shadow: 0 24px 48px rgba(0,0,0,.4);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-item {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--paper-dim);
}
.nav-dropdown-item:hover { background: var(--ink-3); color: var(--blue); }
.nav-dropdown-item small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all .18s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--blue);
  color: var(--ink);
  font-weight: 600;
}
.btn-primary:hover {
  background: #1ab4ff;
  box-shadow: 0 0 0 4px var(--blue-glow);
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--paper-dim);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-block { width: 100%; justify-content: center; padding: 14px; }
.btn-lg { padding: 14px 24px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 90px;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--blue); }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 400;
  max-width: 16ch;
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--blue); font-weight: 300; }
.hero p.lead {
  font-size: 19px;
  color: var(--paper-dim);
  max-width: 56ch;
  margin-bottom: 40px;
  line-height: 1.5;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.hero-meta .stat {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-meta .stat strong {
  display: block;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 400;
  color: var(--paper);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  text-transform: none;
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; border-top: 1px solid var(--line-soft); }
.section-sm { padding: 70px 0; }
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.section h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.025em;
  max-width: 22ch;
  margin-bottom: 24px;
  line-height: 1.05;
}
.section h2 em { color: var(--blue); font-style: italic; }
.section p.section-lead {
  font-size: 17px;
  color: var(--paper-dim);
  max-width: 60ch;
  margin-bottom: 60px;
  line-height: 1.55;
}

/* ---------- Feature grids ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature {
  background: var(--ink);
  padding: 40px 32px;
  transition: background .25s ease;
}
.feature:hover { background: var(--ink-2); }
.feature-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.15em;
  margin-bottom: 22px;
}
.feature h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.feature p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- Product cards (homepage) ---------- */
.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-card {
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all .22s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0, 168, 255, 0.08);
}
.product-card .product-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.product-card h3 {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.product-card p { color: var(--muted); font-size: 14px; margin-bottom: 24px; flex: 1; }
.product-card .product-link {
  color: var(--blue);
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.product-card .product-link::after { content: ' →'; }

/* ---------- Screenshot placeholders ---------- */
.screenshot {
  background: linear-gradient(135deg, var(--ink-2), var(--ink-3));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.screenshot::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 168, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.screenshot-label {
  position: relative;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--ink);
  padding: 8px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}
.screenshot-tall { aspect-ratio: 4 / 3; }
.screenshot-wide { aspect-ratio: 21 / 9; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testimonial {
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.testimonial-quote {
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--paper);
}
.testimonial-quote em { color: var(--blue); font-style: italic; }
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
}
.testimonial-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.testimonial-meta strong {
  display: block;
  color: var(--paper-dim);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 2px;
}

/* ---------- CTA section ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--ink-2), var(--ink-3));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--blue-wash), transparent 60%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  max-width: 22ch;
  margin-left: auto; margin-right: auto;
  position: relative;
}
.cta-banner p {
  color: var(--paper-dim);
  margin-bottom: 30px;
  max-width: 50ch;
  margin-left: auto; margin-right: auto;
  position: relative;
}
.cta-banner .hero-cta { justify-content: center; position: relative; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 60px;
}
.price-card {
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
}
.price-card.featured {
  border-color: var(--blue);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-3));
}
.price-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -11px; left: 32px;
  background: var(--blue);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}
.price-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.price-name {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.price-blurb { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.price-amount {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.price-amount sup { font-size: 22px; font-weight: 400; vertical-align: 22px; color: var(--muted); margin-right: 4px; }
.price-amount small { font-size: 14px; color: var(--muted); font-family: var(--body); font-weight: 400; }
.price-per { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.price-list { list-style: none; padding: 0; margin: 0 0 28px; }
.price-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--paper-dim);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.price-list li::before {
  content: '+';
  color: var(--blue);
  font-family: var(--mono);
  font-weight: 700;
  flex-shrink: 0;
}
.price-list li:last-child { border-bottom: none; }

/* ---------- Comparison table ---------- */
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cmp-table th, .cmp-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
.cmp-table th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  background: var(--ink-3);
}
.cmp-table th.highlight {
  color: var(--blue);
  background: rgba(0, 168, 255, 0.05);
}
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table td:first-child {
  font-weight: 500;
  color: var(--paper);
  font-family: var(--body);
}
.cmp-yes { color: var(--ok); font-family: var(--mono); }
.cmp-no { color: var(--muted); font-family: var(--mono); }
.cmp-partial { color: var(--warn); font-family: var(--mono); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-soft); }
.faq-item {
  border-bottom: 1px solid var(--line-soft);
  padding: 24px 0;
}
.faq-item summary {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--mono);
  font-size: 24px;
  color: var(--blue);
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 14px;
  color: var(--paper-dim);
  font-size: 15px;
  line-height: 1.6;
  max-width: 70ch;
}

/* ---------- About / story ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.story-grid h2 { margin-bottom: 24px; }
.story-grid p { color: var(--paper-dim); margin-bottom: 18px; font-size: 16px; line-height: 1.65; }
.story-grid p:last-child { margin-bottom: 0; }

.founder-card {
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: center;
}
.founder-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dim));
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 48px;
  color: var(--ink);
  font-weight: 500;
}
.founder-card h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.founder-card .founder-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.founder-card p { color: var(--paper-dim); font-size: 15px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
}
.value h4 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--paper);
}
.value h4::before {
  content: '— ';
  color: var(--blue);
}
.value p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--paper);
  font-size: 14px;
  transition: border-color .15s ease, background .15s ease;
}
.field textarea { resize: vertical; min-height: 130px; font-family: var(--body); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--ink-3);
  box-shadow: 0 0 0 3px var(--blue-wash);
}
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }

.info-block { margin-bottom: 32px; }
.info-block h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.info-block p, .info-block a {
  color: var(--paper-dim);
  font-size: 15px;
  line-height: 1.5;
}
.info-block a:hover { color: var(--blue); }

/* ---------- Blog ---------- */
.blog-hero {
  padding: 80px 0 40px;
}
.blog-categories {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 60px;
}
.blog-category {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--paper-dim);
  transition: all .15s ease;
}
.blog-category:hover, .blog-category.active {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-wash);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .22s ease;
  display: flex; flex-direction: column;
}
.blog-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}
.blog-card .screenshot { border-radius: 0; border: none; border-bottom: 1px solid var(--line-soft); aspect-ratio: 16 / 9; }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex; gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.blog-meta .blog-tag { color: var(--blue); }
.blog-card h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  line-height: 1.2;
  flex: 1;
}
.blog-card p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}
.blog-card .read-more {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ---------- Blog post ---------- */
.post-header { padding: 80px 0 40px; }
.post-meta-top {
  display: flex; gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.post-meta-top .post-tag { color: var(--blue); }
.post-header h1 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 22ch;
  margin-bottom: 24px;
}
.post-deck {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.5;
  font-weight: 300;
  color: var(--paper-dim);
  max-width: 60ch;
  margin-bottom: 40px;
}
.post-hero-image { margin-bottom: 60px; }

.post-body { font-size: 17px; line-height: 1.7; color: var(--paper-dim); }
.post-body h2 {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 48px 0 18px;
  line-height: 1.2;
}
.post-body h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--paper);
  margin: 36px 0 14px;
}
.post-body p { margin-bottom: 22px; }
.post-body ul, .post-body ol { margin: 0 0 22px 22px; }
.post-body li { margin-bottom: 8px; }
.post-body blockquote {
  border-left: 3px solid var(--blue);
  padding: 8px 24px;
  margin: 32px 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  color: var(--paper);
  line-height: 1.4;
}
.post-body a { color: var(--blue); border-bottom: 1px solid currentColor; }
.post-body code {
  font-family: var(--mono);
  background: var(--ink-2);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 14px;
  color: var(--blue);
}

.author-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  padding: 28px;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  margin: 60px 0;
}
.author-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--blue);
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 24px;
  color: var(--ink);
}
.author-card h4 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.author-card .author-bio {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Use case / pillar / two-col ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col.reverse > div:first-child { order: 2; }

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.kpi-row .kpi-block {
  border-left: 2px solid var(--blue);
  padding-left: 16px;
}
.kpi-row .kpi-block strong {
  display: block;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.kpi-row .kpi-block span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Workflow diagram (static placeholder) ---------- */
.workflow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  align-items: stretch;
  margin: 40px 0;
}
.workflow-step {
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  padding: 28px 22px;
  position: relative;
}
.workflow-step:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.workflow-step:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.workflow-step:not(:first-child) { border-left: none; }
.workflow-step::after {
  content: '→';
  position: absolute;
  right: -10px; top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px;
  color: var(--blue);
  z-index: 1;
  border: 1px solid var(--line-soft);
}
.workflow-step:last-child::after { display: none; }
.workflow-step .step-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--blue);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.workflow-step h4 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.workflow-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Related posts ---------- */
.related-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* ---------- TOC ---------- */
.toc {
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 40px;
}
.toc .toc-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.toc ol {
  list-style: none;
  padding: 0;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
  padding: 6px 0;
  font-size: 14px;
}
.toc li::before {
  content: counter(toc, decimal-leading-zero) "  ";
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
}
.toc a { color: var(--paper-dim); }
.toc a:hover { color: var(--blue); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 80px 0 40px;
  margin-top: 80px;
  background: rgba(10, 10, 11, 0.4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 16px;
  max-width: 28ch;
  line-height: 1.55;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--paper-dim);
  font-size: 14px;
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.footer-bottom-links { display: flex; gap: 24px; }

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .7s ease both; }
.fade-up:nth-child(2) { animation-delay: .08s; }
.fade-up:nth-child(3) { animation-delay: .16s; }
.fade-up:nth-child(4) { animation-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { padding: 64px 0 48px; }
  .feature-grid, .feature-grid.cols-2,
  .product-cards, .testimonial-grid, .pricing-grid,
  .blog-grid, .related-posts { grid-template-columns: 1fr; }
  .two-col, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse > div:first-child { order: 0; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .workflow { grid-template-columns: 1fr; }
  .workflow-step { border-radius: var(--radius) !important; border: 1px solid var(--line-soft) !important; margin-bottom: 8px; }
  .workflow-step::after { display: none; }
  .section, .footer { padding: 60px 0; }
  .cta-banner { padding: 40px 24px; }
  .founder-card { grid-template-columns: 1fr; text-align: center; }
  .founder-avatar { margin: 0 auto; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 18px; align-items: flex-start; }
  .shell, .shell-narrow { padding: 0 20px; }
  .cmp-table { font-size: 13px; }
  .cmp-table th, .cmp-table td { padding: 12px 14px; }
}

/* ---------- Mobile menu open state ---------- */
.nav-mobile-open .nav-links {
  display: flex !important;
  position: absolute;
  top: 100%; left: 0; right: 0;
  flex-direction: column;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
  padding: 16px;
  gap: 4px;
}
.nav-mobile-open .nav-dropdown-menu {
  position: static;
  opacity: 1; visibility: visible;
  transform: none;
  margin-top: 4px;
  box-shadow: none;
}
