/* ── Design tokens ──────────────────────────────────────────── */
:root {
  --bg:        #ffffff;

  --ink-1:     #030712;
  --ink-2:     #111827;
  --ink-3:     #1f2937;
  --ink-4:     #4b5563;
  --ink-5:     #6b7280;
  --ink-6:     #9ca3af;

  --ink:       var(--ink-2);
  --gray-1:    var(--ink-4);
  --gray-2:    var(--ink-4);
  --gray-3:    var(--ink-4);
  --gray-4:    var(--ink-6);
  --gray-5:    var(--ink-6);
  --line-1:    rgba(0, 0, 0, 0.1);
  --line-2:    #f0f0f4;
  --line-3:    #e2e2e6;
  --line-4:    #e8e8ec;
  --blue:      #2f66f5;
  --blue-dark: #1a49eb;
  --blue-top:  #3d6dff;
  --blue-tab:  #204fee;

  --sans: 'Inter Tight', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --w-medium: 450;
  --w-mono:   350;
  --w-light:  350;
}
@media (max-width: 760px) {
  :root {
    --w-medium: 500;
    --w-mono:   400;
    --w-light:  400;
  }
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scrollbar-gutter: stable; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p, li, blockquote, figcaption, dd { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
img { display: block; max-width: 100%; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
}

/* ── Header ─────────────────────────────────────────────────── */
.header { padding: 20px 0; position: relative; z-index: 10; }
.header-inner {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.header-logo { display: inline-flex; align-items: center; }
.header-logo img { height: 28px; width: auto; display: block; }
.header-tabs {
  display: flex;
  gap: 16px;
  align-items: center;
}
.header-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-2);
  font-size: 14px;
  font-weight: var(--w-light);
  letter-spacing: -0.07px;
  line-height: 1;
}
.header-tab .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-tab);
  display: inline-block;
  visibility: hidden;
  opacity: 0;
}
.header-tab.active { color: var(--ink); }
.header-tab.active .dot { visibility: visible; opacity: 1; }
.header-tab:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer-inner {
  height: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.footer-copy {
  font-size: 16px;
  font-weight: var(--w-light);
  color: var(--ink-2);
  letter-spacing: 0.3px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: center;
}
.footer-nav a {
  font-size: 16px;
  font-weight: var(--w-light);
  color: var(--ink-3);
  letter-spacing: 0.3px;
  line-height: 24px;
}
.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
}
.footer-social a {
  width: 32px;
  height: 32px;
  border: 0.5px solid rgba(0, 0, 0, 0.10);
  border-radius: 8px;
  background: #fff;
  color: var(--gray-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 1px 1px rgba(20, 18, 15, 0.03);
  transition: border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 140ms cubic-bezier(0.2, 0, 0, 1);
}
.footer-social a:hover {
  border-color: rgba(0, 0, 0, 0.18);
  color: var(--ink-3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 2px 4px rgba(20, 18, 15, 0.06);
}
.footer-social a:active { transform: scale(0.96); }
.footer-social svg { width: 14px; height: 14px; display: block; }

/* ── Blog index: post list ──────────────────────────────────── */
.blog-header {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--line-1);
}
.blog-header h1 {
  font-size: 28px;
  font-weight: var(--w-medium);
  color: var(--ink-1);
  letter-spacing: -0.3px;
}
.blog-list { margin: 0 0 120px; }
.blog-list-empty {
  padding: 56px 0;
  color: var(--ink-5);
  font-size: 15px;
}
.post-card {
  display: block;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-1);
  text-decoration: none;
}
.post-card:hover .post-card-title { color: var(--blue); }
.post-meta {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: var(--w-mono);
  color: var(--ink-5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.post-card-title {
  font-size: 18px;
  font-weight: var(--w-medium);
  color: var(--ink-1);
  letter-spacing: -0.1px;
  line-height: 1.3;
  margin-bottom: 6px;
  transition: color 160ms ease;
}
.post-excerpt {
  font-size: 14px;
  color: var(--ink-4);
  line-height: 22px;
  font-weight: var(--w-light);
}

/* ── Blog post: prose ───────────────────────────────────────── */
.blog-prose {
  margin: 48px 0 120px;
  font-size: 16px;
  line-height: 28px;
  color: var(--ink-3);
  font-weight: var(--w-light);
}
.blog-prose > .post-meta { margin-bottom: 12px; }
.blog-prose h1 {
  font-size: 36px;
  font-weight: var(--w-medium);
  color: var(--ink-1);
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin-bottom: 32px;
}
.blog-prose h2 {
  font-size: 22px;
  font-weight: var(--w-medium);
  color: var(--ink-2);
  letter-spacing: -0.15px;
  margin-top: 48px;
  margin-bottom: 12px;
}
.blog-prose h3 {
  font-size: 17px;
  font-weight: var(--w-medium);
  color: var(--ink-3);
  margin-top: 32px;
  margin-bottom: 8px;
}
.blog-prose p { margin-bottom: 20px; }
.blog-prose p:last-child { margin-bottom: 0; }
.blog-prose a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(47, 102, 245, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 160ms ease;
}
.blog-prose a:hover { text-decoration-color: var(--blue); }
.blog-prose ul,
.blog-prose ol { padding-left: 24px; margin-bottom: 20px; }
.blog-prose li { margin-bottom: 6px; }
.blog-prose code {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--line-2);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ink-3);
}
.blog-prose pre {
  background: #0c0d12;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 20px;
  overflow-x: auto;
}
.blog-prose pre code {
  background: none;
  padding: 0;
  font-size: 13px;
  color: #d6d7dc;
  line-height: 1.7;
}
.blog-prose blockquote {
  border-left: 2px solid var(--line-3);
  padding-left: 20px;
  color: var(--ink-4);
  font-style: italic;
  margin: 24px 0;
}

/* ── Blog post: article structure ──────────────────────────── */
.post {
  max-width: 640px;
  margin: 48px auto 120px;
  padding: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  font-weight: var(--w-light);
}

.post-header {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-1);
  margin-bottom: 40px;
}
.post-header h1 {
  font-size: 36px;
  font-weight: var(--w-medium);
  color: var(--ink-1);
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin: 12px 0;
}
.post-lede {
  font-size: 19px;
  color: var(--ink-4);
  line-height: 1.5;
  margin-top: 16px;
}

.post-body h2 {
  font-size: 24px;
  font-weight: var(--w-medium);
  color: var(--ink-1);
  margin: 48px 0 16px;
  letter-spacing: -0.2px;
}
.post-body h3 {
  font-size: 18px;
  font-weight: var(--w-medium);
  color: var(--ink-1);
  margin: 32px 0 12px;
}
.post-body p,
.post-body ul,
.post-body ol { margin-bottom: 16px; }
.post-body a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(47, 102, 245, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 160ms ease;
}
.post-body a:hover { text-decoration-color: var(--blue); }
.post-body ul,
.post-body ol { padding-left: 24px; }
.post-body li { margin-bottom: 8px; }

.post-cta {
  background: var(--line-2);
  border-left: 3px solid var(--blue);
  padding: 20px 24px;
  margin: 40px 0;
  border-radius: 4px;
}
.cta-link {
  display: inline-block;
  color: var(--blue);
  font-weight: var(--w-medium);
  margin-top: 8px;
  text-decoration: underline;
  text-decoration-color: rgba(47, 102, 245, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 160ms ease;
}
.cta-link:hover { text-decoration-color: var(--blue); }

.faq {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line-1);
}
.faq h3 {
  font-size: 18px;
  font-weight: var(--w-medium);
  color: var(--ink-1);
  margin: 32px 0 12px;
}
.faq h3:first-child { margin-top: 24px; }

.post-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line-1);
  font-size: 14px;
  color: var(--ink-5);
}
.post-byline {
  font-size: 14px;
  color: var(--ink-5);
  margin-bottom: 8px;
}
.post-byline a {
  color: var(--ink-5);
  text-decoration: underline;
  text-decoration-color: rgba(107, 114, 128, 0.4);
  text-underline-offset: 3px;
}
.post-back a {
  color: var(--ink-3);
  transition: color 160ms ease;
}
.post-back a:hover { color: var(--blue); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .header-tabs { gap: 14px; }
  .header-tab { font-size: 14px; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; height: auto; padding: 32px 0; text-align: center; }
  .footer-nav, .footer-social { justify-content: center; }
  .footer-social a { width: 44px; height: 44px; border-radius: 10px; }
  .footer-social svg { width: 18px; height: 18px; }
  .blog-prose h1 { font-size: 28px; }
  .blog-prose h2 { font-size: 20px; }
}
/* ---------- Append to blog.css ---------- */
/* Tables in posts (used in Tiger Global, VC Intake Stack, and other articles) */

.post-table-wrap {
  margin: 1.5rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.post-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}

.post-table thead th {
  text-align: left;
  font-weight: 500;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--border, #e5e7eb);
  background: var(--surface-muted, #fafafa);
  color: var(--text, #111);
}

.post-table tbody td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--border, #f0f0f0);
  vertical-align: top;
  color: var(--text, #222);
}

.post-table tbody tr:last-child td {
  border-bottom: none;
}

/* Inline code in tables */
.post-table code {
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
}

/* Code blocks in post bodies (used in cold-email-VC and data-room articles) */
.post-body pre {
  background: var(--surface-muted, #f6f7f8);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 6px;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 1.25rem 0;
}

.post-body code {
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: var(--surface-muted, #f6f7f8);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

.post-body pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: 1em;
}
/* ---------- Append to blog.css ---------- */
/* GEO sweep additions (May 2026)
   Adds styles for: breadcrumbs, TL;DR aside, related guides.
   Note: table + code block styles were already added in the original blog patch. */

/* Breadcrumbs */
.post-breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted, #6b7280);
  margin: 1.5rem 0 0;
  letter-spacing: 0.02em;
}

.post-breadcrumbs a {
  color: var(--muted, #6b7280);
  text-decoration: none;
}

.post-breadcrumbs a:hover {
  color: var(--text, #111);
  text-decoration: underline;
}

.post-breadcrumbs [aria-current="page"] {
  color: var(--text, #111);
}

/* TL;DR aside — extractable quick-answer block for AI engines */
.post-tldr {
  margin: 1.5rem 0 2rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface-muted, #fafafa);
  border-left: 3px solid var(--accent, #2563eb);
  border-radius: 4px;
}

.post-tldr-label {
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent, #2563eb);
  margin: 0 0 0.4rem;
}

.post-tldr-body {
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
  color: var(--text, #1f2937);
}

/* Related guides — internal linking for topic-cluster authority */
.related {
  margin: 2.5rem 0 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border, #e5e7eb);
  border-bottom: 1px solid var(--border, #e5e7eb);
}

.related h2 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 1rem;
  color: var(--text, #111);
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .related-list {
    grid-template-columns: 1fr;
  }
}

.related-item {
  margin: 0;
}

.related-link {
  display: block;
  padding: 0.85rem 1rem;
  background: var(--surface-muted, #fafafa);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.related-link:hover {
  background: var(--surface-hover, #f0f1f3);
}

.related-title {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text, #111);
  margin-bottom: 0.3rem;
}

.related-desc {
  display: block;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted, #6b7280);
}
