/* Meeting Briefs - Clean Minimal Design */

:root {
  --bg: #ffffff;
  --bg-secondary: #f8f9fa;
  --text: #1a1a1a;
  --text-secondary: #6b7280;
  --accent: #2563eb;
  --border: #e5e7eb;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --radius: 8px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 32px;
}

.site-header h1 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.site-header p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Brief List (Homepage) */
.brief-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brief-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.brief-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.brief-card .name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.brief-card .meta {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.brief-card .type {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  margin-right: 8px;
}

.brief-card .type.company { background: #dbeafe; color: #1d4ed8; }
.brief-card .type.vc { background: #dcfce7; color: #166534; }

/* Brief Page */
.brief-header {
  margin-bottom: 32px;
}

.brief-header .logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.brief-header h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.brief-header .tagline {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.brief-header .links {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
}

.brief-header .links a {
  color: var(--accent);
  text-decoration: none;
}

.brief-header .links a:hover {
  text-decoration: underline;
}

.brief-header .links span {
  margin: 0 8px;
  color: var(--border);
}

/* Sections */
.section {
  margin-bottom: 28px;
}

.section-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.section p {
  margin-bottom: 12px;
}

.section p:last-child {
  margin-bottom: 0;
}

/* Funding Table */
.funding-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
}

.funding-table th,
.funding-table td {
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}

.funding-table th {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.funding-table .total {
  font-weight: 600;
  background: var(--bg-secondary);
}

/* Team */
.team-member {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.team-member:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.team-member .name {
  font-weight: 600;
  font-size: 15px;
}

.team-member .role {
  color: var(--text-secondary);
  font-size: 14px;
}

.team-member .background {
  font-size: 14px;
  margin-top: 6px;
}

/* News List */
.news-list {
  list-style: none;
}

.news-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list .date {
  color: var(--text-secondary);
  font-size: 12px;
}

/* Source Citations */
.cite {
  font-size: 10px;
  color: var(--accent);
  vertical-align: super;
  cursor: pointer;
  text-decoration: none;
  margin-left: 1px;
}

.cite:hover {
  text-decoration: underline;
}

/* Sources Section */
.sources {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 32px;
}

.sources h3 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.sources ol {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 24px;
}

.sources li {
  margin-bottom: 6px;
  word-break: break-word;
}

.sources a {
  color: var(--accent);
  text-decoration: none;
}

.sources a:hover {
  text-decoration: underline;
}

/* Generated timestamp */
.generated {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .container {
    padding: 16px;
  }
  
  .brief-header h1 {
    font-size: 24px;
  }
  
  .funding-table {
    font-size: 13px;
  }
  
  .funding-table th,
  .funding-table td {
    padding: 6px 8px;
  }
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.empty-state p {
  font-size: 15px;
}
