.demo-banner {
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
    background: #e4eadf;
    color: #2e4638;
    padding: 12px 5%;
    font-size: 12px;
    letter-spacing: 0.02em;
}
.demo-banner a {
    text-decoration: underline;
}
.demo-banner button {
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}
.narrow {
    max-width: 850px;
    margin: auto;
}
.narrow h1 {
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.12;
    margin: 24px 0;
}
.narrow h2 {
    margin-top: 38px;
}
.narrow p {
    line-height: 1.8;
}
.lead {
    font-size: 20px;
}
.muted {
    color: #6c726a;
}
.lesson-list {
    padding-left: 24px;
}
.lesson-list li {
    padding: 18px 8px;
    border-bottom: 1px solid #deded2;
}
.lesson-list span {
    display: block;
    font-size: 13px;
    margin-top: 8px;
}
.course-symbol {
    font-size: 110px;
    position: absolute;
    left: 40%;
    top: 8%;
    color: #335945;
}
.search-label {
    display: grid;
    gap: 8px;
    font-size: 12px;
}
.search-label input {
    min-width: 240px;
    padding: 12px;
    border: 1px solid #c9d0c2;
    border-radius: 6px;
    background: #fffdf6;
    font: inherit;
}
fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 20px;
}
legend {
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 18px;
}
.quiz .option {
    display: flex;
    gap: 12px;
    align-items: baseline;
}
.quiz input {
    width: auto;
}
.reader-nav a {
    display: block;
    margin: 16px 0;
    line-height: 1.5;
}
.reader-nav a[aria-current] {
    font-weight: 700;
    color: #214835;
}
.learning-grid progress {
    display: block;
    width: 100%;
    accent-color: #34543d;
    margin: 20px 0;
}
.learning-grid .panel {
    padding: 32px;
}
.certificate-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: center;
    margin-top: 25px;
}
#next-step {
    margin-top: 25px;
}
main:focus {
    outline: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid #ad6c30;
    outline-offset: 4px;
}
@media (max-width: 700px) {
    .demo-banner {
        gap: 10px;
        font-size: 10px;
    }
    .header {
        gap: 18px;
        flex-wrap: wrap;
    }
    .header nav {
        gap: 14px;
        flex-wrap: wrap;
        font-size: 12px;
    }
    .section-heading {
        display: block;
    }
    .search-label {
        margin: 20px 0;
    }
    .reader {
        display: block;
    }
    .reader-nav {
        border: 0;
        margin-bottom: 28px;
    }
    .reader-nav a {
        margin: 8px 0;
    }
    .certificate-actions {
        flex-direction: column;
    }
    .certificate {
        padding: 28px 16px;
    }
}
@media print {
    .demo-banner,
    .header,
    footer,
    .certificate-actions,
    .skip {
        display: none !important;
    }
    .certificate {
        border: 2px solid #34543d;
        break-inside: avoid;
    }
    .section {
        padding: 0;
    }
}
