:root {
  --bg: #07111f;
  --panel: #0c1a2d;
  --panel-2: #10243d;
  --ink: #f3f7fb;
  --muted: #aab9ca;
  --cyan: #42d9ff;
  --blue: #4f7cff;
  --green: #60e6a8;
  --amber: #ffc857;
  --red: #ff6b6b;
  --line: rgba(130, 178, 220, .22);
  --shell: min(1180px, calc(100vw - 40px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 50% -15%, #17365b 0, var(--bg) 42rem); font-family: "Noto Sans SC", sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only,.skip-link { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 100; padding: 12px 18px; background: white; color: #111; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(7,17,31,.88); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(66,217,255,.7); border-radius: 12px; color: var(--cyan); font: 700 14px "Space Mono"; box-shadow: inset 0 0 24px rgba(66,217,255,.1); }
.brand strong,.brand small { display: block; }.brand small { margin-top: 2px; color: var(--muted); font: 10px "Space Mono"; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; }.site-nav a:hover { color: var(--cyan); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; }.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: white; }
.course-hero { padding: 68px 0 40px; }
.hero-frame { position: relative; min-height: 610px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #081321; box-shadow: 0 40px 100px rgba(0,0,0,.34); }
.hero-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,9,17,.96) 0%, rgba(3,9,17,.82) 37%, rgba(3,9,17,.12) 70%), linear-gradient(0deg, rgba(3,9,17,.78), transparent 45%); }
.hero-copy { position: relative; z-index: 1; width: min(690px, 86%); padding: 72px 64px; }
.eyebrow,.section-index,.lesson-kicker,.lesson-meta { color: var(--cyan); font: 700 12px "Space Mono"; letter-spacing: .08em; text-transform: uppercase; }
.hero-copy h1 { max-width: 720px; margin: 22px 0; font-size: clamp(48px, 7vw, 92px); line-height: .98; letter-spacing: -.055em; }
.hero-copy h1 em { color: var(--cyan); font-style: normal; }
.hero-copy p { max-width: 610px; color: #ced9e5; font-size: 19px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { padding: 13px 20px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; }.button-primary { background: var(--cyan); color: #04101b; border-color: transparent; }.button:hover { transform: translateY(-2px); }
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin-top: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.stat-strip div { padding: 23px; background: rgba(9,24,42,.94); }.stat-strip strong { display: block; color: var(--cyan); font: 700 29px "Space Mono"; }.stat-strip span { color: var(--muted); font-size: 13px; }
.section { padding: 72px 0; }.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; margin-bottom: 32px; }.section-heading h2 { margin: 12px 0 0; font-size: clamp(36px,5vw,62px); line-height: 1.06; }.section-heading > p { color: var(--muted); line-height: 1.8; }
.lesson-grid-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.course-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(150deg,var(--panel-2),var(--panel)); transition: transform .25s,border-color .25s; }.course-card:hover { transform: translateY(-5px); border-color: rgba(66,217,255,.62); }
.course-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }.course-card-body { padding: 22px; }.course-card-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--cyan); font: 700 11px "Space Mono"; }.course-card h3 { margin: 14px 0 10px; font-size: 22px; line-height: 1.35; }.course-card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }
.stage-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 30px 0 18px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 15px; background: rgba(16,36,61,.7); }.stage-banner strong { font-size: 21px; }.stage-banner span { color: var(--muted); }
.lesson-hero { padding: 66px 0 34px; }.lesson-kicker,.lesson-meta { display: flex; flex-wrap: wrap; gap: 18px; }.lesson-kicker span { padding: 7px 10px; border: 1px solid rgba(66,217,255,.28); border-radius: 999px; }.lesson-hero h1 { max-width: 980px; margin: 22px 0 16px; font-size: clamp(43px,6vw,76px); line-height: 1.08; letter-spacing: -.045em; }.lesson-dek { max-width: 820px; color: #c6d2df; font-size: 19px; line-height: 1.75; }.lesson-meta { margin-top: 24px; color: var(--muted); }
.lesson-visual img { width: 100%; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.32); }
.lesson-grid { display: grid; grid-template-columns: 260px minmax(0,760px); gap: 72px; justify-content: center; padding: 64px 0 80px; }.lesson-aside { position: sticky; top: 110px; align-self: start; display: grid; gap: 14px; }.aside-card,.aside-link { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(12,26,45,.78); }.aside-card span { display:block; margin-bottom:9px; color:var(--cyan); font:700 10px "Space Mono"; text-transform:uppercase; }.aside-card strong { line-height: 1.55; }.aside-link { color: var(--cyan); font-size: 13px; }.tag-list { display:flex; flex-wrap:wrap; gap:7px; }.tag-list b { padding:6px 9px; border-radius:999px; background:rgba(66,217,255,.09); color:#bdefff; font-size:11px; font-weight:600; }
.prose { color: #d8e1eb; font-size: 17px; line-height: 1.9; }.prose h2 { margin: 2.2em 0 .7em; color: white; font-size: 32px; line-height: 1.25; }.prose h3 { margin: 1.9em 0 .55em; color: #eef8ff; font-size: 22px; }.prose p,.prose ul,.prose ol { margin: 1em 0; }.prose li { margin: .55em 0; }.prose strong { color: white; }.prose code { padding: .15em .4em; border: 1px solid rgba(66,217,255,.2); border-radius: 6px; background: rgba(66,217,255,.08); color: #9feaff; font: .9em "Space Mono"; }.prose pre { overflow:auto; padding:20px; border:1px solid var(--line); border-radius:14px; background:#050c16; }.prose blockquote { margin: 1.7em 0; padding: 18px 22px; border-left: 3px solid var(--amber); border-radius: 0 12px 12px 0; background: rgba(255,200,87,.08); color: #ffe0a0; }.prose table { width:100%; border-collapse:collapse; font-size:14px; }.prose th,.prose td { padding:12px; border:1px solid var(--line); text-align:left; }.prose th { background:var(--panel-2); }
.prose dl { display:grid; grid-template-columns:minmax(150px,.34fr) 1fr; gap:0; margin:1.2em 0; border:1px solid var(--line); border-radius:14px; overflow:hidden; }.prose dt,.prose dd { margin:0; padding:13px 16px; border-bottom:1px solid var(--line); }.prose dt { background:rgba(66,217,255,.07); }.prose dd { color:var(--muted); }.prose dt:last-of-type,.prose dd:last-of-type { border-bottom:0; }
.lesson-orientation { margin:0 0 1em; padding:22px 24px; border:1px solid rgba(66,217,255,.34); border-radius:16px; background:linear-gradient(145deg,rgba(66,217,255,.08),rgba(79,124,255,.06)); }.prose .lesson-orientation h2,.prose .lesson-contract h2,.prose .lesson-self-check h2 { margin:0 0 .65em; font-size:25px; }.lesson-orientation p,.lesson-contract p { margin:.55em 0; }.lesson-orientation strong { color:#fff; }.lesson-contract { margin:0 0 2.4em; padding:18px 22px; border-left:3px solid rgba(154,255,92,.7); border-radius:0 12px 12px 0; background:rgba(154,255,92,.045); }.lesson-contract a { color:var(--cyan); text-decoration:underline; text-underline-offset:3px; }.lesson-self-check { margin:2.4em 0 0; padding:20px 24px; border:1px solid rgba(255,200,87,.34); border-radius:16px; background:rgba(255,200,87,.055); }.lesson-self-check ol { margin-bottom:0; }
.lesson-nav { display:grid; grid-template-columns:1fr 1fr; gap:18px; padding-bottom:80px; }.lesson-nav a { padding:24px; border:1px solid var(--line); border-radius:16px; background:var(--panel); }.lesson-nav a.next { text-align:right; }.lesson-nav span { display:block; margin-bottom:8px; color:var(--cyan); font:700 11px "Space Mono"; }.lesson-nav strong { font-size:17px; }
.plain-page { max-width:820px; padding:72px 0 90px; }.plain-page h1 { font-size:clamp(44px,6vw,72px); }.plain-page .prose { margin-top:36px; }
.site-footer { border-top:1px solid var(--line); padding:46px 0; background:#050c15; }.footer-grid { display:grid; grid-template-columns:1fr auto auto; gap:30px; align-items:end; }.footer-grid p { color:var(--muted); }.footer-links { display:flex; gap:18px; color:var(--cyan); }
[data-reveal] { opacity:0; transform:translateY(18px); transition:opacity .6s,transform .6s; }[data-reveal].is-visible { opacity:1; transform:none; }
@media (max-width: 900px) { .lesson-grid-cards { grid-template-columns:repeat(2,1fr); }.lesson-grid { grid-template-columns:1fr; gap:28px; }.lesson-aside { position:static; grid-template-columns:1fr 1fr; }.section-heading { grid-template-columns:1fr; }.stat-strip { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 680px) { :root { --shell:min(100% - 24px,1180px); }.site-nav { display:none; position:absolute; top:68px; left:12px; right:12px; padding:16px; border:1px solid var(--line); border-radius:14px; background:#091525; flex-direction:column; align-items:flex-start; }.site-nav.is-open { display:flex; }.menu-toggle { display:block; }.brand small { display:none; }.course-hero { padding-top:24px; }.hero-frame { min-height:620px; }.hero-copy { width:100%; padding:48px 24px; }.hero-copy h1 { font-size:50px; }.lesson-grid-cards { grid-template-columns:1fr; }.lesson-aside { grid-template-columns:1fr; }.lesson-nav { grid-template-columns:1fr; }.footer-grid { grid-template-columns:1fr; }.footer-links { flex-wrap:wrap; }.stage-banner { align-items:flex-start; flex-direction:column; }.prose dl { grid-template-columns:1fr; }.prose dt,.prose dd { border-bottom:1px solid var(--line); }.lesson-orientation { padding:18px; } }
