/* Static course pages (scripts/build-seo-pages.mjs). Same tokens as src/ui.css, no app bundle. */
/* Self-hosted copies of the Google Fonts files (latin and latin-ext; licences in public/fonts). The files are variable,
   but each weight gets its own face as in Google's stylesheet, so in-between weights such as 650 still resolve to 700. */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/plus-jakarta-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/plus-jakarta-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/plus-jakarta-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/plus-jakarta-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/plus-jakarta-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  color-scheme: light;
  --bg: #f3f6fc; --surface: #fff; --line: #dbe3f1; --ink: #0f2147; --muted: #56688a;
  --accent: #285bf2; --accent-hover: #1f4ad6; --link: #2453d6; --tint: #ebf1ff;
  --shadow: 0 1px 2px rgb(15 33 71 / 5%), 0 8px 24px -14px rgb(15 33 71 / 22%);
  --max: 1080px; --gutter: clamp(16px, 4vw, 40px);
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  background: var(--bg); color: var(--ink);
}
:root[data-appearance=dark] {
  color-scheme: dark;
  --bg: #0a101d; --surface: #121a2b; --line: #243049; --ink: #edf2fd; --muted: #9daac4;
  --accent: #3d6cf5; --accent-hover: #5580ff; --link: #8fb0ff; --tint: #18233d;
  --shadow: none;
}
:root[data-appearance=dark] .brand .word { filter: invert(1) hue-rotate(180deg) brightness(1.4); }
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 2; }
.top, main, .foot { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .word { height: 24px; width: auto; }
.top nav { display: flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 600; flex-wrap: wrap; }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a:hover { color: var(--link); }
.btn, .top nav a.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; }
.btn:hover, .top nav a.btn:hover { background: var(--accent-hover); color: #fff; }
.crumbs { font-size: 14px; color: var(--muted); margin: 8px 0 24px; }
.crumbs a { color: var(--muted); }
.hero { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow); }
.hero .icon { display: block; margin-bottom: 16px; }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 12px; }
h2 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -.02em; margin: 0 0 12px; }
h3 { font-size: 18px; margin: 0 0 6px; }
.lead { font-size: 18px; color: var(--muted); max-width: 720px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; }
.chips span { background: var(--tint); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 24px 0 0; font-weight: 600; }
.block { margin-top: clamp(40px, 6vw, 64px); }
.block > p { max-width: 760px; }
.learn { margin: 0; padding-left: 20px; columns: 2 280px; column-gap: 40px; }
.learn li { break-inside: avoid; margin-bottom: 8px; }
.chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.chapters > li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; }
.chapters h3 span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }
.chapters p { margin: 0 0 10px; color: var(--muted); }
.lessons { margin: 0; padding-left: 22px; columns: 2 220px; column-gap: 32px; font-size: 15px; }
.lessons li { break-inside: avoid; }
.steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; counter-increment: step; }
.steps h3::before { content: counter(step) '. '; color: var(--accent); }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.cards { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--link); text-decoration: underline; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .meta { font-size: 14px; font-weight: 600; color: var(--ink); margin-top: auto; padding-top: 8px; }
.card .links { display: flex; gap: 16px; font-weight: 600; font-size: 15px; }
.card .links a { min-height: 32px; display: inline-flex; align-items: center; }
.others { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.others a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 600; text-decoration: none; }
.others a:hover { border-color: var(--accent); }
.ad { margin-top: 40px; }
.ad span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.foot { margin-top: 72px; padding-block: 28px 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { color: var(--muted); }
