/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --highlight: rgb(17, 153, 119);
    --highlight-dark: rgb(13, 115, 89);
    --highlight-light: rgb(20, 180, 140);
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border-color: #e5e5e5;
    --bg-light: #fafafa;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
nav.container {
    padding: 0.4rem 24px;
}

/* Header */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 32px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 48px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    transition: color 0.2s;
    letter-spacing: -0.01em;
}

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

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 24px;
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-weight: 400;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.btn-primary {
    background-color: var(--highlight);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--highlight-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--highlight);
    border: 1px solid var(--highlight);
}

.btn-secondary:hover {
    background-color: var(--highlight);
    color: var(--white);
}

/* Sections */
section {
    padding: 80px 0;
}

.why-section {
    background-color: var(--white);
}

.why-section h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.why-section p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.sessions-section {
    background-color: var(--white);
}

.sessions-section h2,
.categories-section h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 48px;
    text-align: center;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Transcript Grid */
.transcript-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.transcript-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
    transition: border-color 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.transcript-card:hover {
    border-color: var(--highlight);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.category-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    transition: background-color 0.2s;
}

.category-tag:hover {
    background-color: var(--highlight);
    color: var(--white);
}

.transcript-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.transcript-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.transcript-card h3 a:hover {
    color: var(--highlight);
}

.excerpt {
    color: var(--text-light);
    margin-bottom: 16px;
    flex-grow: 1;
    line-height: 1.6;
}

.read-more {
    color: var(--highlight);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 15px;
}

.read-more:hover {
    color: var(--highlight-dark);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 32px;
}

.category-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    display: block;
}

.category-card:hover {
    border-color: var(--highlight);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.category-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.category-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Partners Section */
.partners-section {
    background-color: var(--white);
    text-align: center;
}

/* Category Section */
.category-section {
    margin-bottom: 80px;
}

.category-section h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Sources List */
.sources-list {
    list-style: none;
    padding: 0;
}

.sources-list li {
    padding: 16px 20px;
    margin-bottom: 8px;
    background-color: var(--bg-light);
    border-left: 3px solid var(--highlight);
    border-radius: 4px;
}

.partners-section h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 32px;
    font-weight: 600;
}

.partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.partners-list span {
    padding: 8px 20px;
    background-color: var(--bg-light);
    border-radius: 4px;
    color: var(--text-light);
    font-weight: 400;
    font-size: 14px;
}

/* Transcript Page */
.transcript-page {
    padding: 48px 0;
}

.transcript-page .container {
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    gap: 1rem;
    margin-bottom: 24px;
    color: var(--text-light);
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
    display: block;
}

.breadcrumb a,
.breadcrumb span {
    display: inline;
}

.breadcrumb a::after {
    content: '/';
    margin: 0;
    padding: 0 0.5rem;
}

.breadcrumb a {
    color: var(--highlight);
    text-decoration: none;
}

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

.transcript-header {
    margin-bottom: 48px;
}

.transcript-header .categories {
    margin-bottom: 16px;
}

.transcript-header h1 {
    font-size: 3rem;
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.youtube-embed {
    margin: 48px 0;
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.transcript-content {
    background-color: var(--white);
    padding: 0;
    line-height: 1.8;
    font-size: 17px;
    color: var(--text-dark);
    width: 100%;
}

/* Prose Styles */
.transcript-content p {
    margin-bottom: 24px;
    line-height: 1.8;
}

.transcript-content h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-top: 64px;
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.transcript-content h2:first-child {
    margin-top: 0;
}

.transcript-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-top: 48px;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.transcript-content ul,
.transcript-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.transcript-content ul {
    list-style-type: disc;
}

.transcript-content ol {
    list-style-type: decimal;
}

.transcript-content li {
    margin-bottom: 12px;
    line-height: 1.7;
    padding-left: 8px;
}

.transcript-content ul ul,
.transcript-content ol ol,
.transcript-content ul ol,
.transcript-content ol ul {
    margin-top: 12px;
    margin-bottom: 12px;
    padding-left: 24px;
}

.transcript-content strong {
    font-weight: 600;
    color: var(--text-dark);
}

.transcript-content a {
    color: var(--highlight);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.transcript-content a:hover {
    border-bottom-color: var(--highlight);
}

.related-sessions {
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid var(--border-color);
}

.related-sessions h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 32px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Page Intro */
.page-intro {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.text-center {
    text-align: center;
    margin-top: 32px;
}

/* Footer */
footer {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 64px 0 32px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 16px;
    color: var(--text-dark);
    font-weight: 600;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--highlight);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 24px;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .transcript-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .transcript-content {
        font-size: 16px;
    }
    
    .transcript-header h1 {
        font-size: 2.25rem;
    }
    
    .transcript-content h2 {
        font-size: 1.75rem;
    }
    
    .transcript-content h3 {
        font-size: 1.25rem;
    }
    
    .youtube-embed {
        margin: 32px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    nav {
        padding: 20px 0;
    }
    
    .nav-links {
        gap: 20px;
        font-size: 14px;
    }
    
    .hero {
        padding: 48px 0;
    }
    
    section {
        padding: 48px 0;
    }
    
    .transcript-content ul,
    .transcript-content ol {
        padding-left: 24px;
    }
}
