/* =========================================
   01. NOTES LIST (INDEX PAGE)
========================================= */

.notes-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.notes-list {
    border-top: 1px solid var(--border);
}

.note-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 28px 0;

    border-bottom: 1px solid var(--border);
}

.note-category {
    color: var(--text-muted);

    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
}

.note-item h3 {
    margin-top: 10px;

    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.025em;

    transition: color var(--transition);
}

.note-item p {
    margin-top: 6px;

    color: var(--text-secondary);
    font-size: 13px;
}

.note-arrow {
    color: var(--text-muted);
    font-size: 18px;

    transition: all var(--transition);
}

.note-item:hover h3 {
    color: var(--accent);
}

.note-item:hover .note-arrow {
    color: var(--accent);
    transform: translate(3px, -3px);
}


/* =========================================
   02. NOTES PAGE HERO
========================================= */

.notes-hero {
    padding-top: 90px;
    padding-bottom: 70px;
    border-bottom: 1px solid var(--border);
}

.notes-hero h1 {
    margin-top: 22px;
    font-size: clamp(40px, 7vw, 76px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.065em;
}

.notes-hero p {
    max-width: 680px;
    margin-top: 24px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.9;
}


/* =========================================
   03. TECHNICAL WRITING & ARTICLE CARDS
========================================= */

.notes-main {
    padding-top: 70px;
    padding-bottom: 100px;
}

.notes-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}

.notes-intro h2 {
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 600;
    letter-spacing: -0.045em;
}

.notes-intro span {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-card {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    align-items: start;
    gap: 32px;

    padding: 28px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);

    transition: border-color var(--transition);
}

.article-card:hover {
    border-color: var(--border-hover);
}

.article-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-category {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
}

.article-status {
    display: inline-block;
    width: fit-content;
    padding: 4px 8px;

    border: 1px solid var(--border);
    border-radius: 4px;

    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.06em;
}

.article-content h3 {
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -0.03em;
    transition: color var(--transition);
}

.article-card:hover .article-content h3 {
    color: var(--accent);
}

.article-content p {
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 13.5px;
    line-height: 1.8;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.article-tags span {
    padding: 5px 9px;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 10px;
}

.article-read {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 11px;
    white-space: nowrap;
}


/* =========================================
   04. DOCUMENTATION CALLOUT
========================================= */

.notes-callout {
    margin-top: 48px;
    padding: 36px;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top right,
            rgba(41, 151, 255, 0.08),
            transparent 50%),
        var(--surface);
}

.notes-callout h3 {
    margin-top: 14px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.notes-callout p {
    max-width: 640px;
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.85;
}

.notes-callout a {
    display: inline-block;
    margin-top: 22px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    transition: opacity var(--transition);
}

.notes-callout a:hover {
    opacity: 0.8;
}


/* =========================================
   05. RESPONSIVE (NOTES)
========================================= */

@media (max-width: 800px) {
    .article-card {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .article-meta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (max-width: 600px) {
    .notes-hero {
        padding-top: 70px;
        padding-bottom: 55px;
    }

    .notes-hero h1 {
        font-size: 42px;
    }

    .notes-hero p {
        font-size: 14px;
    }

    .note-item {
        align-items: flex-start;
    }

    .note-item h3 {
        font-size: 15px;
    }

    .article-card {
        padding: 22px;
    }

    .notes-callout {
        padding: 26px;
    }
}