:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif; color: #101936; background: #f2f5f9; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #ff7d57; outline-offset: 4px; }
.topbar, main, footer { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: .92rem; font-weight: 850; letter-spacing: .04em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; background: #101936; color: #38dfbd; font-size: .76rem; }
.topbar nav { display: flex; flex-wrap: wrap; gap: 8px; }
.topbar nav a { padding: 9px 12px; border-radius: 10px; color: #4d5873; font-size: .86rem; font-weight: 750; text-decoration: none; }
.topbar nav a:hover, .topbar nav .current { background: #e2faf5; color: #087864; }
.hero { padding: clamp(32px, 6vw, 72px); border-radius: 28px; background: radial-gradient(circle at 86% 12%, rgba(56,223,189,.22), transparent 18rem), linear-gradient(135deg, #111d4b, #070d22); color: #fff; }
.eyebrow { margin: 0 0 16px; color: #38dfbd; font-size: .76rem; font-weight: 900; letter-spacing: .14em; }
h1 { max-width: 680px; margin: 0; font-size: clamp(2.5rem, 6vw, 4.9rem); line-height: 1.04; letter-spacing: -.05em; }
.hero > p:not(.eyebrow) { max-width: 760px; color: #d3dced; line-height: 1.7; font-size: 1.07rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.download-link, .exam-link { display: inline-flex; align-items: center; min-height: 46px; padding: 12px 16px; border-radius: 10px; font-weight: 800; text-decoration: none; }
.download-link { background: #38dfbd; color: #073a3b; }
.download-link:hover { background: #77f0d7; }
.exam-link { background: #fff; color: #242c81; }
.exam-link:hover { background: #efefff; }
.courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.course { padding: clamp(24px, 3vw, 36px); border: 1px solid #dbe3ef; border-radius: 22px; background: #fff; box-shadow: 0 12px 35px rgba(16,25,54,.06); }
.course-mark { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 12px; background: #101936; color: #38dfbd; font-size: .85rem; font-weight: 900; }
.flexbox .course-mark { background: #6366f1; color: #fff; }
.html-css .course-mark { background: #218ba6; color: #fff; }
.mode .course-mark { background: #7856a6; color: #fff; }
.course-type { margin: 20px 0 7px; color: #087864; font-size: .72rem; font-weight: 900; letter-spacing: .13em; }
.mode .course-type { color: #71509e; }
.course h2 { margin: 0 0 9px; font-size: clamp(1.45rem, 2.5vw, 1.85rem); letter-spacing: -.03em; }
.course > p:not(.course-type) { min-height: 70px; margin: 0; color: #59647c; line-height: 1.6; }
.course > a { display: inline-block; margin-top: 19px; color: #353fac; font-weight: 800; text-underline-offset: 4px; }
.course > a:hover { color: #202782; }
.offline { margin: 30px 0 50px; padding: 17px 20px; border: 1px solid #c7d9e8; border-radius: 14px; background: #fff; color: #495570; line-height: 1.6; }
.offline a { color: #283ba0; font-weight: 750; }
footer { padding: 0 0 38px; color: #59647c; font-size: .9rem; }
@media (max-width: 700px) { .topbar { align-items: flex-start; flex-direction: column; } .courses { grid-template-columns: 1fr; } .course > p:not(.course-type) { min-height: 0; } }
