/* Development Docket — Site Stylesheet */

:root {
  --bg: #fafaf8;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #2563eb;
  --accent-light: #dbeafe;
  --border: #e5e5e3;
  --action-bg: #fef3c7;
  --action-border: #f59e0b;
  --signal-bg: #f0fdf4;
  --signal-border: #22c55e;
  --tag-bg: #f3f4f6;
  --max-w: 680px;
}

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

body {
  font-family: 'Georgia', serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
}

/* NAV */
nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.nav-brand {
  font-family: -apple-system, system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}
.nav-brand span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 24px;
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 14px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
}

/* PAGE TABS */
.page-tabs {
  display: flex;
  gap: 8px;
  max-width: 960px;
  margin: 20px auto 0;
  padding: 0 24px;
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 13px;
}
.page-tab {
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--tag-bg);
  color: var(--muted);
  cursor: pointer;
  border: none;
  font-size: 13px;
}
.page-tab.active {
  background: var(--text);
  color: #fff;
}

/* CONTAINER */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 24px;
}

/* SECTIONS */
.section-label {
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 16px;
}

/* BIG 3 */
.big3 {
  margin-bottom: 48px;
}
.big3-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.big3-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.big3-item h3 {
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 6px;
}
.big3-item h3 a {
  color: var(--text);
  text-decoration: none;
}
.big3-item h3 a:hover {
  color: var(--accent);
}
.big3-meta {
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.big3-summary {
  font-size: 16px;
  color: #333;
}
.state-tag {
  display: inline-block;
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  background: var(--tag-bg);
  color: var(--muted);
  padding: 2px 8px;
  border-radius: 3px;
  margin-right: 4px;
}

/* STORY LIST */
.story-list {
  margin-bottom: 48px;
}
.story-card {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.story-card h3 {
  font-size: 17px;
  line-height: 1.35;
  margin-bottom: 4px;
}
.story-card h3 a {
  color: var(--text);
  text-decoration: none;
}
.story-card h3 a:hover {
  color: var(--accent);
}
.story-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.story-card .big3-meta {
  margin-bottom: 6px;
}
.story-card p {
  font-size: 15px;
  color: #444;
}

/* DIVIDER */
.divider {
  border: none;
  border-top: 2px solid var(--border);
  margin: 40px 0;
}

/* STORY PAGE */
.story-page { padding-top: 8px; }
.story-page .back-link {
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 24px;
}
.story-page h1 {
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 12px;
}
.story-page .story-meta {
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.story-page .story-body {
  margin-bottom: 36px;
}
.story-page .story-body p {
  margin-bottom: 16px;
}

/* ABOUT PAGE */
.about-body p {
  margin-bottom: 24px;
}

/* ACTION BOX */
.action-box {
  background: var(--action-bg);
  border-left: 4px solid var(--action-border);
  padding: 20px 24px;
  margin: 32px 0;
  border-radius: 0 8px 8px 0;
}
.action-box h4 {
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #92400e;
  margin-bottom: 12px;
}
.action-box dl { font-size: 15px; }
.action-box dt {
  font-family: -apple-system, system-ui, sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #92400e;
  margin-top: 10px;
}
.action-box dt:first-child { margin-top: 0; }
.action-box dd { margin-left: 0; color: #333; }
.action-box a { color: var(--accent); }

/* COMMUNITY TAKEAWAY */
.takeaway {
  background: #f0f4ff;
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  margin: 32px 0;
  border-radius: 0 8px 8px 0;
}
.takeaway h4 {
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1e40af;
  margin-bottom: 12px;
}
.takeaway p {
  font-size: 15px;
  color: #333;
  margin-bottom: 12px;
}
.takeaway p:last-child { margin-bottom: 0; }

/* SOURCES */
.sources {
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 36px;
}
.sources strong { color: #555; }

/* EMAIL SIGNUP */
.signup-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin: 40px 0;
  text-align: center;
}
.signup-box h3 {
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 16px;
  margin-bottom: 6px;
}
.signup-box p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
  font-family: -apple-system, system-ui, sans-serif;
}
.signup-row {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
}
.signup-row select, .signup-row input {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: -apple-system, system-ui, sans-serif;
}
.signup-row input { flex: 1; }
.signup-row select { width: 90px; }
.signup-row button {
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: -apple-system, system-ui, sans-serif;
}
