/* Extra styles: intro section, site footer and term pages. Loaded after styles.css */

/* Intro section on the home page */
.intro {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border-neutral);
}
.intro h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px 0;
}
.intro p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 14px 0;
}
.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 18px 0;
}
.intro-card {
    background: var(--neutral-light-bg);
    border-radius: 12px;
    padding: 16px;
}
.intro-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px 0;
}
.intro-card p {
    font-size: 13px;
    margin: 0;
}
.intro ol {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    padding-left: 20px;
    margin: 0 0 14px 0;
}

/* Site footer */
.site-footer,
.term-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border-neutral);
    font-size: 13px;
}
.site-footer a,
.term-footer a,
.term a,
.term-back {
    color: var(--brand-blue);
    text-decoration: none;
}
.site-footer a:hover,
.term-footer a:hover,
.term a:hover,
.term-back:hover {
    text-decoration: underline;
}

.term {
    align-self: flex-start;
}
.term h1 {
    font-size: 40px;
    text-align: left;
    margin-top: 16px;
}
.term h2 {
    font-size: 17px;
    font-weight: 600;
    margin: 28px 0 8px 0;
}
.term p,
.term li {
    font-size: 14px;
    line-height: 1.6;
}
.term ul {
    padding-left: 20px;
    margin: 8px 0;
}
.term-updated {
    font-size: 13px;
    color: var(--text-secondary);
}
.term-back {
    font-size: 13px;
}
