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

body {
    font-family: 'Manrope', sans-serif;
    background: #F8FAFC;
    color: #334155;
    line-height: 1.7;
    font-weight: 400;
    font-size: 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1B2838;
}

.logo-dot {
    color: #059669;
}

/* Hero Section */
.hero {
    height: 90vh;
    min-height: 600px;
    background: #F8FAFC;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 64px;
    position: relative;
    overflow: hidden;
}

.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    opacity: 0;
    animation: fadeIn 0.2s ease forwards;
}

.hero-logo {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.logo-icon {
    color: #059669;
    font-size: 32px;
}

.logo-text {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
}

.tagline {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    color: #334155;
    font-weight: 400;
}

.hero-metric {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    opacity: 0;
    animation: fadeIn 0.2s ease 0.2s forwards;
}

.metric-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-value {
    font-family: 'Roboto Mono', monospace;
    font-size: 28px;
    font-weight: 500;
    color: #059669;
}

.hero-diagonal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    width: 2px;
    height: 200%;
    background: #EFF6FF;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.featured-listing {
    display: flex;
    background: #FFFFFF;
    border: 1px solid #EFF6FF;
    border-radius: 8px;
    overflow: hidden;
    max-width: 420px;
    opacity: 0;
    animation: fadeIn 0.2s ease 0.4s forwards;
}

.featured-strip {
    width: 4px;
    flex-shrink: 0;
}

.featured-content {
    padding: 20px 24px;
}

.featured-badge {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #059669;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: #EFF6FF;
    padding: 2px 8px;
    border-radius: 4px;
}

.featured-title {
    font-size: 20px;
    font-weight: 700;
    margin-top: 8px;
}

.featured-detail {
    font-size: 14px;
    color: #334155;
    margin-top: 4px;
}

.featured-price {
    font-family: 'Roboto Mono', monospace;
    font-size: 20px;
    font-weight: 500;
    color: #1B2838;
    margin-top: 12px;
}

.price-change {
    font-size: 14px;
    margin-left: 8px;
}

.price-change.positive {
    color: #059669;
}

.price-change.negative {
    color: #DC2626;
}

.hero-cta {
    display: flex;
    gap: 12px;
    opacity: 0;
    animation: fadeIn 0.2s ease 0.6s forwards;
}

.btn-primary {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    background: #059669;
    color: #FFFFFF;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: #047857;
}

.btn-secondary {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    background: transparent;
    color: #1B2838;
    border: 2px solid #1B2838;
    padding: 14px 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
    background: #1B2838;
    color: #FFFFFF;
}

/* Filters Bar */
.filters-bar {
    background: #FFFFFF;
    border-bottom: 1px solid #EFF6FF;
    padding: 16px 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.filters-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-right: 8px;
}

.filter-btn {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 500;
    background: #F8FAFC;
    color: #334155;
    border: 1px solid #EFF6FF;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #1B2838;
    color: #FFFFFF;
    border-color: #1B2838;
}

.search-box input {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    padding: 8px 16px;
    border: 1px solid #EFF6FF;
    border-radius: 6px;
    background: #F8FAFC;
    color: #1B2838;
    width: 240px;
    transition: border-color 0.2s ease;
}

.search-box input::placeholder {
    color: #94a3b8;
}

.search-box input:focus {
    outline: none;
    border-color: #3498DB;
}

/* Marketplace Table */
.marketplace {
    padding: 0 64px 48px;
}

.table-header {
    display: grid;
    grid-template-columns: 4px 2fr 100px 80px 120px 80px 120px 100px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 2px solid #1B2838;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-header > div:first-child {
    visibility: hidden;
}

.listing-row {
    display: grid;
    grid-template-columns: 4px 2fr 100px 80px 120px 80px 120px 100px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #EFF6FF;
    transition: background 0.15s ease;
    opacity: 0;
    transform: translateY(10px);
}

.listing-row.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.15s ease;
}

.listing-row:hover {
    background: #EFF6FF;
}

.row-strip {
    width: 4px;
    height: 100%;
    min-height: 48px;
    border-radius: 2px;
}

.project-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1B2838;
    display: block;
}

.project-standard {
    font-size: 12px;
    color: #334155;
    font-weight: 500;
}

.type-pill {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.type-pill.forestry {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
}

.type-pill.renewable {
    background: rgba(52, 152, 219, 0.1);
    color: #3498DB;
}

.type-pill.methane {
    background: rgba(155, 89, 182, 0.1);
    color: #9B59B6;
}

.type-pill.ocean {
    background: rgba(52, 152, 219, 0.15);
    color: #2980B9;
}

.type-pill.dac {
    background: rgba(220, 38, 38, 0.1);
    color: #DC2626;
}

.col-vintage, .col-available {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.sparkline {
    width: 64px;
    height: 24px;
}

.spark-line {
    fill: none;
    stroke: #3B82F6;
    stroke-width: 1.5;
}

.spark-fill {
    fill: rgba(59, 130, 246, 0.1);
    stroke: none;
}

.price {
    font-family: 'Roboto Mono', monospace;
    font-size: 15px;
    font-weight: 500;
    color: #1B2838;
}

.btn-acquire {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    color: #059669;
    border: 1.5px solid #059669;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-acquire:hover {
    background: #059669;
    color: #FFFFFF;
}

/* Market Stats */
.market-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 48px 64px;
    background: #FFFFFF;
    border-top: 1px solid #EFF6FF;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px;
    background: #F8FAFC;
    border-radius: 8px;
    border: 1px solid #EFF6FF;
}

.stat-number {
    font-family: 'Roboto Mono', monospace;
    font-size: 32px;
    font-weight: 500;
    color: #1B2838;
}

.stat-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
.site-footer {
    background: #1B2838;
    padding: 32px 64px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
}

.footer-copy {
    font-size: 14px;
    color: #64748B;
}

/* Additional palette references: #27AE60 #E2E8F0 #E67E22 */

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        padding: 32px 32px;
    }
    .filters-bar {
        padding: 16px 32px;
        flex-direction: column;
        gap: 12px;
    }
    .marketplace {
        padding: 0 32px 32px;
        overflow-x: auto;
    }
    .table-header, .listing-row {
        min-width: 800px;
    }
    .market-stats {
        padding: 32px;
        grid-template-columns: repeat(2, 1fr);
    }
    .site-footer {
        padding: 24px 32px;
    }
}

@media (max-width: 640px) {
    .hero {
        height: auto;
        min-height: auto;
        padding: 24px 20px;
        gap: 32px;
    }
    .hero-top {
        flex-direction: column;
        gap: 24px;
    }
    .hero-metric {
        align-items: flex-start;
    }
    .hero-bottom {
        flex-direction: column;
        gap: 24px;
    }
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    .hero-cta button {
        width: 100%;
    }
    .filters-container {
        flex-wrap: wrap;
    }
    .search-box input {
        width: 100%;
    }
    .market-stats {
        grid-template-columns: 1fr 1fr;
        padding: 24px 20px;
    }
    .footer-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
