/* OpenRockets Foundation — Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    --black:   #0a0a0a;
    --white:   #ffffff;
    --gray-50: #f9f9f9;
    --gray-100:#f2f2f2;
    --text:    #111111;
    --muted:   #666666;
    --light:   #aaaaaa;
    --border:  #e2e2e2;
    --green:   #22c55e;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── Container ── */
.container {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ── Hero Section ── */
.hero-section {
    padding: 80px 0 72px;
    border-bottom: 1px solid var(--border);

}

.hero-logo {
    width: 190px;
    height: auto;
    /* logo is white — invert so it shows on white background */
    filter: invert(1);
    display: block;
    
}

.hero-pitch {
    font-size: 15px;
    color: var(--muted);
    max-width: 420px;
 
    line-height: 1.75;
}

.hero-sub {
    font-size: 13px;
    color: var(--light);
    margin-bottom: 32px;
}

.btn-hero {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    padding: 11px 26px;
    border-radius: 3px;
    letter-spacing: -0.1px;
    transition: opacity 0.15s;
}

.btn-hero:hover { opacity: 0.72; }

/* ── Shared Section ── */
.section {
    padding: 52px 0;
    border-bottom: 1px solid var(--border);
}

.section-header {
    margin-bottom: 26px;
}

.section-header h2 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.2px;
    margin-bottom: 3px;
}

.section-header p {
    font-size: 13px;
    color: var(--muted);
}

/* ── Nonprofits — list rows ── */
.nonprofits-list {
    display: flex;
    flex-direction: column;
}

.np-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
}

.np-item:last-child { border-bottom: none; }
.np-item:hover .np-name { text-decoration: underline; }

.np-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: var(--gray-50);
    padding: 3px;
}

.np-logo-invert {
    filter: invert(1);
    background: var(--black);
    border-color: #2a2a2a;
    padding: 5px;
}

.np-logo-text {
    width: 38px;
    height: 38px;
    background: var(--black);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.np-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.np-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.np-url {
    font-size: 12px;
    color: var(--muted);
}

.np-arrow {
    font-size: 14px;
    color: var(--light);
}

/* ── Partners — card grid ── */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    transition: border-color 0.15s;
    text-decoration: none;
}

.partner-card:hover {
    border-color: #aaa;
}

.partner-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.partner-tag {
    font-size: 11px;
    color: var(--muted);
    font-weight: 400;
}

/* ── PDF ── */
.pdf-wrap { width: 100%; }

.pdf-frame {
    width: 100%;
    height: 660px;
    border: 1px solid var(--border);
    border-radius: 4px;
    display: block;
    background: var(--gray-50);
}

/* ── Committee ── */
.committee-table {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.committee-year-block {
    display: flex;
    gap: 36px;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.committee-year-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cy-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    min-width: 44px;
    padding-top: 2px;
    letter-spacing: 0.5px;
}

.cy-members {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.cy-member {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 14px;
}

.cy-name  { color: var(--text); font-weight: 500; }
.cy-role  { color: var(--muted); font-size: 12px; }

/* ── Footer ── */
.footer {
    background: var(--black);
    filter: invert(1);
    padding: 32px 0 0;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid #1e1e1e;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgb(255, 255, 255);
    font-size: 13px;
    transition: color 0.15s;
}

.footer-link:hover { color: #fff; }

.footer-link-icon {
    width: 20px;
  
    flex-shrink: 0;
}

.footer-ot-icon {
    filter: invert(1);
    opacity: 0.55;
}

.footer-copy {
    font-size: 11px;
    color: rgb(255, 255, 255);
    line-height: 1.7;
}

/* Footer legal / meta strip */
.footer-legal {
    padding: 18px 0;
    border-bottom: 1px solid #1a1a1a;
}

.footer-legal-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 28px;
}

.footer-meta-row {
    display: flex;
    gap: 8px;
    font-size: 12px;
    white-space: nowrap;
}

.footer-meta-label {
    color: rgba(255,255,255,0.3);
}

.footer-meta-value {
    color: rgba(255,255,255,0.55);
}

/* ── Status Bar — NOT fixed, just last element ── */
.status-bar {
    background: #0084ff;
    border-top: 1px solid #1e1e1e;
}

.status-inner {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 28px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.975);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 7px #22c55e90;
    flex-shrink: 0;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 5px #22c55e70; }
    50%       { box-shadow: 0 0 12px #22c55ecc; }
}

.status-link {
    font-size: 11px;
    color: rgba(255,255,255,0.28);
    transition: color 0.15s;
}

.status-link:hover { color: rgba(255,255,255,0.6); }

/* ── Responsive ── */
@media (max-width: 680px) {
    .committee-year-block {
        flex-direction: column;
        gap: 8px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .pdf-frame { height: 420px; }

    .section { padding: 40px 0; }

    .hero-section { padding: 56px 0 52px; }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
