:root {
  color-scheme: light;
  --page: #f4f7fb;
  --surface: #fff;
  --ink: #172033;
  --muted: #667085;
  --line: #dce3ef;
  --primary: #5966e9;
  --primary-dark: #414ab8;
  --teal: #0e9f9a;
  --shadow: 0 18px 50px rgba(30, 43, 78, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 15px/1.6 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #8890f4; outline-offset: 4px; }
code { padding: 2px 5px; border-radius: 5px; background: #eef1f8; color: #3445a1; font: .88em/1.5 "Cascadia Code", Consolas, monospace; }
.skip-link { position: fixed; z-index: 10; top: -60px; left: 16px; padding: 10px 14px; border-radius: 9px; background: #fff; box-shadow: var(--shadow); }
.skip-link:focus { top: 14px; }
.site-shell { width: min(1220px, calc(100% - 48px)); margin: 0 auto; }

.masthead { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand:hover .brand-name { color: var(--primary-dark); }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(145deg, #6f7af2, #4652cf); color: #fff; font-size: 21px; font-weight: 900; box-shadow: 0 8px 22px rgba(70, 82, 207, .22); }
.brand-name { display: grid; color: var(--ink); font-size: 15px; font-weight: 850; line-height: 1.2; transition: color .15s ease; }
.brand-name small { margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 600; }
.masthead-status { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 10px; color: #536079; font-size: 11px; font-weight: 700; }
.offline-label, .version-pill { display: inline-flex; align-items: center; gap: 7px; min-height: 31px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px #e5f7f4; }
.version-pill { color: var(--primary-dark); background: #f0f2ff; border-color: #dfe3ff; }

.hero { position: relative; min-height: 346px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: center; gap: 44px; overflow: hidden; padding: 48px clamp(28px, 5vw, 66px); border-radius: 22px; background: radial-gradient(circle at 68% -24%, rgba(113, 128, 244, .36), transparent 40%), linear-gradient(120deg, #10182a, #17254a 72%, #1b3764); color: #fff; box-shadow: var(--shadow); }
.hero::after { position: absolute; right: -78px; bottom: -175px; width: 390px; height: 390px; border: 1px solid rgba(255, 255, 255, .11); border-radius: 50%; content: ""; pointer-events: none; }
.hero-copy, .hero-summary { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 12px; color: var(--primary); font-size: 11px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow { color: #97e3e0; }
.hero h1 { max-width: 700px; margin: 0; color: #fff; font-size: clamp(32px, 4.1vw, 50px); font-weight: 820; letter-spacing: -.045em; line-height: 1.12; }
.hero-lead { max-width: 640px; margin: 17px 0 24px; color: #bdc9de; font-size: 16px; line-height: 1.65; }
.hero-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 44px; padding: 10px 15px; border-radius: 10px; background: #fff; color: #243168; font-size: 12px; font-weight: 800; transition: transform .15s ease, background .15s ease; }
.hero-action:hover { transform: translateY(-2px); background: #ebefff; }
.hero-action span { font-size: 17px; line-height: 1; }
.hero-summary { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 25px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 17px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 1px rgba(255, 255, 255, .07); }
.summary-label, .summary-foot { color: #a7b8d3; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-summary strong { margin-top: 9px; color: #fff; font-size: 57px; line-height: 1; letter-spacing: -.05em; }
.hero-summary strong span { color: #b8c7e0; font-size: 16px; font-weight: 600; letter-spacing: 0; }
.summary-rule { width: 42px; height: 3px; margin: 18px 0 10px; border-radius: 3px; background: #77dad6; }
.hero-summary p { margin: 0 0 19px; color: #c6d1e3; font-size: 13px; line-height: 1.5; }
.summary-foot span { margin: 0 4px; color: #70d8d0; }

.library { padding: 63px 0 36px; scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 22px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2, .setup-panel h2, .exam-note h2 { margin: 0; font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.035em; line-height: 1.2; }
.section-heading > p { max-width: 390px; margin: 0 0 3px; color: var(--muted); font-size: 13px; }
.course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.course-card { --accent: #5966e9; --tint: #eef0ff; display: flex; flex-direction: column; min-width: 0; min-height: 365px; padding: 22px 23px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: 0 3px 12px rgba(30, 43, 78, .035); transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.course-card:hover { transform: translateY(-3px); border-color: #bfc9ec; box-shadow: var(--shadow); }
.course-flexbox { --accent: #0c8a8c; --tint: #e7f7f6; }
.course-web { --accent: #a45a34; --tint: #fff1e8; }
.course-mode { --accent: #7455a4; --tint: #f4efff; }
.card-top { display: flex; justify-content: space-between; align-items: start; gap: 15px; }
.course-mark { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 12px; background: var(--tint); color: var(--accent); font: 850 16px/1 "Cascadia Code", Consolas, monospace; letter-spacing: -.06em; }
.course-web .course-mark { font-size: 14px; }
.course-version { padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; color: #788398; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.course-category { margin: 25px 0 5px; color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.course-card h3 { margin: 0; font-size: 25px; font-weight: 800; letter-spacing: -.03em; }
.course-description { flex: 1; margin: 10px 0 19px; color: var(--muted); font-size: 13px; line-height: 1.62; }
.course-action { display: flex; align-items: center; justify-content: space-between; min-height: 43px; padding: 9px 12px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; transition: filter .15s ease; }
.course-action:hover { filter: brightness(.88); }
.course-action span { font-size: 18px; line-height: 1; }
.quick-links { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; min-height: 71px; margin: 19px -23px 0; padding: 12px 23px; border-top: 1px solid #e9edf5; background: #fbfcfe; }
.quick-links > span { width: 100%; color: #8a95a8; font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.quick-links a { color: #485571; font-size: 11px; font-weight: 700; }
.quick-links a:hover { color: var(--accent); text-decoration: underline; }
.quick-links code { padding: 0; background: none; color: inherit; font: inherit; }

.practical { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(275px, 1fr); gap: 17px; padding: 24px 0 60px; }
.setup-panel, .exam-note { border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.setup-panel { padding: 27px 30px; }
.setup-panel .eyebrow { margin-bottom: 6px; }
.setup-panel h2, .exam-note h2 { font-size: 21px; }
.setup-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 23px 0 0; padding: 0; list-style: none; }
.setup-steps li { display: flex; align-items: start; gap: 11px; }
.step-number { display: grid; flex: 0 0 31px; place-items: center; height: 31px; border-radius: 8px; background: #eef0ff; color: var(--primary-dark); font: 800 11px/1 "Cascadia Code", Consolas, monospace; }
.setup-steps strong { display: block; color: #26334d; font-size: 12px; }
.setup-steps p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.exam-note { position: relative; padding: 26px 27px 23px; border-color: #e8ddcb; background: #fffcf6; }
.note-symbol { position: absolute; top: 23px; right: 25px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff2d9; color: #a26210; font: 850 15px Georgia, serif; }
.exam-note h2 { margin-bottom: 11px; }
.exam-note p { max-width: 420px; margin: 8px 0 0; color: #675e52; font-size: 12px; line-height: 1.65; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 22px 0 32px; border-top: 1px solid var(--line); color: #8792a5; font-size: 11px; font-weight: 650; }

@media (max-width: 950px) {
  .hero { grid-template-columns: minmax(0, 1fr) 220px; gap: 25px; }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .site-shell { width: min(100% - 28px, 1220px); }
  .masthead { min-height: 75px; }
  .offline-label { display: none; }
  .hero { display: block; min-height: 0; padding: 34px 27px; }
  .hero-summary { display: none; }
  .hero h1 { font-size: clamp(30px, 8vw, 43px); }
  .hero-lead { font-size: 14px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 8px; }
  .library { padding-top: 40px; }
  .course-grid, .practical { grid-template-columns: 1fr; }
  .course-web { grid-column: auto; }
  .course-card { min-height: 0; }
  .course-description { flex: 0 1 auto; }
  .practical { padding-top: 9px; padding-bottom: 32px; }
  .setup-steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .course-card, .course-action, .hero-action { transition: none; }
}

/* Preserve literal programming operators such as !=, <=, >= and ->. */
:root, :root * {
  font-variant-ligatures: none !important;
  font-feature-settings: 'liga' 0, 'calt' 0 !important;
}

.online-preview-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; margin: 18px 0 0; padding: 10px 14px; border: 1px solid #cdd6f2; border-radius: 10px; background: #f1f4ff; color: #303a7d; font-size: .82rem; font-weight: 750; }
.online-preview-bar a { color: #303a7d; text-underline-offset: 3px; }
.online-preview-bar .online-download-button { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 13px; border-radius: 9px; background: #303a7d; color: #fff; font-weight: 800; text-decoration: none; }
.online-preview-bar .online-download-button:hover { background: #202a66; }
