/* Diffusion of Innovations — Professional Economist Aesthetic */

:root {
    --color-navy: #1a2744;
    --color-navy-light: #2d3a5a;
    --color-charcoal: #3d4f5f;
    --color-charcoal-muted: #5a6b7a;
    --color-cream: #f8f6f1;
    --color-cream-dark: #ebe8e0;
    --color-parchment: #e8e4dc;
    --color-gold: #a68b4b;
    --color-gold-muted: #c4a962;
    --color-text: #000;
    --color-text-muted: #5a5a5a;
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1000px;
    --spacing-unit: 1.5rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Header */
.site-header {
    background: var(--color-navy);
    color: var(--color-cream);
    padding: 3rem 0;
    text-align: center;
}

.site-title {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.02em;
}

.site-subtitle {
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0.5rem 0 0;
    color: #fff;
}

/* Navigation */
.main-nav {
    background: var(--color-navy-light);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
}

.nav-links a {
    color: var(--color-cream);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.nav-links a:hover {
    color: var(--color-gold-muted);
}

/* Sections */
.section {
    padding: 3rem 0;
}

.section-alt {
    background: var(--color-parchment);
}

.section-hero {
    padding-top: 2.5rem;
}

h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-gold);
}

h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 1.25rem;
}

p {
    margin: 0 0 1rem;
    color: var(--color-text);
}

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

em {
    font-style: italic;
    color: var(--color-charcoal);
}

/* Elements grid */
.elements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

@media (min-width: 600px) {
    .elements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .elements-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.element-card {
    background: white;
    padding: 1.25rem;
    border-left: 4px solid var(--color-gold);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.element-card h3 {
    margin-top: 0;
}

/* Adoption curve */
.adoption-curve {
    margin: 2rem 0;
    background: white;
    padding: 1.5rem;
    border: 1px solid var(--color-cream-dark);
}

.curve-svg {
    width: 100%;
    max-width: 560px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.curve-svg .curve-label {
    font-family: var(--font-sans);
    font-size: 11px;
    fill: var(--color-charcoal-muted);
}

/* Adopter table */
.adopter-table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.adopter-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.adopter-table th,
.adopter-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-cream-dark);
}

.adopter-table th {
    background: var(--color-navy);
    color: var(--color-cream);
    font-weight: 600;
}

.adopter-table tbody tr:hover {
    background: rgba(166, 139, 75, 0.08);
}

.note {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: 1rem;
}

/* Process list */
.process-list {
    margin: 1.5rem 0 0;
    padding-left: 1.5rem;
}

.process-list li {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.process-list li:last-child {
    margin-bottom: 0;
}

/* Development points */
.development-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

@media (min-width: 600px) {
    .development-points {
        grid-template-columns: repeat(2, 1fr);
    }
}

.dev-point {
    background: white;
    padding: 1.25rem;
    border: 1px solid var(--color-cream-dark);
}

.dev-point h3 {
    margin-top: 0;
}

/* References */
.references-list {
    margin: 1rem 0 0;
    padding-left: 1.5rem;
}

.references-list li {
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.references-list li:last-child {
    margin-bottom: 0;
}

/* Footer */
.site-footer {
    background: var(--color-navy);
    color: var(--color-cream);
    padding: 1.5rem 0;
    text-align: center;
}

.site-footer p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.9;
}
