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

html {
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #faf8f3;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 600;
  margin: 1.2em 0 0.6em 0;
  line-height: 1.3;
}

h1 {
  font-size: 2.2em;
  margin-top: 0;
}

h2 {
  font-size: 1.8em;
  border-bottom: 2px solid #d4202e;
  padding-bottom: 0.3em;
}

h3 {
  font-size: 1.3em;
  color: #2a2a2a;
}

p {
  margin-bottom: 1em;
}

a {
  color: #0066cc;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border 0.2s;
}

a:hover {
  border-bottom-color: #0066cc;
}

/* Header & Navigation */
.masthead {
  text-align: center;
  margin-bottom: 2em;
  padding: 1.5em 0;
  border-bottom: 3px solid #d4202e;
}

.masthead h1 {
  margin: 0 0 0.3em 0;
  font-size: 2.5em;
}

.masthead p {
  font-size: 1.1em;
  color: #555;
  margin: 0;
  font-style: italic;
}

.breadcrumbs {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 1.5em;
}

.breadcrumbs a {
  color: #0066cc;
}

/* Sections */
.section {
  margin: 2em 0;
}

.section-title {
  font-family: 'Georgia', serif;
  font-size: 1.6em;
  color: #1a1a1a;
  border-left: 4px solid #d4202e;
  padding-left: 1em;
  margin-bottom: 1.2em;
}

/* Markets List */
.markets-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5em;
  margin-bottom: 2em;
}

.market-item {
  border: 1px solid #ddd;
  padding: 1.5em;
  background: white;
  transition: box-shadow 0.2s;
}

.market-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.market-item h3 {
  margin-top: 0;
}

.market-item p {
  margin-bottom: 0.8em;
}

/* Links & Copy */
.url-row {
  display: flex;
  align-items: center;
  gap: 1em;
  margin: 0.8em 0;
  padding: 0.8em;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 0.95em;
  word-break: break-all;
}

.url-row span {
  flex: 1;
  font-family: 'Monaco', 'Courier New', monospace;
  color: #333;
}

.url-row a {
  color: #0066cc;
  flex-shrink: 0;
}

.copy-btn {
  background: #d4202e;
  color: white;
  border: none;
  padding: 0.4em 0.8em;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.9em;
  transition: background 0.2s;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: #a01623;
}

.copy-feedback {
  font-size: 0.85em;
  color: #28a745;
  min-width: 60px;
  text-align: right;
}

/* Educational Notes */
.desk-note {
  background: #fff3cd;
  border-left: 4px solid #d4202e;
  padding: 1em;
  margin: 1.5em 0;
  font-style: italic;
  color: #333;
}

.alert-box {
  background: #f8d7da;
  border: 1px solid #d4202e;
  border-radius: 4px;
  padding: 1em;
  margin: 1.5em 0;
  color: #721c24;
}

.alert-box::before {
  content: '⚠ ';
  font-weight: bold;
}

/* Fact Box */
.at-a-glance {
  background: white;
  border: 2px solid #ddd;
  border-left: 4px solid #d4202e;
  padding: 1.5em;
  margin: 1.5em 0;
  border-radius: 4px;
}

.at-a-glance dt {
  font-weight: bold;
  margin-top: 1em;
  color: #1a1a1a;
}

.at-a-glance dt:first-child {
  margin-top: 0;
}

.at-a-glance dd {
  margin-left: 1em;
  color: #555;
}

/* Timeline */
.chronology {
  border-left: 3px solid #d4202e;
  padding-left: 1.5em;
}

.timeline-item {
  margin-bottom: 1.5em;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.8em;
  top: 0.3em;
  width: 10px;
  height: 10px;
  background: #d4202e;
  border-radius: 50%;
}

.timeline-date {
  font-weight: bold;
  color: #1a1a1a;
}

.unverified {
  color: #d4202e;
  font-size: 0.85em;
  font-weight: bold;
}

/* Editorial Standards */
.editorial-standards {
  background: #f9f9f9;
  border: 2px solid #ddd;
  padding: 1.5em;
  margin: 2em 0;
  border-radius: 4px;
}

.editorial-standards h3 {
  margin-top: 0;
}

.editorial-standards ul {
  margin-left: 1.5em;
}

.editorial-standards li {
  margin-bottom: 0.5em;
}

/* Footer */
footer {
  border-top: 2px solid #ddd;
  margin-top: 2em;
  padding: 1.5em 0;
  text-align: center;
  font-size: 0.9em;
  color: #666;
}

footer p {
  margin: 0.5em 0;
}

/* Pull Quotes */
.pullquote {
  font-family: 'Georgia', serif;
  font-size: 1.3em;
  font-style: italic;
  color: #555;
  border-left: 4px solid #d4202e;
  padding: 1em 0 1em 1.5em;
  margin: 1.5em 0;
}

/* Responsive */
@media (max-width: 600px) {
  body {
    padding: 15px;
  }

  h1 {
    font-size: 1.8em;
  }

  h2 {
    font-size: 1.4em;
  }

  .url-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .copy-feedback {
    text-align: left;
  }
}
