/* simulai.org — Documentation Clean Slate */
/* Inter 600/700 headings, Inter 400 body, Fira Code 400 data */

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

/* Base Typography */
body {
    background: #FFFFFF;
    color: #475569;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.75;
}

/* Shared Elements */
.accent-line {
    width: 40px;
    height: 3px;
    background: #2563EB;
    margin-bottom: 12px;
}

.section-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.3;
    color: #1E293B;
    margin-bottom: 24px;
}

.version {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: #475569;
}

/* Fade-in Animations */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   HERO ZONE
   =========================== */
.hero {
    max-width: 800px;
    margin: 0 auto;
    padding: 64px 32px 40px;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4.5vw, 2.5rem);
    line-height: 1.3;
    color: #1E293B;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.hero-mission {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 28px;
    max-width: 560px;
    line-height: 1.75;
}

.hero-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #2563EB;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #1E293B;
}

/* ===========================
   STANDARDS & BENCHMARKS
   =========================== */
.standards {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 32px;
}

.standards-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.standards-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.standard-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #E5E7EB;
}

.standard-item:first-child {
    padding-top: 0;
}

.std-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1E293B;
}

.status-badge {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.status-draft {
    background: rgba(37, 99, 235, 0.1);
    color: #2563EB;
}

.status-deprecated {
    background: rgba(71, 85, 105, 0.1);
    color: #475569;
}

/* Featured Standard */
.featured-standard {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 1.5rem;
}

.fs-callout {
    font-family: 'Fira Code', monospace;
    font-size: 0.7rem;
    color: #2563EB;
    background: #DBEAFE;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fs-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1E293B;
    margin-bottom: 0.75rem;
}

.fs-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.fs-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.fs-stat {
    font-size: 0.8rem;
    color: #475569;
}

.fs-stat .version {
    font-weight: 400;
    color: #1E293B;
}

.download-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #2563EB;
    text-decoration: none;
    transition: color 0.2s ease;
}

.download-link:hover {
    color: #1E293B;
}

/* ===========================
   PUBLICATIONS TABLE
   =========================== */
.publications {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 32px;
}

.pub-table {
    width: 100%;
    border-collapse: collapse;
}

.pub-table th {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
    padding: 8px 8px 8px 0;
    border-bottom: 2px solid #1E293B;
}

.pub-table td {
    padding: 10px 8px 10px 0;
    border-bottom: 1px solid #E5E7EB;
    font-size: 0.9rem;
    color: #1E293B;
}

.pub-table tr:nth-child(even) {
    background: #F8FAFC;
}

.pub-date {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: #475569;
    white-space: nowrap;
}

/* ===========================
   WORKING GROUPS
   =========================== */
.working-groups {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 32px;
}

.wg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.wg-card {
    padding: 1.5rem 0;
    border-top: 3px solid #2563EB;
}

.wg-name {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.3;
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.wg-chair {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 0.75rem;
}

.wg-detail {
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 0.25rem;
}

.wg-focus {
    font-size: 0.8rem;
    color: #475569;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #E5E7EB;
    line-height: 1.6;
}

/* ===========================
   CALLOUT SECTION
   =========================== */
.callout {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 32px 48px;
}

.callout-box {
    background: #DBEAFE;
    border-radius: 8px;
    padding: 2rem;
}

.callout-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.3;
    color: #1E293B;
    margin-bottom: 0.75rem;
}

.callout-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 1rem;
    max-width: 520px;
}

.callout-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #2563EB;
    text-decoration: none;
    transition: color 0.2s ease;
}

.callout-link:hover {
    color: #1E293B;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 32px;
    border-top: 2px solid #1E293B;
}

.footer-cols {
    display: flex;
    gap: 48px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer-col {
    min-width: 120px;
}

.fc-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: #1E293B;
    margin-bottom: 8px;
}

.fc-link {
    display: block;
    font-size: 0.8rem;
    color: #475569;
    text-decoration: none;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.fc-link:hover {
    color: #2563EB;
}

.footer-bottom {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.license-badge {
    display: inline-block;
    font-family: 'Fira Code', monospace;
    font-size: 0.7rem;
    color: #475569;
    border: 1px solid #E5E7EB;
    padding: 4px 12px;
    border-radius: 4px;
}

.footer-copy {
    font-size: 0.75rem;
    color: #475569;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 640px) {
    .standards-layout {
        grid-template-columns: 1fr;
    }

    .wg-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 40px 20px 32px;
    }

    .standards,
    .publications,
    .working-groups,
    .callout,
    .footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .pub-table {
        font-size: 0.85rem;
    }

    .pub-table th:nth-child(3),
    .pub-table td:nth-child(3) {
        display: none;
    }

    .footer-cols {
        gap: 32px;
    }

    .fs-stats {
        flex-direction: column;
        gap: 4px;
    }
}
