.page-notes { min-height: 100vh; }

.notes-page {
    width: min(820px, calc(100% - 2rem));
    margin: 0 auto;
    padding: calc(var(--nav-h) + 2.4rem) 0 4rem;
}

.notes-hero {
    text-align: center;
    margin-bottom: 2rem;
}

.notes-hero__kicker {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 0.7rem;
}

.notes-hero__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.65rem;
}

.notes-hero__desc {
    max-width: 38rem;
    margin: 0 auto;
    color: var(--text-dim);
}

.notes-list { display: flex; flex-direction: column; gap: 1.15rem; }

.note__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.8rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 0.45rem;
}

.note__title {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 0.85rem;
}

.note__body { color: var(--text); font-size: 0.98rem; line-height: 1.6; }
.note__body p { margin: 0.55rem 0; }
.note__body h3 { margin: 1.05rem 0 0.35rem; font-size: 1.05rem; }
.note__body ul { margin: 0.35rem 0 0.8rem 1.15rem; }
.note__body li { margin: 0.28rem 0; }
.note__body li p { display: inline; margin: 0; }
.note__body blockquote {
    margin: 0.7rem 0;
    padding: 0.15rem 0 0.15rem 0.9rem;
    border-left: 3px solid rgba(125, 180, 255, 0.55);
}
.note__body hr {
    border: 0;
    border-top: 1px solid var(--panel-border);
    margin: 1rem 0;
}
.note__body a { color: var(--accent-light); }
.note__body code,
.note__code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.88em;
}
.note__body code {
    background: rgba(255, 255, 255, 0.06);
    padding: 0.08rem 0.35rem;
    border-radius: 4px;
}
.note__code {
    display: block;
    margin: 0.7rem 0;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 8px;
    overflow-x: auto;
    white-space: pre-wrap;
}
.note__mention {
    color: var(--accent-light);
    background: rgba(59, 140, 255, 0.14);
    border-radius: 4px;
    padding: 0 0.28rem;
}
.note__img {
    display: block;
    max-width: 100%;
    margin-top: 0.9rem;
    border-radius: 10px;
}
.note__link { margin-top: 0.9rem; font-size: 0.88rem; }
.notes-empty { text-align: center; color: var(--text-dim); }
