/*
  vcbrief-ds.css — VC Brief Design System v2.0
  Shared tokens + components for index.html and all brief post pages.
  Edit this file to change the look of the entire site.

  v2.0 changelog (2026-05-19):
  - Amber accent replaces blue for brand/UI elements (logo, borders, active states)
  - Added: DM Serif Display (editorial headings) + JetBrains Mono (amounts/scores)
  - Added: --amber token family, hero gradient bridge, nav-brief-badge
  - Added: responsive grid fixes for dashboard
  - Blue (#2563EB) kept for text links only (readability on white)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&family=JetBrains+Mono:wght@400;600&display=swap');

/* ══════════════════════════════════════════════════════
   DESIGN TOKENS
══════════════════════════════════════════════════════ */
:root {
  /* Brand colors */
  --vc-blue:        #2563EB;  /* zachowane dla linków tekstowych */
  --vc-blue-dark:   #1D4ED8;
  --deep-navy:      #0F172A;
  --mint:           #10B981;
  --soft-sky:       #38BDF8;

  /* Amber accent — v2.0 primary brand color */
  --amber:          #D97706;  /* ciemniejszy amber — czytelny na białym (kontrast 4.6:1) */
  --amber-bright:   #F59E0B;  /* jasny amber — dla ikon, border, tła */
  --amber-bg:       #FFFBEB;  /* amber tinted background */
  --amber-border:   #FDE68A;  /* amber border */
  --amber-dark:     #B45309;  /* hover state */

  /* Typography */
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', monospace;

  /* Backgrounds */
  --bg-page:        #F8FAFC;
  --bg-white:       #FFFFFF;
  --bg-subtle:      #F1F5F9;

  /* Borders */
  --border:         #E2E8F0;
  --border-strong:  #CBD5E1;

  /* Text */
  --text-primary:   #0F172A;
  --text-secondary: #64748B;
  --text-muted:     #94A3B8;

  /* Funding badges */
  --seed-bg:        #DBEAFE;  --seed-text:        #1E40AF;
  --series-a-bg:    #DCFCE7;  --series-a-text:    #166534;
  --series-b-bg:    #E0E7FF;  --series-b-text:    #3730A3;
  --late-bg:        #FEF3C7;  --late-text:        #92400E;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:   0 4px 12px rgba(37,99,235,.10);
  --shadow-dark: 0 2px 8px rgba(0,0,0,.12);

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  12px;

  /* Spacing scale */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
}

/* ══════════════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--vc-blue);
  text-decoration: none;
  transition: color .15s;
}
a:hover { color: var(--vc-blue-dark); }

img { max-width: 100%; display: block; }

/* ══════════════════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════════════════ */
h1 { font-size: 2rem;     font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
h2 { font-size: 1.375rem; font-weight: 600; line-height: 1.3; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
h4 { font-size: .875rem;  font-weight: 600; }

.text-sm     { font-size: .875rem; }
.text-xs     { font-size: .75rem;  }
.text-muted  { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-primary   { color: var(--text-primary); }
.text-blue      { color: var(--vc-blue); }
.text-mint      { color: var(--mint); }
.font-semibold  { font-weight: 600; }
.font-bold      { font-weight: 700; }

.section-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════
   LAYOUT UTILITIES
══════════════════════════════════════════════════════ */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--space-5); }

.flex       { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }

/* ══════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════ */
.nav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}

.logo-icon {
  width: 30px;
  height: 30px;
  background: var(--amber-bright);   /* v2: amber zamiast blue */
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #0F172A;                    /* ciemny tekst na jasnym amber */
  letter-spacing: -.3px;
  flex-shrink: 0;
  position: relative;
}

.logo-icon::after {
  content: '↗';
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 8px;
  color: var(--mint);
  font-weight: 700;
  background: var(--bg-white);
  border-radius: 50%;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.logo-wordmark {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
}

.logo-wordmark .vc    { color: var(--deep-navy); }
.logo-wordmark .brief { color: var(--amber); }   /* v2: amber accent na "Brief" */

/* ── Nav links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}

.nav-links a:hover   { background: var(--bg-subtle); color: var(--text-primary); }
.nav-links a.active  { color: var(--amber); background: var(--amber-bg); }  /* v2: amber active */

.nav-back {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-back:hover { color: var(--amber); }  /* v2: amber hover */

/* v2: badge z linkiem do aktualnego briefu w nawigacji */
.nav-brief-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--amber-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.nav-brief-badge:hover {
  background: #FEF3C7;
  border-color: var(--amber-bright);
  color: var(--amber-dark);
}

/* ══════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: .85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background .15s, box-shadow .15s, opacity .15s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber-bright);   /* v2: amber primary button */
  color: #0F172A;
}
.btn-primary:hover { background: var(--amber-dark); color: white; }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-subtle); color: var(--text-primary); }

.btn-sm {
  padding: 5px 12px;
  font-size: .78rem;
}

/* Source link button — shown in brief-item-meta */
.btn-source {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: 100px;
  font-size: .72rem; font-weight: 600;
  color: var(--vc-blue); background: #EFF6FF;
  border: 1px solid #BFDBFE;
  text-decoration: none; transition: all .15s;
  white-space: nowrap;
}
.btn-source:hover {
  background: var(--vc-blue); color: white; border-color: var(--vc-blue);
}
.btn-source::after { content: ' →'; }

/* ══════════════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════════════ */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.card-p { padding: var(--space-5); }

.card-hover {
  transition: box-shadow .2s, transform .2s, border-color .2s;
  cursor: pointer;
}
.card-hover:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  border-color: var(--border-strong);
}

/* ── Report card (used in index.html) ── */
.report-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-3);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid transparent;
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 0 var(--space-4);
  align-items: start;
  transition: box-shadow .15s, border-color .15s;
}

.report-card:hover {
  box-shadow: var(--shadow-dark);
  border-left-color: var(--vc-blue);
}

.report-date     { font-size: .875rem; font-weight: 700; color: var(--deep-navy); white-space: nowrap; }
.report-day      { font-size: .7rem; color: var(--text-muted); margin-top: 1px; }
.report-topics   { font-size: .8rem; color: var(--text-secondary); line-height: 1.5; margin-top: 2px; }
.report-topics .topic-tag {
  display: inline-block;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 1px 7px;
  margin: 2px 3px 2px 0;
  font-size: .75rem;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

/* ── Brief item card (used in post pages) ── */
.brief-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--amber-bright);   /* v2: amber left border */
}

.brief-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.brief-item-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
}

.brief-item-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: .75rem;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

.brief-item-body { font-size: .9rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: var(--space-3); }

.brief-item-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  font-size: .8rem;
}

.brief-item-impact   { }
.brief-item-takeaway { }
.brief-item-score    { text-align: right; white-space: nowrap; }

.impact-label, .takeaway-label, .score-label {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

/* ══════════════════════════════════════════════════════
   BADGES & TAGS
══════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}

.badge-seed    { background: var(--seed-bg);     color: var(--seed-text); }
.badge-a       { background: var(--series-a-bg);  color: var(--series-a-text); }
.badge-b       { background: var(--series-b-bg);  color: var(--series-b-text); }
.badge-late    { background: var(--late-bg);      color: var(--late-text); }

.badge-new {
  background: #D1FAE5;
  color: #065F46;
  font-size: .65rem;
  padding: 2px 8px;
}

.badge-sector {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 500;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* Impact pills */
.impact {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 100px;
}
.impact-positive { background: #D1FAE5; color: #065F46; }
.impact-negative { background: #FEE2E2; color: #991B1B; }
.impact-neutral  { background: #F1F5F9; color: #475569; }

/* Score circle */
.score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 700;
  border: 2px solid;
}
.score-high   { border-color: var(--mint);         color: var(--mint); }
.score-medium { border-color: var(--amber-bright); color: var(--amber); }  /* v2: amber medium */
.score-low    { border-color: var(--border);       color: var(--text-muted); }

/* ══════════════════════════════════════════════════════
   HEADER / HERO SECTIONS
══════════════════════════════════════════════════════ */

/* ── Site header (index page) ── */
.site-header {
  background: linear-gradient(135deg, var(--deep-navy) 0%, #1e293b 100%);
  padding: var(--space-8) var(--space-6);
  color: white;
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
}

.site-header h1 { color: white; font-size: 1.5rem; margin-bottom: var(--space-1); }
.site-header p  { font-size: .85rem; color: #94A3B8; }

.header-stats {
  display: flex;
  gap: var(--space-6);
  flex-shrink: 0;
}
.header-stat-val   { font-size: 1.5rem; font-weight: 700; color: white; line-height: 1; }
.header-stat-label { font-size: .7rem; color: #64748B; margin-top: 2px; }

/* ── Post hero (individual brief page) ── */
.post-hero {
  background: linear-gradient(135deg, var(--deep-navy) 0%, #1e293b 100%);
  padding: var(--space-10) var(--space-6) var(--space-8);
  color: white;
}

.post-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.post-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(37,99,235,.25);
  border: 1px solid rgba(37,99,235,.4);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: .7rem;
  font-weight: 600;
  color: var(--soft-sky);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.post-hero h1 {
  color: white;
  font-size: 1.75rem;
  margin-bottom: var(--space-3);
}

.post-hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: .8rem;
  color: #64748B;
  flex-wrap: wrap;
}

.post-hero-meta .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #475569;
  display: inline-block;
}

/* ══════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.stats-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: stretch;
}

.stat-cell {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5) var(--space-3) 0;
  margin-right: var(--space-5);
  border-right: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; margin-right: 0; }

.stat-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}
.stat-icon-blue   { background: #DBEAFE; }
.stat-icon-green  { background: #DCFCE7; }
.stat-icon-purple { background: #E0E7FF; }

.stat-val   { font-size: 1.1rem; font-weight: 700; line-height: 1; }
.stat-label { font-size: .7rem; color: var(--text-muted); margin-top: 2px; }

/* ══════════════════════════════════════════════════════
   MONTH GROUP (index page archive)
══════════════════════════════════════════════════════ */
.month-group { margin-bottom: var(--space-8); }

.month-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);           /* v2: amber month label */
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--amber-border);  /* v2: amber border */
}

/* ══════════════════════════════════════════════════════
   TL;DR SECTION (post page)
══════════════════════════════════════════════════════ */
.tldr {
  background: var(--amber-bg);          /* v2: amber tint zamiast blue */
  border: 1px solid var(--amber-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-6);
}

.tldr-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);                  /* v2: amber label */
  margin-bottom: var(--space-3);
}

.tldr ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tldr li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: .9rem;
  color: var(--deep-navy);
  line-height: 1.5;
}

.tldr li::before {
  content: '→';
  color: var(--amber-bright);           /* v2: amber arrow */
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ══════════════════════════════════════════════════════
   SCENARIOS & RISKS (post page)
══════════════════════════════════════════════════════ */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.scenario-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.scenario-icon  { font-size: 1.25rem; margin-bottom: var(--space-2); }
.scenario-title { font-size: .875rem; font-weight: 600; margin-bottom: var(--space-2); }
.scenario-body  { font-size: .8rem; color: var(--text-secondary); line-height: 1.55; }

.risks-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.risk-item {
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.risk-icon  { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.risk-title { font-size: .875rem; font-weight: 600; color: #9A3412; margin-bottom: 2px; }
.risk-body  { font-size: .8rem; color: #7C2D12; line-height: 1.55; }

/* ══════════════════════════════════════════════════════
   SECTION HEADER
══════════════════════════════════════════════════════ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}
.section-header h2 { font-size: 1rem; }
.section-header a  { font-size: .8rem; color: var(--vc-blue); font-weight: 500; }

/* ══════════════════════════════════════════════════════
   DIVIDER
══════════════════════════════════════════════════════ */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-8) 0;
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-white);
  padding: var(--space-6) var(--space-6);
  margin-top: var(--space-10);
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-brand { font-size: .78rem; color: var(--text-muted); }
.footer-brand strong { color: var(--text-primary); }

.footer-links { display: flex; gap: var(--space-5); }
.footer-links a { font-size: .78rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--vc-blue); }

/* Post footer (back nav) */
.post-footer {
  border-top: 1px solid var(--border);
  padding: var(--space-6) 0;
  margin-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ══════════════════════════════════════════════════════
   INTRO BOX
══════════════════════════════════════════════════════ */
.intro-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--vc-blue);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
  font-size: .875rem;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

/* ══════════════════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════════════════ */
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }

/* ══════════════════════════════════════════════════════
   HERO BANNER (index page)
══════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--deep-navy) 0%, #1e293b 60%, #0f2040 100%);
  padding: 64px var(--space-6);
  color: white;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,.25);
  border: 1px solid rgba(37,99,235,.4);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: .75rem; font-weight: 600;
  color: var(--soft-sky);
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow::before { content: '●'; font-size: 8px; color: var(--mint); }
.hero h1 { font-size: 2.5rem; margin-bottom: 16px; color: white; }
.hero p  { font-size: 1.05rem; color: #94A3B8; margin-bottom: 28px; max-width: 480px; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 32px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
}
.hero-stat-val   { font-size: 1.75rem; font-weight: 700; color: white; }
.hero-stat-label { font-size: .75rem; color: #64748B; }

.hero-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.hero-card-title {
  font-size: .7rem; font-weight: 600;
  color: #64748B; text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 16px;
}
.hero-deal {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero-deal:last-child { border-bottom: none; padding-bottom: 0; }
.deal-avatar {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--vc-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; color: white;
  flex-shrink: 0;
}
.deal-name   { font-size: .875rem; font-weight: 600; color: white; }
.deal-meta   { font-size: .75rem; color: #64748B; }
.deal-amount { font-size: .875rem; font-weight: 700; color: var(--mint); margin-left: auto; white-space: nowrap; }

/* ══════════════════════════════════════════════════════
   MAIN LAYOUT (2-column: content + sidebar)
══════════════════════════════════════════════════════ */
.main-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: var(--space-10) var(--space-6);
  display: grid; grid-template-columns: 1fr 320px; gap: var(--space-8);
}

/* ══════════════════════════════════════════════════════
   DEAL CARDS
══════════════════════════════════════════════════════ */
.deal-card { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.deal-card-header { display: flex; align-items: flex-start; gap: 14px; }

.company-logo {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--vc-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: white;
  flex-shrink: 0; border: 1px solid var(--border);
}
.company-logo.green  { background: #DCFCE7; color: #166534; }
.company-logo.purple { background: #E0E7FF; color: #3730A3; }
.company-logo.sky    { background: #E0F2FE; color: #0369A1; }

.company-info { flex: 1; }
.company-name { font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.company-desc { font-size: .8rem; color: var(--text-secondary); }

.deal-amount-big {
  font-size: 1.5rem; font-weight: 700;
  color: var(--text-primary); white-space: nowrap;
}
.deal-amount-big span { font-size: .75rem; font-weight: 500; color: var(--text-muted); display: block; text-align: right; }

.deal-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.deal-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--border);
  font-size: .75rem; color: var(--text-muted);
}
.deal-footer-investors { display: flex; align-items: center; gap: 4px; }
.investor-chip {
  background: var(--bg-subtle); border: 1px solid var(--border);
  border-radius: 100px; padding: 2px 8px;
  font-size: .7rem; color: var(--text-secondary);
}

/* ══════════════════════════════════════════════════════
   FUNDING TABLE
══════════════════════════════════════════════════════ */
.funding-table { width: 100%; border-collapse: collapse; }
.funding-table th {
  text-align: left; padding: 10px 12px;
  font-size: .7rem; font-weight: 600;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}
.funding-table td {
  padding: 12px; font-size: .875rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.funding-table tr:last-child td { border-bottom: none; }
.funding-table tr:hover td { background: #F1F5F9; }

.td-company { display: flex; align-items: center; gap: 10px; }
.td-logo {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--vc-blue); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; font-weight: 700; color: white;
}
.td-name   { font-weight: 600; font-size: .875rem; }
.td-sector { font-size: .75rem; color: var(--text-muted); }
.td-amount { font-weight: 700; color: var(--text-primary); }
.td-growth { color: var(--mint); font-weight: 600; font-size: .8rem; }
.td-growth::before { content: '▲ '; font-size: .6rem; }

/* ══════════════════════════════════════════════════════
   SIDEBAR & WIDGETS
══════════════════════════════════════════════════════ */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.widget { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.widget-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.widget-header h3 { font-size: .875rem; font-weight: 600; }
.widget-body { padding: 4px 0; }

/* ── News items ── */
.news-item {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .1s;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: var(--bg-subtle); }
.news-title { font-size: .875rem; font-weight: 500; line-height: 1.4; margin-bottom: 6px; color: var(--text-primary); }
.news-meta  { display: flex; align-items: center; gap: 8px; font-size: .7rem; color: var(--text-muted); }
.news-dot   { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }

/* ── Market widget ── */
.market-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}
.market-row:last-child { border-bottom: none; }
.market-name { font-size: .875rem; font-weight: 600; }
.market-val  { font-size: .875rem; font-weight: 700; }
.market-chg  { font-size: .75rem; font-weight: 600; padding: 2px 7px; border-radius: 100px; }
.up   { color: var(--mint); background: #DCFCE7; }
.down { color: #DC2626; background: #FEE2E2; }

/* ── VC fund list ── */
.fund-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background .1s;
}
.fund-row:last-child { border-bottom: none; }
.fund-row:hover { background: var(--bg-subtle); }
.fund-avatar {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--deep-navy);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; color: white; flex-shrink: 0;
}
.fund-name { font-size: .875rem; font-weight: 600; }
.fund-meta { font-size: .75rem; color: var(--text-muted); }
.fund-aum  { font-size: .8rem; font-weight: 700; color: var(--text-primary); margin-left: auto; white-space: nowrap; }

/* ══════════════════════════════════════════════════════
   REPORT ROW (alternative archive format — 2 buttons)
══════════════════════════════════════════════════════ */
.report-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-md); margin-bottom: var(--space-2);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s, border-color .15s;
}
.report-row:hover { box-shadow: var(--shadow-dark); border-color: var(--border-strong); }
.report-links { display: flex; gap: var(--space-2); align-items: center; }

.btn-html {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; font-size: .78rem; font-weight: 600;
  border-radius: var(--radius-sm); text-decoration: none;
  background: #EFF6FF; color: var(--vc-blue); border: 1px solid #BFDBFE;
  transition: background .15s;
}
.btn-html:hover { background: #DBEAFE; color: var(--vc-blue-dark); }

.btn-pdf {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; font-size: .78rem; font-weight: 600;
  border-radius: var(--radius-sm); text-decoration: none;
  background: var(--bg-subtle); color: var(--text-secondary); border: 1px solid var(--border);
  transition: background .15s;
}
.btn-pdf:hover { background: #F1F5F9; color: var(--text-primary); }

/* ══════════════════════════════════════════════════════
   UI COMPONENTS (tabs, progress, breadcrumb, input)
══════════════════════════════════════════════════════ */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: var(--space-6); }
.tab {
  padding: 10px 18px; font-size: .875rem; font-weight: 500;
  color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: color .15s, border-color .15s;
}
.tab.active  { color: var(--vc-blue); border-bottom-color: var(--vc-blue); }
.tab:hover:not(.active) { color: var(--text-primary); }

.progress-wrap { height: 6px; background: var(--border); border-radius: 100px; overflow: hidden; }
.progress-bar  { height: 100%; border-radius: 100px; background: var(--vc-blue); }

.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--vc-blue); }
.breadcrumb span { color: var(--text-primary); font-weight: 500; }

.notif-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--vc-blue); color: white;
  font-size: .6rem; font-weight: 700;
}

.input-demo {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 9px 12px; font-size: .875rem; font-family: inherit;
  width: 100%; color: var(--text-primary); background: white;
  outline: none; transition: border .15s;
}
.input-demo:focus { border-color: var(--vc-blue); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }

/* ══════════════════════════════════════════════════════
   v2.0 — NOWE KOMPONENTY
══════════════════════════════════════════════════════ */

/* ── Typografia: utility classes ── */
.font-serif { font-family: var(--font-serif) !important; }
.font-mono  { font-family: var(--font-mono)  !important; }

/* ── Serif headings na stronie briefu ── */
.post-hero h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;   /* DM Serif Display wygląda lepiej bez bold */
  letter-spacing: -.01em;
}

/* ── Kwoty w monospace ── */
.amount-mono {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: -.02em;
}

/* ── Gradient bridge: dark hero → light body ── */
.hero-bridge {
  height: 32px;
  background: linear-gradient(to bottom, #1e293b, var(--bg-page));
  display: block;
}

/* ── Eyebrow pill — amber zamiast blue ── */
.post-eyebrow {
  background: rgba(245,158,11,.18) !important;
  border-color: rgba(245,158,11,.35) !important;
  color: var(--amber-bright) !important;
}

/* ── Report card hover: amber border ── */
.report-card:hover {
  border-left-color: var(--amber-bright) !important;
}

/* ── Intro box: amber border ── */
.intro-box {
  border-left-color: var(--amber-bright) !important;
}

/* ── Btn-html (archive): amber theme ── */
.btn-html {
  background: var(--amber-bg) !important;
  color: var(--amber-dark) !important;
  border-color: var(--amber-border) !important;
}
.btn-html:hover {
  background: #FEF3C7 !important;
  color: var(--amber-dark) !important;
}

/* ── Section header link: amber ── */
.section-header a { color: var(--amber) !important; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card  { display: none; }
  .main-wrap  { grid-template-columns: 1fr; padding: var(--space-6) var(--space-4); }
  .stats-bar-inner { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }

  .nav-links { display: none; }
  .nav-brief-badge { font-size: .7rem; padding: 4px 10px; }

  .site-header-inner { flex-direction: column; align-items: flex-start; }
  .header-stats { gap: var(--space-4); }

  .report-card { grid-template-columns: 1fr; gap: var(--space-2); }

  .brief-item-footer { grid-template-columns: 1fr; }

  .scenarios-grid { grid-template-columns: 1fr; }

  .stats-bar-inner { flex-wrap: wrap; }

  .post-footer { flex-direction: column; gap: var(--space-3); align-items: flex-start; }

  .site-footer-inner { flex-direction: column; align-items: flex-start; }

  /* v2: post hero serif skaluje na mobile */
  .post-hero h1 { font-size: 1.5rem; }
}

/* v2: tablet — dashboard grid breakpoint */
@media (max-width: 900px) {
  /* grid-3 w dashboardzie → 2 kolumny na tablecie, 1 na mobile */
  .deals-grid-3 { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 600px) {
  .deals-grid-3 { grid-template-columns: 1fr !important; }
  .grid-2, .grid-3 { grid-template-columns: 1fr !important; }
}
