.home-page { overflow-wrap: anywhere; }
.home-page :is(a, input, button):focus-visible { outline: 3px solid #2e7169; outline-offset: 4px; }
.home-page :is(section[id], h2[id]) { scroll-margin-top: 90px; }
.home-intro { padding: 32px 0; border-bottom: 1px solid #d7e2df; background: #eff6f2; }
.home-intro__content { max-width: 760px; }
.home-kicker { display: block; margin: 0 0 8px; color: #2e7169; font-size: 14px; font-weight: 700; line-height: 1.7; }
.home-intro h1 { margin: 0 0 10px; color: #14333a; font-size: clamp(30px, 4vw, 44px); line-height: 1.45; letter-spacing: normal; font-weight: 900; text-wrap: balance; }
.home-intro__description { max-width: 640px; margin: 0 0 20px; color: #526c68; font-size: 17px; line-height: 1.85; }
.home-discovery { padding: 26px 0; }
.home-discovery--subjects { padding-top: 8px; padding-bottom: 32px; }
.home-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 14px; }
.home-section-heading h2 { margin: 0; color: #14333a; font-size: 25px; line-height: 1.6; }
.home-section-heading > a { display: inline-flex; align-items: center; min-height: 44px; color: #2e7169; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.home-exam-links { display: flex; flex-wrap: wrap; gap: 10px; }
.home-exam-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 18px; border: 1px solid #bfd3c8; border-radius: 8px; background: #fff; color: #244c35; font-size: 16px; font-weight: 700; line-height: 1.75; }
.home-exam-links a:hover { border-color: #2e7169; background: #eff6f2; }
.home-subject-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-subject-links a { display: flex; flex-direction: column; justify-content: center; min-height: 96px; padding: 16px; border: 1px solid #d7e2df; border-radius: 10px; background: #f8fbf9; }
.home-subject-links strong { color: #244c35; font-size: 17px; line-height: 1.7; }
.home-subject-links span { margin-top: 4px; color: #617579; font-size: 14px; line-height: 1.7; }
.home-subject-links a:hover { border-color: #2e7169; background: #eff6f2; }
.home-latest { border-top: 1px solid #d7e2df; }
.home-page .section { padding-block: 40px; }
.home-page .section-heading h2 { font-size: 27px; line-height: 1.5; }
.home-page .section-copy, .home-page .post-card p, .home-page .quiz-card p, .home-page .guide-grid p, .home-page .check-list { font-size: 16px; line-height: 1.85; }
.home-page .category-pill, .home-page .card-link { font-size: 14px; }
.home-page .card-link { min-height: 44px; align-items: center; }
.home-page .post-card h3, .home-page .quiz-card h3 { font-size: 20px; line-height: 1.55; }
.home-page .quiz-card h3 { margin-top: 0; }
.home-page .guide-grid a, .home-page .section-copy a { color: #2e7169; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 720px) {
    .home-intro { padding-block: 42px; }
    .home-subject-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-discovery { padding-block: 30px; }
    .home-discovery--subjects { padding-top: 4px; }
    .home-page .section { padding-block: 52px; }
}
@media (min-width: 1100px) {
    .home-subject-links { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}
@media (max-width: 599px) {
    .home-intro { padding: 24px 0; }
    .home-intro h1 { font-size: 30px; }
    .home-intro__description { margin-bottom: 16px; font-size: 16px; }
    .home-section-heading { gap: 0 14px; margin-bottom: 10px; }
    .home-section-heading h2 { font-size: 23px; }
    .home-exam-links { gap: 8px; }
    .home-exam-links a { flex: 1 1 calc(50% - 8px); padding-inline: 12px; }
    .home-subject-links { gap: 10px; }
    .home-subject-links a { padding: 14px; }
    .home-subject-links strong { font-size: 16px; }
    .home-page .section-heading h2 { font-size: 24px; }
}
