@charset "UTF-8";
:root {
  --blue: #2563eb;
  --ink: #182339;
  --muted: #7d8796;
  --line: #e7ebf1;
  --surface: #f7f9fc;
  --radius: 14px;
  --font: "Segoe UI", "Microsoft YaHei", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 17px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button,
a,
input,
textarea,
summary {
  outline-offset: 5px;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
button {
  border: 0;
  background: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.45;
  letter-spacing: -0.025em;
}
h1 {
  font-size: 46px;
  font-weight: 730;
}
h2 {
  font-size: 29px;
}
h3 {
  font-size: 20px;
}
p {
  color: #778292;
}
.container {
  width: min(1200px, calc(100% - 72px));
  margin-inline: auto;
}
.header {
  height: 85px;
  border-bottom: 1px solid var(--line);
  background: #ffffffef;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(1350px, calc(100% - 72px));
  height: 100%;
  display: flex;
  align-items: center;
  margin: auto;
  gap: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 750;
  white-space: nowrap;
  line-height: 1.3;
}
.brand-mark {
  width: 38px;
  height: 38px;
  background: var(--blue);
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 9px #2563eb20;
}
.brand-mark svg {
  width: 30px;
  height: 30px;
}
.brand small {
  display: block;
  font-size: 12px;
  letter-spacing: 2.2px;
  color: #8a94a4;
  font-weight: 400;
  margin-top: 4px;
}
.brand-dot {
  color: var(--blue);
}
.header nav {
  display: flex;
  align-self: stretch;
  gap: 34px;
}
.header nav a {
  display: flex;
  align-items: center;
  font-size: 17px;
  color: #687387;
  position: relative;
}
.header nav a:hover,
.header nav a.active {
  color: var(--blue);
}
.header nav a.active:after {
  content: "";
  position: absolute;
  height: 3px;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 3px;
  background: var(--blue);
}
.header-right {
  margin-left: auto;
  display: flex;
  gap: 20px;
  align-items: center;
}
.search-open {
  background: #f5f7fa;
  display: flex;
  gap: 10px;
  align-items: center;
  color: #8a94a4;
  padding: 9px 13px;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  font-size: 15px;
}
.search-open .icon {
  width: 16px;
}
kbd {
  border: 1px solid #e1e5ec;
  background: #fff;
  border-radius: 4px;
  padding: 0 4px;
  font: 13px var(--font);
  color: #929ca9;
}
.icon-button {
  padding: 7px;
  display: inline-flex;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}
.icon-button:hover {
  background: #f1f5fa;
}
.mobile-menu {
  display: none;
}
.skip {
  position: fixed;
  top: -80px;
  background: #fff;
  z-index: 100;
  padding: 12px;
}
.skip:focus {
  top: 0;
}
.button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 550;
  transition: 0.18s;
}
.button .icon {
  width: 17px;
}
.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 4px 10px #2563eb16;
}
.primary:hover {
  background: #164fce;
  transform: translateY(-1px);
}
.secondary {
  border: 1px solid #dfe6ef;
  background: #fff;
}
.secondary:hover {
  background: #f4f7fc;
}
.plain:hover {
  background: #f4f7fc;
}
.small {
  padding: 8px 16px;
  font-size: 15px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 550;
}
.text-link .icon {
  width: 17px;
}
.hero {
  background: linear-gradient(110deg, #f6f9ff 0%, #f7faff 38%, #edf4ff 100%);
  overflow: hidden;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 65px;
  padding-top: 65px;
  padding-bottom: 65px;
}
.hero-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #5c7292;
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.pulse {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #2563eb10;
}
.hero h1 {
  font-size: 54px;
  font-weight: 750;
  line-height: 1.45;
  letter-spacing: 1px;
}
.hero h1 span {
  color: var(--blue);
}
.hero-copy > p {
  margin: 21px 0 27px;
  font-size: 17px;
  line-height: 1.95;
  color: #77869c;
}
.hero-actions {
  display: flex;
  gap: 13px;
}
.hero-trust {
  display: flex;
  gap: 23px;
  color: #8794a6;
  font-size: 14px;
  margin-top: 30px;
}
.hero-trust span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.hero-trust .icon {
  width: 14px;
  height: 14px;
}
.hero-editor {
  background: #182239;
  color: #bbc9df;
  border: 1px solid #2a3b57;
  border-radius: 13px;
  box-shadow: 0 20px 55px #164f9f1c;
  position: relative;
  transform: rotate(-1deg);
  margin-right: 4px;
}
.editor-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid #ffffff0d;
  font:
    13px Consolas,
    monospace;
  color: #8193b0;
}
.editor-bar > span:last-child {
  margin-left: auto;
}
.dots {
  display: flex;
  gap: 5px;
}
.dots i {
  width: 7px;
  height: 7px;
  background: #ff7970;
  border-radius: 50%;
}
.dots i:nth-child(2) {
  background: #f5c566;
}
.dots i:nth-child(3) {
  background: #6dc5a0;
}
.code-art {
  padding: 23px 8px 29px;
  font:
    14px/2.7 Consolas,
    "Microsoft YaHei",
    monospace;
  overflow: hidden;
}
.line {
  display: flex;
  white-space: pre;
}
.line > i {
  font-style: normal;
  color: #4c627e;
  padding-right: 19px;
  width: 40px;
  text-align: right;
}
.line b {
  color: #78baff;
  font-weight: 400;
}
.line em {
  color: #a2baff;
  font-style: normal;
}
.line q {
  color: #a7dfcb;
}
.syntax-muted {
  color: #5c7695;
}
.cursor {
  border-left: 1px solid #a0c5ff;
  height: 15px;
  margin-top: 7px;
}
.editor-status {
  padding: 9px 17px;
  border-top: 1px solid #ffffff09;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6e86a8;
}
.editor-status > span:first-child {
  color: #7bbfae;
}
.editor-floating {
  position: absolute;
  bottom: -23px;
  right: -20px;
  background: #fff;
  box-shadow: 0 6px 26px #19325413;
  border: 1px solid #e4edf7;
  border-radius: 11px;
  padding: 15px 23px 15px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  transform: rotate(1deg);
}
.editor-floating > .icon {
  border-radius: 50%;
  background: #ecfaf4;
  color: #36ad80;
  padding: 7px;
  width: 33px;
  height: 33px;
}
.editor-floating strong {
  display: block;
  font-size: 15px;
  color: #364761;
}
.editor-floating div > span {
  font-size: 13px;
  color: #9aa5b4;
}
.topic-rail {
  border-top: 1px solid #dfe8f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 22px;
  font: 15px var(--font);
  color: #7587a2;
}
.topic-rail > span {
  font-size: 14px;
}
.topic-rail a {
  color: #566a89;
}
.topic-rail a:last-child {
  color: var(--blue);
  display: flex;
  gap: 8px;
  align-items: center;
}
.topic-rail .icon {
  width: 15px;
}
.home-content {
  padding-top: 50px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 24px;
}
.eyebrow {
  font: 12px/1.5 var(--font);
  letter-spacing: 1.7px;
  color: #8a98ac;
  display: block;
  font-weight: 650;
  margin-bottom: 8px;
}
.section-head p {
  margin-top: 8px;
  font-size: 15px;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.course-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
  transition: 0.2s;
  display: block;
  background: #fff;
}
.course-card:hover {
  border-color: #b5cdf7;
  box-shadow: 0 8px 25px #2b5a9810;
  transform: translateY(-3px);
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}
.tech-logo {
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  border-radius: 10px;
  width: 43px;
  height: 43px;
}
.orange {
  background: #fff0e7;
  color: #e77a3f;
}
.blue {
  background: #eef4ff;
  color: #3779ec;
}
.yellow {
  background: #fff8d9;
  color: #b89621;
}
.green {
  background: #eaf7f0;
  color: #39a37a;
}
.purple {
  background: #f2edff;
  color: #9568d0;
}
.coral {
  background: #fff0ed;
  color: #d16d62;
}
.tiny {
  font-size: 13px;
}
.muted {
  color: #919aa8;
}
.course-card h3 {
  font-size: 21px;
}
.course-card > p {
  font-size: 15px;
  margin-top: 9px;
  min-height: 23px;
}
.card-bottom {
  border-top: 1px solid #edf0f5;
  display: flex;
  justify-content: space-between;
  color: #8793a4;
  font-size: 13px;
  margin-top: 23px;
  padding-top: 14px;
}
.card-bottom span:last-child {
  color: #687d9c;
  display: flex;
  gap: 7px;
  align-items: center;
}
.card-bottom .icon {
  width: 13px;
  height: 13px;
}
.path-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #e4ebf7;
  background: linear-gradient(100deg, #f5f8fe, #fafcff);
  padding: 24px;
  border-radius: 12px;
  margin: 25px 0 50px;
}
.path-icon {
  color: #5386de;
  background: #e7efff;
  border-radius: 10px;
  padding: 12px;
  display: flex;
}
.path-banner h3 {
  font-size: 18px;
}
.path-banner .eyebrow {
  font-size: 11px;
  margin-bottom: 5px;
}
.path-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-inline: auto;
  font: 14px var(--font);
  color: #677d9a;
}
.path-steps span {
  background: #fff;
  border: 1px solid #e4ebf6;
  padding: 7px 11px;
  border-radius: 6px;
}
.path-steps i {
  font-style: normal;
  color: #a2b3cc;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 49px;
}
.tool-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  display: flex;
  align-items: center;
  padding: 20px;
  gap: 14px;
  transition: 0.2s;
  background: #fff;
}
.tool-card:hover {
  background: #fafcff;
  border-color: #c0d2ed;
  transform: translateY(-2px);
}
.tool-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font: 700 16px var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tool-card h3 {
  font-size: 16px;
}
.tool-card p {
  font-size: 13px;
  margin-top: 5px;
}
.tool-card > .icon {
  width: 14px;
  margin-left: auto;
  color: #afbac9;
}
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
  margin-bottom: 55px;
}
.story-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  display: block;
  transition: 0.2s;
}
.story-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px #1932540d;
}
.story-cover {
  height: 170px;
  position: relative;
  overflow: hidden;
  padding: 21px 24px;
}
.cover-kicker {
  font-size: 11px;
  letter-spacing: 2px;
  opacity: 0.65;
}
.story-cover strong {
  font-size: 27px;
  position: absolute;
  bottom: 25px;
  left: 24px;
}
.cover-symbol {
  position: absolute;
  right: 20px;
  bottom: 8px;
  transform: rotate(-14deg);
  opacity: 0.12;
}
.cover-symbol .icon {
  height: 120px;
  width: 120px;
  stroke-width: 1;
}
.cover-lines {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.08;
  top: -110px;
  left: 70px;
}
.story-copy {
  padding: 21px;
}
.blue-text {
  color: var(--blue);
}
.story-copy h3 {
  font-size: 19px;
  margin: 9px 0;
  line-height: 1.6;
}
.story-copy > p {
  font-size: 14px;
  line-height: 1.9;
}
.story-meta {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9aa5b4;
  margin-top: 21px;
}
.story-meta .icon {
  width: 15px;
}
.learning-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f8fd;
  border: 1px solid #e8eef7;
  border-radius: 13px;
  padding: 33px 38px;
  margin-bottom: 55px;
}
.learning-cta .tag {
  font-size: 11px;
  letter-spacing: 1.8px;
  color: #7a93bb;
  background: none;
  padding: 0;
}
.learning-cta h2 {
  font-size: 27px;
  margin-top: 10px;
}
.learning-cta p {
  font-size: 15px;
  margin-top: 10px;
}
footer {
  background: #fafbfd;
  border-top: 1px solid var(--line);
  margin-top: 60px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 35px;
}
.footer-top .brand {
  font-size: 21px;
}
.footer-top .brand-mark {
  width: 29px;
  height: 29px;
  border-radius: 8px;
}
.footer-top .brand-mark svg {
  width: 24px;
}
.footer-top p {
  font-size: 14px;
  margin-top: 12px;
}
.footer-links {
  display: flex;
  gap: 35px;
  color: #7a8799;
  font-size: 15px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 18px;
  font-size: 12px;
  color: #98a3b3;
  display: flex;
  justify-content: space-between;
}
.crumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: #98a3b3;
  padding: 24px 0;
}
.crumb .icon {
  width: 10px;
  height: 10px;
  color: #b3bdca;
}
.crumb a:hover {
  color: var(--blue);
}
.page-mast {
  padding: 20px 0 42px;
}
.page-mast h1 {
  font-size: 38px;
  margin-top: 9px;
}
.page-mast p {
  font-size: 16px;
  margin-top: 13px;
  max-width: 650px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 38px;
  margin-bottom: 70px;
  align-items: start;
}
.sidebar {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 12px;
  background: #fcfdff;
}
.sidebar-title {
  font-size: 13px;
  color: #94a0b1;
  padding: 0 12px 14px;
  letter-spacing: 1px;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border-radius: 7px;
  font-size: 15px;
  color: #7d889b;
  margin-bottom: 3px;
}
.side-link > .icon {
  width: 17px;
  height: 17px;
}
.side-link > .icon:last-child {
  margin-left: auto;
  width: 11px;
}
.side-link:hover {
  background: #f1f5fc;
}
.side-link.selected {
  color: var(--blue);
  background: #ecf2ff;
  font-weight: 600;
}
.sidebar-note {
  border-top: 1px solid var(--line);
  margin: 22px 10px 0;
  padding-top: 22px;
  font-size: 14px;
}
.sidebar-note > .icon {
  color: #7895c1;
  margin-bottom: 10px;
}
.sidebar-note strong {
  display: block;
  font-size: 14px;
}
.sidebar-note p {
  font-size: 13px;
  margin: 9px 0 11px;
  line-height: 1.8;
}
.sidebar-note a {
  color: #6688bc;
  font-size: 13px;
}
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 23px;
  padding-bottom: 14px;
}
.filter-tabs {
  display: flex;
  gap: 23px;
}
.filter-tabs button {
  font-size: 15px;
  color: #8995a7;
  padding: 4px 0;
  position: relative;
}
.filter-tabs button.selected {
  color: var(--blue);
  font-weight: 600;
}
.filter-tabs button.selected:after {
  position: absolute;
  content: "";
  height: 2px;
  background: var(--blue);
  left: 0;
  right: 0;
  bottom: -15px;
}
.catalog-courses {
  grid-template-columns: repeat(2, 1fr);
}
.editorial-note {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #f7f9fd;
  border-radius: 8px;
  padding: 17px;
  margin-top: 25px;
  font-size: 14px;
  color: #8799b1;
}
.editorial-note .icon {
  width: 16px;
}
.category-mast {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.category-art {
  font-size: 80px;
  font-family: Consolas, monospace;
  letter-spacing: 8px;
  line-height: 1;
  color: #cfddf5;
  width: 240px;
  text-align: center;
  margin-top: -10px;
}
.category-art > span {
  color: #7fa4e6;
}
.category-art small {
  display: block;
  font: 11px var(--font);
  letter-spacing: 2px;
  color: #9eb4d5;
  margin-top: 12px;
}
.roadmap {
  padding: 26px;
  border: 1px solid #e1e9f8;
  background: #f6f9ff;
  border-radius: 13px;
  margin-bottom: 32px;
}
.roadmap h2 {
  font-size: 22px;
}
.roadmap-track {
  display: flex;
  gap: 15px;
  margin-top: 23px;
}
.roadmap-track a {
  flex: 1;
  background: #fff;
  border: 1px solid #e5ecf8;
  border-radius: 8px;
  padding: 13px;
}
.roadmap-track span {
  font: 12px Consolas;
  color: #7da2e1;
}
.roadmap-track strong {
  font-size: 15px;
  display: block;
  margin: 8px 0 3px;
}
.roadmap-track small {
  font-size: 12px;
  color: #99a6b9;
}
.roadmap-track a:hover {
  border-color: #94b6f0;
}
.tag {
  display: inline-block;
  border-radius: 5px;
  background: #f3f5f9;
  color: #8291a7;
  font-size: 13px;
  padding: 3px 9px;
}
.blue-tag {
  background: #edf4ff;
  color: #4c82d7;
}
.course-hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background: #f6f9ff;
  border: 1px solid #e8effb;
  border-radius: 16px;
  padding: 45px 52px;
  gap: 40px;
  align-items: center;
  margin: 5px 0 45px;
}
.course-hero h1 {
  font-size: 43px;
  margin: 14px 0;
}
.course-hero p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 25px;
}
.html-art {
  text-align: center;
}
.html-art > div {
  width: 120px;
  clip-path: polygon(0 0, 100% 0, 90% 90%, 50% 100%, 10% 90%);
  background: linear-gradient(90deg, #ec854c, #ffac72);
  color: #fff;
  margin: auto;
  font: 800 20px var(--font);
  padding: 15px 0 20px;
  box-shadow: 0 15px 25px #f5a87533;
}
.html-art big {
  display: block;
  font: 800 100px/1 var(--font);
  margin-top: 2px;
}
.html-art > span {
  display: block;
  font:
    13px Consolas,
    "Microsoft YaHei";
  color: #b2bfd2;
  margin-top: 20px;
}
.course-overview {
  display: grid;
  grid-template-columns: 1fr 275px;
  gap: 40px;
}
.course-overview h2 {
  font-size: 26px;
}
.outcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 22px 0 38px;
}
.outcome-grid p {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.outcome-grid .icon {
  color: #58ac91;
  width: 15px;
  height: 15px;
}
.chapter-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.chapter-row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.chapter-row:last-child {
  border: 0;
}
.chapter-row:hover {
  background: #f8faff;
}
.chapter-row > span {
  font: 15px Consolas;
  color: #96add0;
}
.chapter-row h3 {
  font-size: 17px;
}
.chapter-row p {
  font-size: 13px;
  margin-top: 5px;
}
.chapter-row > .icon {
  margin-left: auto;
  color: #a0aec1;
  width: 16px;
}
.info-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfdff;
  padding: 25px;
}
.info-panel h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.info-panel p {
  font-size: 14px;
  line-height: 1.9;
}
.info-panel hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 23px 0;
}
.info-panel a {
  color: #5c83bf;
  font-size: 14px;
}
.resource-link {
  display: flex;
  gap: 7px;
  align-items: center;
}
.resource-link .icon {
  width: 15px;
}
.small-note {
  font-size: 13px;
  color: #a1abba;
  margin: 16px;
  line-height: 1.9;
}
.reading-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 155px;
  gap: 35px;
  align-items: start;
}
.lesson-sidebar,
.toc {
  position: sticky;
  top: 110px;
}
.lesson-sidebar {
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.back-link {
  font-size: 15px;
  color: #6485b7;
}
.lesson-sidebar h3 {
  font-size: 14px;
  margin: 28px 0 15px;
  color: #8999af;
}
.lesson-link {
  display: flex;
  gap: 10px;
  padding: 10px;
  font-size: 14px;
  border-radius: 6px;
  color: #7d8da3;
  margin: 3px 0;
}
.lesson-link span {
  font: 13px Consolas;
  color: #a7b5c9;
}
.lesson-link.selected {
  background: #ecf3ff;
  color: var(--blue);
  font-weight: 600;
}
.lesson-link:hover {
  background: #f4f7fc;
}
.lesson-help {
  background: #f8fafd;
  border: 1px solid #edf1f8;
  margin-top: 35px;
  border-radius: 9px;
  padding: 16px;
  font-size: 13px;
  color: #6687ba;
}
.lesson-help > .icon {
  width: 20px;
  margin-bottom: 10px;
}
.lesson-help strong {
  display: block;
  font-size: 14px;
}
.lesson-help p {
  margin: 7px 0 10px;
}
.article-header h1 {
  font-size: 35px;
  line-height: 1.5;
  margin-top: 12px;
}
.article-lead {
  font-size: 18px;
  margin-top: 9px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #98a4b5;
  font-size: 13px;
  margin-top: 20px;
}
.article-meta span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.article-meta .icon {
  width: 14px;
  height: 14px;
}
.article-meta .icon-button:first-of-type {
  margin-left: auto;
}
.answer-box {
  background: #f0f6ff;
  border-left: 3px solid #7ba6eb;
  border-radius: 0 8px 8px 0;
  padding: 19px 23px;
  margin: 30px 0;
}
.answer-box strong {
  font-size: 15px;
  color: #4a78b9;
}
.answer-box p {
  font-size: 15px;
  color: #6d87aa;
  margin-top: 8px;
  line-height: 1.9;
}
.lesson-body section h2 {
  font-size: 24px;
  margin: 31px 0 16px;
}
.lesson-body section p {
  font-size: 16px;
  color: #6b7c94;
  line-height: 2;
  margin: 12px 0;
}
.lesson-body p a,
.prose a {
  color: var(--blue);
  border-bottom: 1px solid #b4caf2;
}
code {
  font:
    15px/1.7 Consolas,
    monospace;
  background: #f0f4f9;
  color: #53729d;
  padding: 2px 4px;
  border-radius: 4px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 15px 0;
}
th {
  text-align: left;
  background: #f5f8fc;
  color: #6b7f9e;
  font-weight: 500;
}
th,
td {
  padding: 13px 12px;
  border: 1px solid var(--line);
}
td {
  color: #7d8ca1;
}
.table-scroll {
  overflow: auto;
}
.code-block {
  background: #172238;
  border: 1px solid #263850;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 18px;
}
.code-block > div {
  padding: 10px 17px;
  background: #1e2c44;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #7e98bc;
  font-size: 13px;
}
.code-block button {
  color: #8fa8cb;
  font-size: 13px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.code-block .icon {
  width: 13px;
  height: 13px;
}
pre {
  margin: 0;
  padding: 23px;
  overflow: auto;
  color: #a8c6eb;
  font:
    14px/2 Consolas,
    "Microsoft YaHei",
    monospace;
}
pre code {
  background: none;
  color: inherit;
  padding: 0;
  font: inherit;
}
.example-result {
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 8px;
  margin-top: 15px;
}
.example-result > span {
  display: block;
}
.example-result strong {
  display: block;
  font-size: 15px;
  margin-top: 8px;
}
.example-result p {
  font-size: 14px !important;
  margin-bottom: 0 !important;
}
.inline-note {
  background: #f7f9fc;
  border: 1px solid #e9edf5;
  border-radius: 8px;
  padding: 16px 19px;
  font-size: 14px;
  color: #8291a7;
  line-height: 1.9;
}
.inline-note .icon {
  color: #85a1cc;
  width: 16px;
  height: 16px;
  margin-right: 7px;
}
details {
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 7px;
  font-size: 15px;
}
summary {
  cursor: pointer;
  color: #617da5;
}
.sources {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 22px;
  font-size: 14px;
}
.sources p {
  margin: 8px 0;
}
.sources a {
  color: #5b84c2;
}
.sources span {
  font-size: 13px;
  color: #a0acbc;
}
.prev-next {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
}
.prev-next a {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  flex: 1;
}
.prev-next a:last-child {
  text-align: right;
}
.prev-next small {
  display: block;
  font-size: 12px;
  color: #9aabc1;
}
.prev-next strong {
  font-size: 15px;
  display: block;
  margin-top: 6px;
  color: #587faf;
}
.toc {
  font-size: 13px;
  color: #99a4b4;
  padding-left: 15px;
  border-left: 1px solid var(--line);
}
.toc > span {
  color: #5f7390;
  display: block;
  font-size: 14px;
  margin-bottom: 15px;
}
.toc a {
  display: block;
  padding: 8px 0;
}
.toc a:hover {
  color: var(--blue);
}
.toc hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 17px 0;
}
.tools-mast {
  text-align: center;
  padding: 7px 0 50px;
}
.tools-mast .page-mast {
  padding-bottom: 26px;
}
.tools-mast .page-mast p {
  margin-inline: auto;
}
.large-search {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1px solid #dce5f3;
  box-shadow: 0 6px 25px #204d9620;
  border-radius: 10px;
  width: min(620px, 100%);
  margin: auto;
  padding: 14px 17px;
  color: #9eb0cc;
}
.large-search input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 15px;
  color: #567293;
}
.large-search kbd {
  padding: 4px 9px;
  background: #f6f8fc;
  white-space: nowrap;
}
.tools-hints {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: #9aabc1;
  font-size: 13px;
  margin-top: 18px;
}
.tools-hints .icon {
  width: 12px;
  height: 12px;
  color: #699b8f;
}
.tool-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 44px;
}
.tool-category {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 23px;
  transition: 0.2s;
}
.tool-category:hover {
  border-color: #bdd0ef;
  background: #fafcff;
}
.category-icon {
  display: inline-flex;
  border-radius: 10px;
  padding: 11px;
  margin-bottom: 17px;
}
.category-icon .icon {
  width: 21px;
  height: 21px;
}
.tool-category h3 {
  font-size: 18px;
}
.tool-category p {
  font-size: 14px;
  margin-top: 8px;
}
.category-go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #9babc3;
  margin-top: 22px;
}
.category-go .icon {
  width: 13px;
}
.pill-filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: -5px 0 22px;
}
.pill-filters button {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 13px;
  font-size: 14px;
  color: #8b98ac;
}
.pill-filters button.selected {
  border-color: #d6e4ff;
  background: #edf4ff;
  color: var(--blue);
}
.list-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 23px;
  color: #96a6bc;
}
.list-search input {
  outline: 0;
  border: 0;
  width: 100%;
  font-size: 15px;
}
.list-tools {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 0;
}
.tool-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0 29px;
}
.tool-title-row h1 {
  font-size: 33px;
  margin-top: 7px;
}
.tool-title-row p {
  font-size: 15px;
  margin-top: 12px;
}
.local-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #eff8f4;
  color: #6a9b87;
  font-size: 13px;
  padding: 7px 11px;
  border-radius: 6px;
}
.local-badge .icon {
  width: 13px;
  height: 13px;
}
.workspace {
  border: 1px solid #dfe6ef;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px #1a365907;
}
.workspace-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 19px;
  border-bottom: 1px solid var(--line);
  background: #fcfdff;
}
.workspace-toolbar > div {
  display: flex;
  gap: 7px;
}
.editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.input-pane {
  border-right: 1px solid var(--line);
}
.input-pane > label,
.output-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #8292a9;
  padding: 12px 20px;
  background: #fafbfd;
  border-bottom: 1px solid var(--line);
}
.input-pane label > span {
  font-size: 12px;
  color: #b0bbcb;
}
.output-label button {
  font-size: 13px;
  color: #8da0bc;
  display: flex;
  gap: 6px;
  align-items: center;
}
.output-label .icon {
  width: 13px;
  height: 13px;
}
.editor-grid textarea {
  resize: vertical;
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
  outline: 0;
  padding: 24px;
  font:
    15px/2.1 Consolas,
    "Microsoft YaHei",
    monospace;
  color: #56708f;
  background: #fff;
}
.editor-grid textarea::placeholder {
  color: #b1becf;
  font: 14px var(--font);
}
.workspace-status {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  background: #fafbfd;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #98a7bb;
}
.workspace-status .error {
  color: #d75a5a;
}
.tool-under {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 65px;
  margin: 35px 0 42px;
}
.tool-under h2 {
  font-size: 23px;
}
.steps {
  font-size: 15px;
  color: #8493a8;
  padding-left: 20px;
  line-height: 2.5;
}
.tool-under .info-panel {
  background: #f6f9ff;
  border-color: #e3edfc;
}
.tool-under .info-panel p {
  margin: 10px 0 15px;
}
.featured-story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid #e5ecf7;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 35px;
}
.featured-art {
  background: #edf4ff;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #7596c8;
  padding: 25px;
}
.featured-art > span {
  font-size: 12px;
  letter-spacing: 2px;
}
.featured-art > span:last-child {
  font-size: 15px;
  letter-spacing: 1px;
  margin-top: 20px;
}
.wire-window {
  width: 73%;
  max-width: 330px;
  border: 1px solid #bdd0ed;
  border-radius: 8px;
  padding: 12px;
  background: #ffffff55;
  transform: rotate(-3deg);
  margin-top: 25px;
  box-shadow: 10px 13px 0 #dce8f9;
}
.wire-window > div {
  border: 1px solid #c7d9f3;
  border-radius: 4px;
  margin-bottom: 8px;
  text-align: center;
  font: 13px Consolas;
  padding: 7px;
}
.wire-window > div:last-child {
  margin: 0;
}
.wire-columns {
  display: flex !important;
  padding: 0 !important;
  border: 0 !important;
  gap: 8px;
}
.wire-columns strong {
  font: 13px Consolas;
  border: 1px solid #bdd0ed;
  flex: 1;
  border-radius: 4px;
  padding: 15px;
}
.wire-columns strong:first-child {
  flex: 2;
}
.wire-columns small {
  display: block;
  font: 12px Consolas;
  padding: 10px;
  border: 1px solid #c7d9f3;
  margin-top: 10px;
}
.featured-copy {
  padding: 38px 43px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}
.featured-copy h2 {
  font-size: 28px;
  line-height: 1.6;
  margin: 17px 0 13px;
}
.featured-copy p {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 19px;
}
.featured-copy .text-link {
  margin-top: 24px;
}
.news-filters {
  margin-bottom: 26px;
}
.narrow {
  max-width: 1000px;
}
.news-article-head {
  max-width: 740px;
  margin: 22px auto 35px;
}
.news-article-head h1 {
  font-size: 42px;
  margin-top: 19px;
  line-height: 1.6;
}
.news-article-head > p {
  font-size: 16px;
  margin-top: 16px;
  line-height: 2;
}
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eaf2ff;
  color: #638cce;
  display: inline-flex;
  justify-content: center;
  font-size: 14px;
}
.article-visual {
  border-radius: 14px;
  background: #edf4ff;
  position: relative;
  min-height: 305px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}
.visual-label {
  position: absolute;
  left: 25px;
  top: 25px;
  font-size: 12px;
  letter-spacing: 2px;
  color: #a1b6d7;
}
.semantic-blocks {
  width: 300px;
  transform: rotate(-4deg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.semantic-blocks span {
  display: block;
  border: 1px solid #bfd1ec;
  background: #ffffff77;
  border-radius: 6px;
  text-align: center;
  padding: 8px;
  font: 15px Consolas;
  color: #658abc;
  box-shadow: 5px 5px 0 #dae6f8;
}
.semantic-blocks > div {
  display: flex;
  gap: 10px;
}
.semantic-blocks > div > span {
  padding: 24px;
  flex: 1;
}
.semantic-blocks > div > span:first-child {
  flex: 2;
}
.article-visual p {
  margin-top: 25px;
  color: #8fa6c8;
  font-size: 14px;
  letter-spacing: 1px;
}
.news-reading {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 50px;
  margin: 40px 0 50px;
}
.prose {
  font-size: 17px;
}
.prose > p {
  margin: 18px 0;
  color: #6d7b8f;
  line-height: 2.1;
}
.prose .prose-intro {
  font-size: 18px;
  color: #455b78;
}
.prose h2 {
  font-size: 26px;
  margin: 36px 0 18px;
}
.prose blockquote {
  border-left: 3px solid #74a1e6;
  background: #f5f8fe;
  padding: 20px;
  margin: 25px 0;
  color: #5a7dac;
  font-size: 20px;
}
.article-tags {
  display: flex;
  gap: 8px;
  margin-top: 30px;
}
.related-stories {
  grid-template-columns: 1fr 1fr;
}
.empty-state {
  text-align: center;
  border: 1px dashed #dce5f3;
  border-radius: 10px;
  padding: 45px;
  color: #92a3b9;
  font-size: 16px;
}
.empty-state[hidden],
.filter-card[hidden] {
  display: none !important;
}
dialog {
  border: 1px solid #dce5f3;
  border-radius: 16px;
  width: min(620px, calc(100% - 32px));
  padding: 0;
  box-shadow: 0 25px 80px #13223c30;
  color: var(--ink);
}
dialog::backdrop {
  background: #14243b66;
  backdrop-filter: blur(5px);
}
.dialog-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.dialog-head > .icon {
  color: #97acca;
}
.dialog-head input {
  width: 100%;
  border: 0;
  outline: 0;
  font-size: 17px;
}
#search-results {
  max-height: 420px;
  overflow: auto;
  padding: 12px;
}
#search-results a {
  display: block;
  border-radius: 8px;
  padding: 14px;
}
#search-results a:hover {
  background: #f4f8ff;
}
#search-results strong {
  font-size: 16px;
}
#search-results p {
  font-size: 14px;
  margin-top: 5px;
}
.dialog-foot {
  display: flex;
  justify-content: space-between;
  padding: 12px 22px;
  background: #f8fafd;
  font-size: 13px;
  color: #9aa9bf;
}
.search-empty {
  padding: 30px;
  text-align: center;
  color: #95a6bc;
  font-size: 15px;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: #1b2b46;
  color: #fff;
  border-radius: 8px;
  padding: 11px 24px;
  z-index: 100;
  opacity: 0;
  transition: 0.2s;
  font-size: 15px;
  pointer-events: none;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1500px) {
  .hero-layout {
    gap: 100px;
  }
  .hero h1 {
    font-size: 60px;
  }
  .hero-layout {
    padding-block: 78px;
  }
  .header-inner {
    gap: 85px;
  }
}
@media (max-width: 1150px) {
  .header-inner {
    gap: 36px;
  }
  .header-right {
    gap: 12px;
  }
  .search-open {
    width: 34px;
    height: 34px;
    padding: 8px;
  }
  .search-open span,
  .search-open kbd {
    display: none;
  }
  .hero-layout {
    gap: 35px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .code-art {
    font-size: 12px;
  }
  .path-steps {
    gap: 7px;
  }
  .path-steps span {
    padding: 6px;
  }
  .path-banner {
    gap: 13px;
  }
  .reading-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .reading-layout > .toc {
    display: none;
  }
  .catalog-layout {
    gap: 25px;
    grid-template-columns: 185px 1fr;
  }
  .tool-card {
    padding: 16px;
    gap: 10px;
  }
  .tool-card p {
    font-size: 12px;
  }
  .course-hero {
    padding: 35px;
  }
  .hero-trust {
    gap: 13px;
  }
  .tools-grid {
    gap: 11px;
  }
  .topic-rail > span {
    display: none;
  }
  .tool-under {
    gap: 30px;
    grid-template-columns: 1fr 300px;
  }
  .catalog-courses {
    gap: 15px;
  }
}
@media (max-width: 800px) {
  .container,
  .header-inner {
    width: calc(100% - 40px);
  }
  .header {
    height: 72px;
  }
  .header-inner {
    gap: 25px;
  }
  .brand {
    font-size: 21px;
  }
  .brand-mark {
    width: 33px;
    height: 33px;
  }
  .header nav {
    gap: 20px;
  }
  .header nav a {
    font-size: 15px;
  }
  .hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding-block: 45px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .hero-label {
    font-size: 13px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-actions .button {
    font-size: 14px;
    padding: 10px 12px;
  }
  .hero-trust {
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12px;
  }
  .hero-editor {
    min-width: 0;
  }
  .code-art {
    font-size: 11px;
    padding-block: 13px;
  }
  .line > i {
    width: 29px;
    padding-right: 12px;
  }
  .editor-floating {
    padding: 11px;
    right: 0;
  }
  .editor-floating strong {
    font-size: 13px;
  }
  .editor-floating div > span {
    font-size: 11px;
  }
  .editor-bar {
    font-size: 11px;
    padding: 12px;
    gap: 9px;
  }
  .editor-status {
    font-size: 11px;
    padding: 9px;
  }
  .topic-rail {
    font-size: 13px;
  }
  .course-grid {
    gap: 13px;
  }
  .course-card {
    padding: 18px;
  }
  .course-card > p {
    font-size: 13px;
  }
  .card-bottom {
    font-size: 12px;
  }
  .card-bottom span:last-child {
    font-size: 11px;
  }
  .path-steps {
    display: none;
  }
  .path-banner > .text-link {
    margin-left: auto;
  }
  .tools-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stories-grid {
    grid-template-columns: 1fr 1fr;
  }
  .home-stories .story-card:last-child {
    display: none;
  }
  .learning-cta {
    padding: 27px;
  }
  .learning-cta h2 {
    font-size: 23px;
  }
  .learning-cta p {
    font-size: 13px;
  }
  .learning-cta > .button {
    font-size: 14px;
    white-space: nowrap;
  }
  .section-head h2 {
    font-size: 26px;
  }
  .catalog-layout {
    grid-template-columns: 160px 1fr;
    gap: 20px;
  }
  .catalog-courses {
    grid-template-columns: 1fr;
  }
  .category-art {
    width: 180px;
  }
  .course-overview {
    grid-template-columns: 1fr 220px;
    gap: 25px;
  }
  .outcome-grid {
    grid-template-columns: 1fr;
  }
  .course-hero h1 {
    font-size: 35px;
  }
  .reading-layout {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 24px;
  }
  .lesson-sidebar {
    padding-right: 12px;
  }
  .lesson-link {
    font-size: 13px;
    gap: 7px;
    padding: 10px 5px;
  }
  .article-header h1 {
    font-size: 29px;
  }
  .tool-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .list-tools {
    grid-template-columns: 1fr;
  }
  .tool-under {
    grid-template-columns: 1fr 250px;
    gap: 25px;
  }
  .tool-title-row h1 {
    font-size: 29px;
  }
  .featured-copy {
    padding: 25px;
  }
  .featured-copy h2 {
    font-size: 25px;
  }
  .news-reading {
    gap: 30px;
    grid-template-columns: 1fr 140px;
  }
  .news-article-head h1 {
    font-size: 36px;
  }
  .roadmap-track {
    gap: 8px;
  }
  .roadmap-track a {
    padding: 9px;
  }
  .roadmap-track small {
    font-size: 11px;
  }
  .roadmap-track strong {
    font-size: 13px;
  }
}
@media (max-width: 600px) {
  .container,
  .header-inner {
    width: calc(100% - 32px);
  }
  .header {
    height: 67px;
  }
  .header-inner {
    gap: 0;
  }
  .brand small {
    font-size: 11px;
    letter-spacing: 1.4px;
  }
  .brand {
    font-size: 20px;
  }
  .brand-mark {
    width: 31px;
    height: 31px;
    border-radius: 9px;
  }
  .header-right {
    gap: 5px;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .header nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;
    background: #fff;
    padding: 10px 20px;
    box-shadow: 0 10px 20px #192e4e12;
    border-bottom: 1px solid var(--line);
  }
  .header.menu-open nav {
    display: flex;
    justify-content: space-around;
  }
  .header nav a {
    padding: 10px;
  }
  .header nav a.active:after {
    bottom: 0;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 35px 0 45px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-label {
    margin-bottom: 17px;
  }
  .hero-copy > p {
    font-size: 15px;
    margin: 17px 0 23px;
  }
  .hero-actions .button {
    font-size: 15px;
    padding: 12px 17px;
  }
  .hero-trust {
    font-size: 13px;
    gap: 20px;
    margin-top: 23px;
  }
  .hero-editor {
    width: calc(100% - 5px);
    max-width: 450px;
    margin: auto;
  }
  .code-art {
    font-size: 13px;
    padding: 18px 3px;
  }
  .line > i {
    width: 35px;
  }
  .editor-floating {
    right: -4px;
    bottom: -16px;
  }
  .editor-bar {
    font-size: 12px;
  }
  .editor-status {
    font-size: 11px;
  }
  .topic-rail {
    gap: 20px;
    overflow: auto;
    white-space: nowrap;
    padding-block: 17px;
  }
  .topic-rail a:last-child {
    display: none;
  }
  .home-content {
    padding-top: 33px;
  }
  .section-head {
    margin-bottom: 18px;
    gap: 15px;
  }
  .section-head h2 {
    font-size: 25px;
  }
  .section-head p {
    font-size: 13px;
    max-width: 240px;
  }
  .section-head > .text-link {
    font-size: 13px;
    white-space: nowrap;
  }
  .eyebrow {
    font-size: 11px;
  }
  .course-grid {
    grid-template-columns: 1fr;
  }
  .course-card {
    padding: 21px;
  }
  .card-top {
    margin-bottom: 13px;
  }
  .course-card > p {
    font-size: 15px;
  }
  .card-bottom {
    font-size: 13px;
    margin-top: 17px;
  }
  .card-bottom span:last-child {
    font-size: 13px;
  }
  .tech-logo {
    width: 39px;
    height: 39px;
  }
  .path-banner {
    padding: 18px;
    margin-bottom: 34px;
  }
  .path-icon {
    padding: 9px;
  }
  .path-banner h3 {
    font-size: 15px;
  }
  .path-banner > .text-link {
    font-size: 0;
    gap: 0;
  }
  .path-banner > .text-link .icon {
    width: 17px;
  }
  .tools-grid {
    grid-template-columns: 1fr;
    margin-bottom: 34px;
  }
  .tool-card {
    padding: 18px;
  }
  .tool-card p {
    font-size: 14px;
  }
  .tool-card h3 {
    font-size: 16px;
  }
  .tool-logo {
    width: 40px;
    height: 40px;
  }
  .stories-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 33px;
  }
  .story-cover {
    height: 160px;
  }
  .home-stories .story-card:last-child {
    display: block;
  }
  .story-copy h3 {
    font-size: 20px;
  }
  .learning-cta {
    flex-direction: column;
    align-items: start;
    gap: 23px;
    padding: 25px;
    margin-bottom: 33px;
  }
  .learning-cta h2 {
    font-size: 24px;
  }
  .learning-cta p {
    font-size: 14px;
  }
  .learning-cta > .button {
    font-size: 15px;
  }
  .footer-top {
    align-items: start;
    gap: 22px;
    flex-direction: column;
    padding-block: 27px;
  }
  .footer-links {
    font-size: 14px;
    gap: 23px;
  }
  .footer-bottom {
    font-size: 11px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .footer-bottom > a {
    margin-left: auto;
  }
  footer {
    margin-top: 40px;
  }
  .crumb {
    padding: 19px 0;
    font-size: 12px;
    gap: 6px;
    overflow: hidden;
    white-space: nowrap;
  }
  .crumb .icon {
    width: 8px;
    height: 8px;
  }
  .page-mast {
    padding: 14px 0 28px;
  }
  .page-mast h1 {
    font-size: 30px;
  }
  .page-mast p {
    font-size: 15px;
    line-height: 1.9;
  }
  .catalog-layout {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 35px;
  }
  .sidebar {
    padding: 10px;
    display: flex;
    gap: 4px;
    width: 100%;
    overflow: auto;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
  }
  .sidebar-title,
  .sidebar-note {
    display: none;
  }
  .side-link {
    padding: 8px 12px;
    white-space: nowrap;
    font-size: 14px;
    margin: 0;
  }
  .side-link > .icon {
    width: 14px;
    height: 14px;
  }
  .side-link > .icon:last-child {
    display: none;
  }
  .catalog-content {
    width: 100%;
  }
  .filter-tabs {
    gap: 20px;
  }
  .filter-bar > .tiny {
    display: none;
  }
  .category-art {
    display: none;
  }
  .category-mast .page-mast {
    padding-bottom: 20px;
  }
  .roadmap {
    padding: 20px;
  }
  .roadmap-track {
    flex-wrap: wrap;
  }
  .roadmap-track a {
    flex-basis: 40%;
    padding: 13px;
  }
  .roadmap-track strong {
    font-size: 15px;
  }
  .roadmap-track small {
    font-size: 13px;
  }
  .course-hero {
    grid-template-columns: 1fr;
    padding: 27px;
    gap: 25px;
    margin-top: 0;
    margin-bottom: 30px;
  }
  .course-hero h1 {
    font-size: 35px;
  }
  .course-hero p {
    font-size: 15px;
  }
  .html-art {
    display: none;
  }
  .course-overview {
    grid-template-columns: 1fr;
  }
  .course-overview > aside {
    display: none;
  }
  .outcome-grid {
    gap: 12px;
    padding-bottom: 30px;
  }
  .chapter-row {
    padding: 16px;
    gap: 15px;
  }
  .chapter-row h3 {
    font-size: 16px;
  }
  .reading-layout {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .lesson-sidebar {
    position: static;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px;
    display: flex;
    overflow: auto;
    gap: 7px;
    align-items: center;
  }
  .lesson-sidebar > .back-link {
    white-space: nowrap;
    padding: 5px 10px;
    font-size: 14px;
  }
  .lesson-sidebar > h3,
  .lesson-help {
    display: none;
  }
  .lesson-link {
    white-space: nowrap;
    font-size: 13px;
    padding: 8px;
  }
  .lesson-link > span {
    display: none;
  }
  .lesson-body {
    width: 100%;
  }
  .article-header {
    padding-top: 17px;
  }
  .article-header h1 {
    font-size: 32px;
  }
  .article-lead {
    font-size: 17px;
  }
  .answer-box {
    padding: 17px;
    margin: 25px 0;
  }
  .lesson-body section h2 {
    font-size: 23px;
    margin-top: 28px;
  }
  .lesson-body section p {
    font-size: 16px;
  }
  .lesson-body table {
    min-width: 490px;
  }
  .code-block pre {
    padding: 17px;
    font-size: 13px;
  }
  .prev-next a {
    padding: 13px;
  }
  .prev-next strong {
    font-size: 14px;
  }
  .tools-mast {
    padding-top: 0;
    padding-bottom: 33px;
  }
  .tools-mast .page-mast h1 {
    font-size: 28px;
  }
  .large-search {
    padding: 13px;
    gap: 9px;
  }
  .large-search input {
    font-size: 14px;
  }
  .large-search .icon {
    width: 17px;
  }
  .large-search kbd {
    display: none;
  }
  .tools-hints {
    gap: 15px;
    font-size: 12px;
  }
  .tool-category-grid {
    gap: 11px;
    margin-bottom: 32px;
  }
  .tool-category {
    padding: 19px;
  }
  .tool-category h3 {
    font-size: 16px;
  }
  .tool-category p {
    font-size: 13px;
  }
  .category-go {
    font-size: 12px;
  }
  .category-icon {
    padding: 9px;
  }
  .pill-filters {
    gap: 7px;
  }
  .pill-filters button {
    padding: 6px 11px;
    font-size: 13px;
  }
  .tool-title-row {
    display: block;
    margin: 15px 0 22px;
  }
  .tool-title-row h1 {
    font-size: 28px;
  }
  .tool-title-row p {
    font-size: 14px;
  }
  .local-badge {
    margin-top: 15px;
    display: inline-flex;
  }
  .workspace-toolbar {
    padding: 11px;
    flex-wrap: wrap;
  }
  .workspace-toolbar .button {
    font-size: 13px;
    padding: 7px 12px;
  }
  .workspace-toolbar > div {
    gap: 3px;
  }
  .editor-grid {
    grid-template-columns: 1fr;
  }
  .input-pane {
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .editor-grid textarea {
    height: 210px;
    padding: 17px;
    font-size: 14px;
  }
  .workspace-status {
    font-size: 11px;
    padding: 10px 12px;
    gap: 10px;
  }
  .tool-under {
    grid-template-columns: 1fr;
    margin-top: 27px;
  }
  .tool-under h2 {
    font-size: 22px;
  }
  .featured-story {
    grid-template-columns: 1fr;
  }
  .featured-art {
    min-height: 255px;
  }
  .featured-copy {
    padding: 26px;
  }
  .featured-copy h2 {
    font-size: 26px;
  }
  .featured-copy .text-link {
    margin-top: 18px;
  }
  .news-filters {
    overflow: auto;
    white-space: nowrap;
  }
  .news-filters .filter-tabs {
    gap: 19px;
  }
  .news-filters button {
    font-size: 13px;
  }
  .news-article-head {
    margin: 20px 0 28px;
  }
  .news-article-head h1 {
    font-size: 32px;
  }
  .news-article-head > p {
    font-size: 15px;
  }
  .article-meta {
    gap: 12px;
    font-size: 12px;
  }
  .news-article-head .article-meta {
    flex-wrap: wrap;
  }
  .article-visual {
    min-height: 260px;
    padding: 25px 20px;
  }
  .semantic-blocks {
    width: 240px;
    margin-top: 20px;
  }
  .visual-label {
    font-size: 11px;
    left: 17px;
    top: 17px;
  }
  .news-reading {
    display: block;
    margin-top: 25px;
  }
  .news-reading .toc {
    display: none;
  }
  .prose > p {
    font-size: 16px;
  }
  .prose h2 {
    font-size: 24px;
    margin-top: 28px;
  }
  .prose blockquote {
    font-size: 18px;
  }
  .related-stories {
    grid-template-columns: 1fr;
  }
  .article-visual p {
    font-size: 13px;
  }
  .dialog-head {
    padding: 15px;
  }
  .dialog-head input {
    font-size: 15px;
  }
}

/* Full-width layout with readable type at every breakpoint. */
.container,
.header-inner {
  width: calc(100% - clamp(32px, 5vw, 96px));
  max-width: none;
}
.header {
  height: 92px;
}
.header-inner {
  gap: clamp(30px, 5vw, 90px);
}
.header nav {
  gap: 36px;
}
.header-right {
  gap: 16px;
}
.search-open {
  padding: 10px 15px;
}
.hero-layout {
  grid-template-columns: 1fr 1fr;
  gap: clamp(35px, 5vw, 100px);
  padding-block: 70px;
}
.hero-copy > p {
  line-height: 1.95;
}
.hero-trust {
  flex-wrap: wrap;
  gap: 20px;
}
.hero-editor {
  min-width: 0;
}
.code-art {
  font-size: 14px;
  overflow-x: auto;
}
.line {
  min-width: 100%;
  width: max-content;
}
.hero-label {
  font-size: 14px;
}
.topic-rail {
  font-size: 15px;
}
.topic-rail > span {
  font-size: 13px;
}
.course-card {
  padding: 28px;
}
.course-card > p {
  line-height: 1.9;
  min-height: 30px;
}
.card-bottom {
  gap: 14px;
}
.tool-card {
  padding: 24px;
  gap: 17px;
}
.tool-logo {
  width: 48px;
  height: 48px;
}
.tool-card p {
  line-height: 1.8;
}
.course-grid,
.stories-grid {
  gap: 24px;
}
.path-banner {
  padding: 28px;
}
.path-steps {
  flex-wrap: wrap;
  justify-content: center;
}
.path-banner > .text-link {
  white-space: nowrap;
}
.catalog-layout {
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 36px;
}
.catalog-content,
.lesson-body,
.prose {
  min-width: 0;
}
.side-link {
  padding: 14px 12px;
}
.sidebar-note p {
  font-size: 14px;
}
.reading-layout {
  grid-template-columns: 240px minmax(0, 1fr) 190px;
  gap: 40px;
}
.lesson-body {
  max-width: 1000px;
  justify-self: center;
}
.lesson-body section p,
.prose > p {
  font-size: 18px;
  line-height: 2;
}
.lesson-body table {
  font-size: 15px;
}
.lesson-body code {
  font-size: 15px;
}
.lesson-body pre code {
  font-size: 15px;
}
.toc {
  font-size: 14px;
}
.toc > span {
  font-size: 15px;
}
.lesson-link {
  font-size: 15px;
  padding: 12px 10px;
}
.lesson-link > span {
  font-size: 13px;
}
.answer-box p {
  font-size: 16px;
}
.article-meta {
  font-size: 14px;
}
.narrow {
  max-width: none;
}
.news-article-head {
  max-width: 960px;
}
.news-reading {
  max-width: 1280px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 60px;
}
.prose .prose-intro {
  font-size: 20px;
}
.article-visual {
  max-width: 1440px;
  margin-inline: auto;
}
.tool-title-row {
  gap: 20px;
}
.editor-grid textarea {
  font-size: 16px;
  height: 390px;
}
.workspace-toolbar {
  padding: 17px 22px;
}
.workspace-status {
  font-size: 13px;
}
.tool-under {
  grid-template-columns: minmax(0, 1fr) 390px;
}
.tool-under .inline-note {
  font-size: 14px;
}
.story-copy > p {
  line-height: 1.9;
}
.featured-copy p {
  line-height: 2;
}
.footer-bottom {
  font-size: 13px;
}
.muted,
.tiny {
  color: #75839a;
}
.story-meta,
.article-meta,
.crumb,
.toc,
.sources span {
  color: #72829a;
}
.course-card > p,
.tool-card p,
.story-copy > p,
.page-mast p,
.hero-copy > p {
  color: #64758e;
}
.editorial-note {
  flex-wrap: wrap;
}
.workspace-toolbar > div {
  flex-wrap: wrap;
}
@media (min-width: 1650px) {
  .catalog-courses {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero h1 {
    font-size: 64px;
  }
  .hero-editor {
    max-width: 850px;
    justify-self: end;
    width: 100%;
  }
  .code-art {
    font-size: 16px;
    padding-block: 33px;
  }
  .tools-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .list-tools {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-stories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1200px) {
  .header-inner {
    gap: 30px;
  }
  .header nav {
    gap: 25px;
  }
  .search-open {
    padding: 8px;
    width: 38px;
    height: 38px;
  }
  .search-open span,
  .search-open kbd {
    display: none;
  }
  .hero-layout {
    gap: 35px;
  }
  .code-art {
    font-size: 12px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .path-steps {
    display: none;
  }
  .path-banner > .text-link {
    margin-left: auto;
  }
  .catalog-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 28px;
  }
  .reading-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 30px;
  }
  .reading-layout > .toc {
    display: none;
  }
  .tool-card {
    padding: 21px;
    gap: 13px;
  }
  .tool-card h3 {
    font-size: 17px;
  }
  .tool-card p {
    font-size: 13px;
  }
  .course-card {
    padding: 24px;
  }
  .tool-under {
    grid-template-columns: 1fr 330px;
  }
  .hero-trust {
    font-size: 13px;
  }
  .course-overview {
    grid-template-columns: minmax(0, 1fr) 285px;
  }
}
@media (max-width: 800px) {
  .header-inner {
    gap: 20px;
  }
  .header {
    height: 80px;
  }
  .header nav {
    gap: 20px;
  }
  .header nav a {
    font-size: 15px;
  }
  .header-right {
    gap: 8px;
  }
  .header .brand {
    font-size: 20px;
  }
  .hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding-block: 50px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-copy > p {
    font-size: 15px;
  }
  .hero-label {
    font-size: 13px;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
  .hero-actions .button {
    font-size: 14px;
  }
  .hero-trust {
    gap: 13px;
    font-size: 12px;
  }
  .code-art {
    font-size: 11px;
  }
  .editor-floating {
    padding: 12px;
  }
  .topic-rail {
    font-size: 13px;
  }
  .catalog-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
  }
  .reading-layout {
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 24px;
  }
  .lesson-link {
    font-size: 13px;
  }
  .course-card {
    padding: 22px;
  }
  .card-bottom {
    font-size: 12px;
    flex-wrap: wrap;
  }
  .tool-card p {
    font-size: 13px;
  }
  .course-overview {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
  .tool-under {
    grid-template-columns: 1fr 260px;
    gap: 26px;
  }
  .learning-cta {
    gap: 24px;
  }
  .footer-bottom {
    font-size: 12px;
  }
  .news-reading {
    gap: 35px;
    grid-template-columns: minmax(0, 1fr) 160px;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .container,
  .header-inner {
    width: calc(100% - 32px);
  }
  .header {
    height: 74px;
  }
  .header nav {
    top: 73px;
  }
  .header .brand {
    font-size: 19px;
  }
  .header .brand small {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .header-right {
    gap: 3px;
  }
  .header .icon-button {
    padding: 7px;
  }
  .header .search-open {
    width: 32px;
    height: 32px;
  }
  .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    padding-block: 38px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero-label {
    font-size: 13px;
  }
  .hero-actions .button {
    font-size: 15px;
  }
  .hero-trust {
    font-size: 12px;
    gap: 14px;
  }
  .hero-editor {
    width: calc(100% - 6px);
    max-width: none;
  }
  .code-art {
    font-size: 12px;
  }
  .editor-floating strong {
    font-size: 13px;
  }
  .editor-floating div > span {
    font-size: 11px;
  }
  .topic-rail {
    font-size: 13px;
    gap: 23px;
  }
  .section-head {
    align-items: center;
    gap: 12px;
  }
  .section-head h2 {
    font-size: 25px;
  }
  .section-head p {
    font-size: 14px;
  }
  .section-head > .text-link {
    font-size: 13px;
  }
  .course-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .course-card {
    padding: 24px;
  }
  .course-card > p {
    font-size: 16px;
  }
  .card-bottom,
  .card-bottom span:last-child {
    font-size: 13px;
  }
  .course-card h3 {
    font-size: 22px;
  }
  .path-banner {
    padding: 21px;
  }
  .path-banner h3 {
    font-size: 16px;
  }
  .path-banner .eyebrow {
    font-size: 11px;
  }
  .tool-card {
    padding: 21px;
    gap: 15px;
  }
  .tool-card h3 {
    font-size: 18px;
  }
  .tool-card p {
    font-size: 14px;
  }
  .tool-logo {
    width: 44px;
    height: 44px;
  }
  .story-copy h3 {
    font-size: 21px;
  }
  .story-copy > p {
    font-size: 15px;
  }
  .story-meta {
    font-size: 12px;
  }
  .learning-cta h2 {
    font-size: 25px;
  }
  .learning-cta p {
    font-size: 15px;
  }
  .learning-cta > .button {
    font-size: 15px;
  }
  .footer-top p,
  .footer-links {
    font-size: 14px;
  }
  .footer-bottom {
    font-size: 11px;
  }
  .page-mast h1 {
    font-size: 32px;
  }
  .page-mast p {
    font-size: 16px;
  }
  .crumb {
    font-size: 12px;
    gap: 7px;
  }
  .catalog-layout {
    display: flex;
    gap: 24px;
  }
  .sidebar {
    padding: 10px 0;
  }
  .side-link {
    padding: 10px 12px;
    font-size: 14px;
  }
  .filter-tabs {
    gap: 20px;
  }
  .filter-tabs button {
    font-size: 14px;
  }
  .catalog-content {
    width: 100%;
  }
  .roadmap {
    padding: 22px;
  }
  .roadmap h2 {
    font-size: 23px;
  }
  .roadmap-track strong {
    font-size: 16px;
  }
  .roadmap-track small {
    font-size: 13px;
  }
  .course-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 27px;
  }
  .course-hero h1 {
    font-size: 37px;
  }
  .course-hero p {
    font-size: 16px;
  }
  .course-overview {
    grid-template-columns: minmax(0, 1fr);
  }
  .course-overview h2 {
    font-size: 25px;
  }
  .outcome-grid p {
    font-size: 16px;
  }
  .chapter-row {
    padding: 20px 16px;
  }
  .chapter-row h3 {
    font-size: 17px;
  }
  .chapter-row p {
    font-size: 13px;
  }
  .reading-layout {
    display: flex;
    gap: 20px;
  }
  .lesson-sidebar {
    padding: 12px;
  }
  .lesson-link {
    font-size: 13px;
    padding: 10px;
  }
  .lesson-sidebar > .back-link {
    font-size: 14px;
  }
  .lesson-body section p,
  .prose > p {
    font-size: 17px;
    line-height: 2;
  }
  .article-header h1 {
    font-size: 33px;
  }
  .article-lead {
    font-size: 18px;
  }
  .article-meta {
    font-size: 12px;
  }
  .answer-box strong {
    font-size: 15px;
  }
  .answer-box p {
    font-size: 16px;
  }
  .lesson-body section h2 {
    font-size: 25px;
  }
  .lesson-body code {
    font-size: 14px;
  }
  .lesson-body pre code {
    font-size: 13px;
  }
  .lesson-body table {
    font-size: 14px;
  }
  .inline-note {
    font-size: 14px;
  }
  .prev-next strong {
    font-size: 14px;
  }
  .prev-next small {
    font-size: 12px;
  }
  .sources {
    font-size: 14px;
  }
  .sources span {
    font-size: 12px;
  }
  .tools-mast .page-mast h1 {
    font-size: 30px;
  }
  .large-search input {
    font-size: 15px;
  }
  .tools-hints {
    font-size: 12px;
    flex-wrap: wrap;
    gap: 9px;
  }
  .tool-category {
    padding: 20px;
  }
  .tool-category h3 {
    font-size: 17px;
  }
  .tool-category p {
    font-size: 14px;
  }
  .category-go {
    font-size: 12px;
  }
  .pill-filters button {
    font-size: 13px;
  }
  .list-search input {
    font-size: 16px;
  }
  .tool-title-row h1 {
    font-size: 30px;
  }
  .tool-title-row p {
    font-size: 15px;
  }
  .local-badge {
    font-size: 13px;
  }
  .workspace-toolbar {
    padding: 13px;
  }
  .workspace-toolbar .button {
    font-size: 14px;
    padding: 9px 13px;
  }
  .editor-grid textarea {
    font-size: 15px;
    height: 240px;
  }
  .input-pane > label,
  .output-label {
    font-size: 14px;
  }
  .output-label button {
    font-size: 13px;
  }
  .workspace-status {
    font-size: 11px;
    flex-wrap: wrap;
  }
  .tool-under {
    grid-template-columns: minmax(0, 1fr);
  }
  .tool-under h2 {
    font-size: 25px;
  }
  .steps {
    font-size: 16px;
  }
  .tool-under .info-panel h3 {
    font-size: 18px;
  }
  .tool-under .info-panel p {
    font-size: 15px;
  }
  .tool-under .info-panel a {
    font-size: 15px;
  }
  .featured-copy h2 {
    font-size: 27px;
  }
  .featured-copy p {
    font-size: 16px;
  }
  .news-filters .filter-tabs {
    gap: 19px;
  }
  .news-filters button {
    font-size: 14px;
  }
  .news-article-head h1 {
    font-size: 33px;
  }
  .news-article-head > p {
    font-size: 16px;
  }
  .news-reading {
    display: block;
  }
  .prose .prose-intro {
    font-size: 18px;
  }
  .prose h2 {
    font-size: 25px;
  }
  .prose blockquote {
    font-size: 18px;
  }
  .dialog-head input {
    font-size: 16px;
  }
  .dialog-foot {
    font-size: 12px;
  }
}

/* Centered wide layout: a little wider than the original, with breathing room. */
.container {
  width: calc(100% - 64px);
  max-width: 1360px;
  margin-inline: auto;
}
.header-inner {
  width: calc(100% - 64px);
  max-width: 1440px;
  margin-inline: auto;
}
.narrow {
  max-width: 1120px;
}
.reading-layout {
  grid-template-columns: 220px minmax(0, 1fr) 170px;
  gap: 32px;
}
.news-reading {
  max-width: 1120px;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) 180px;
}
@media (min-width: 1650px) {
  .catalog-courses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .list-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero h1 {
    font-size: 56px;
  }
  .code-art {
    font-size: 14px;
  }
}
@media (max-width: 1200px) {
  .reading-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 30px;
  }
}
@media (max-width: 800px) {
  .container,
  .header-inner {
    width: calc(100% - 40px);
  }
  .reading-layout {
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 24px;
  }
  .news-reading {
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 30px;
  }
}
@media (max-width: 600px) {
  .container,
  .header-inner {
    width: calc(100% - 32px);
  }
  .reading-layout {
    display: flex;
    gap: 20px;
  }
  .news-reading {
    display: block;
  }
}

/* Complete learning samples and runnable projects. */
.course-badge {
  padding: 50px 20px;
  border-radius: 20px;
  text-align: center;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -2px;
}
.course-badge small {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  margin-top: 20px;
}
.project-callout {
  background: #f1f6ff;
  border: 1px solid #d9e6fb;
  border-radius: 14px;
  padding: 28px;
  margin: 32px 0;
}
.project-callout p {
  font-size: 16px;
  margin: 16px 0;
  line-height: 1.9;
}
.curriculum-scope {
  margin: 32px 0;
}
.curriculum-scope p {
  font-size: 15px;
  line-height: 2;
  margin: 16px 0;
}
.related-courses {
  margin-top: 24px;
}
.related-courses a {
  padding: 8px 0;
}
.environment-line {
  font-size: 14px !important;
  color: #72849f !important;
  background: #f6f8fc;
  border-radius: 8px;
  padding: 16px;
}
.lesson-body section h3 {
  font-size: 21px;
  margin: 24px 0 10px;
}
.lesson-body section ul {
  padding-left: 24px;
  color: #62758e;
  font-size: 17px;
  line-height: 2;
}
.lesson-body .sources p {
  font-size: 14px;
}
.lesson-body .sources h2 {
  font-size: 23px;
}
.lesson-body .sources ul {
  font-size: 15px;
}
.code-block > div {
  flex-wrap: wrap;
  gap: 10px;
}
.code-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.code-block button {
  font-size: 13px;
}
.wrap-code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
}
.wrap-code code {
  white-space: inherit;
  font: inherit;
}
.related-learning {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.related-learning > a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid #e0e8f3;
  border-radius: 10px;
}
.related-learning strong {
  font-size: 16px;
}
.related-learning span {
  font-size: 13px;
  color: #6283b3;
}
.article-tags > a:hover {
  color: #2563eb;
  background: #eaf2ff;
}
.learning-workspace {
  border: 1px solid #dce5f3;
  border-radius: 12px;
  overflow: hidden;
}
.learning-toolbar,
.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #f6f9fe;
  padding: 16px 20px;
  border-bottom: 1px solid #e0e8f4;
}
.learning-toolbar > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.source-tabs button {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
}
.source-tabs button[aria-selected="true"] {
  background: #2563eb;
  color: white;
}
.editor-label {
  display: block;
  padding: 16px 20px 0;
  font-size: 13px;
  color: #7c8aa2;
  background: #172238;
}
.editor-label[hidden] {
  display: none;
}
.editor-label textarea {
  display: block;
  background: #172238;
  color: #c4dcfa;
  resize: vertical;
  width: 100%;
  min-height: 320px;
  border: 0;
  outline: 0;
  padding: 18px 0 22px;
  font:
    15px/1.9 Consolas,
    "Microsoft YaHei",
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 2;
}
.preview-toolbar {
  border-top: 1px solid #e0e8f4;
  font-size: 15px;
}
.preview-toolbar > div {
  display: flex;
  gap: 8px;
}
.preview-toolbar button {
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 6px;
  color: #6b7e9d;
}
.preview-toolbar button.selected {
  background: #e4edff;
  color: #2563eb;
}
.preview-stage {
  overflow: auto;
  display: flex;
  justify-content: flex-start;
  background: #e8eef7;
  padding: 18px;
  min-height: 540px;
}
.preview-stage iframe {
  height: 580px;
  width: 100%;
  flex-shrink: 0;
  max-width: none;
  border: 1px solid #cbd8eb;
  border-radius: 8px;
  background: white;
}
.run-status {
  padding: 12px 20px;
  background: #f8fafd;
  border-top: 1px solid #e0e8f4;
  font-size: 13px;
}
.learning-workspace #run-console {
  background: #fff4f2;
  color: #b84b36;
  font-size: 13px;
}
.tool-under ul {
  font-size: 16px;
  color: #647792;
  line-height: 2;
}
@media (max-width: 800px) {
  .course-badge {
    font-size: 48px;
    padding: 35px 15px;
  }
  .learning-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .related-learning {
    grid-template-columns: 1fr;
  }
  .lesson-body section h3 {
    font-size: 20px;
  }
}
@media (max-width: 600px) {
  .course-badge {
    display: none;
  }
  .learning-toolbar,
  .preview-toolbar {
    padding: 13px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .source-tabs button {
    padding: 8px 12px;
  }
  .learning-toolbar .button {
    font-size: 13px;
    padding: 8px 12px;
  }
  .editor-label {
    padding: 12px 14px 0;
  }
  .editor-label textarea {
    font-size: 14px;
    min-height: 300px;
  }
  .preview-stage {
    padding: 10px;
  }
  .preview-toolbar button {
    padding: 7px 10px;
  }
  .project-callout {
    padding: 22px;
  }
  .lesson-body section ul {
    font-size: 16px;
  }
  .course-overview .info-panel {
    padding: 20px;
  }
  .lesson-body section .button {
    font-size: 14px;
  }
}
.preview-stage iframe {
  border: 0;
  outline: 1px solid #cbd8eb;
}
/* Course directory: independent scrolling keeps long curricula usable. */
.course-directory-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-top: 24px;
}
.course-main {
  min-width: 0;
}
.course-directory {
  position: sticky;
  top: 100px;
  min-width: 0;
  border: 1px solid #e0e7f1;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  font-size: 15px;
}
.course-directory summary {
  cursor: pointer;
  padding: 17px 16px;
  font-weight: 700;
  color: #183859;
  background: #f5f8fe;
}
.course-directory summary small {
  font-size: 12px;
  font-weight: 400;
  margin-left: 8px;
  color: #697e99;
}
.course-nav-content {
  padding: 8px;
}
.course-nav-home {
  display: block;
  padding: 9px 10px;
  color: #245bc7;
  font-weight: 600;
}
.course-nav-search {
  display: block;
  padding: 6px 8px 12px;
  font-size: 12px;
  color: #64748b;
}
.course-nav-search input {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 5px;
  padding: 8px 10px;
  border: 1px solid #dbe3ef;
  border-radius: 7px;
  background: #fff;
  font: inherit;
  font-size: 14px;
}
.course-nav-list {
  position: relative;
  max-height: calc(100dvh - 330px);
  min-height: 100px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.course-nav-item {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 10px 9px;
  border-radius: 6px;
  color: #435875;
  line-height: 1.5;
  text-decoration: none;
}
.course-nav-item span {
  flex: 0 0 22px;
  color: #8799ae;
  font-size: 12px;
}
.course-nav-item:hover {
  background: #f2f6fe;
}
.course-nav-item.selected {
  background: #eaf1ff;
  color: #245bc7;
  font-weight: 650;
}
.course-nav-item[hidden] {
  display: none;
}
.course-nav-content > p {
  padding: 10px;
  color: #697e99;
}
.course-directory-layout .course-overview {
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
}
.course-directory-layout .course-hero {
  gap: 20px;
}
.course-directory-layout .course-badge {
  width: 160px;
  flex-shrink: 0;
}
@media (max-width: 1250px) {
  .course-directory-layout .course-overview {
    grid-template-columns: 1fr;
  }
  .course-directory-layout .course-overview > aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
@media (max-width: 760px) {
  .course-directory-layout {
    display: block;
    padding-top: 16px;
  }
  .course-directory {
    position: static;
    width: 100%;
    margin-bottom: 22px;
  }
  .course-nav-list {
    max-height: 320px;
  }
  .reading-layout {
    display: flex;
    flex-direction: column;
  }
  .reading-layout > .course-directory {
    order: 0;
  }
  .reading-layout > .lesson-body {
    order: 1;
    width: 100%;
  }
  .reading-layout > .toc {
    display: none;
  }
  .course-directory-layout .course-overview > aside {
    display: block;
  }
  .course-directory-layout .course-badge {
    display: none;
  }
}
.course-nav-group {
  margin: 12px 9px 5px;
  font-size: 12px;
  font-weight: 700;
  color: #7b8ea9;
  letter-spacing: 0.03em;
}
.coverage-summary {
  padding: 24px;
  border: 1px solid #dce6f5;
  border-radius: 12px;
  background: #f7faff;
}
.coverage-summary ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 8px 24px;
  margin-bottom: 0;
}
.teaching-block {
  scroll-margin-top: 110px;
  margin-block: 30px;
}
.teaching-block > h3 {
  scroll-margin-top: 110px;
}
.lesson-figure {
  margin: 24px 0 30px;
  padding: 12px;
  border: 1px solid #dbe5f3;
  border-radius: 14px;
  background: #f8faff;
}
.lesson-figure > a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
}
.lesson-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: white;
}
.lesson-figure figcaption {
  margin: 12px 6px 3px;
  color: #526681;
  font-size: 14px;
  line-height: 1.8;
}
.lesson-downloads { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) {
  .lesson-figure { padding: 6px; border-radius: 10px; }
  .lesson-figure figcaption { font-size: 13px; }
}
.course-overview > section,
.chapter-row > div {
  min-width: 0;
}
.chapter-row h3 {
  overflow-wrap: anywhere;
}
.article-tags {
  flex-wrap: wrap;
}
.article-tags .tag {
  white-space: nowrap;
}
@media (max-width: 1250px) {
  .course-directory-layout .course-overview {
    grid-template-columns: minmax(0, 1fr);
  }
}
.reading-layout .toc a {
  position: relative;
  margin-block: 3px;
  padding: 9px 10px;
  border-radius: 6px;
  color: #71829c;
  font-size: 15px;
  line-height: 1.6;
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}
.reading-layout .toc a:hover {
  color: #245bc7;
  background: #f4f7fc;
}
.reading-layout .toc a.is-reading {
  color: #245bc7;
  background: #edf3ff;
  font-weight: 650;
}
.reading-layout .toc a.is-reading::before {
  content: "";
  position: absolute;
  inset-inline-start: -19px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 3px #edf3ff;
  transform: translateY(-50%);
}
.lesson-body a.button.primary,
.lesson-body p a.button.primary {
  color: #fff;
}
.lesson-body a.button.primary:hover,
.lesson-body a.button.primary:focus-visible {
  color: #fff;
  background: #1d4ed8;
}
@media (prefers-reduced-motion: reduce) {
  .reading-layout .toc a {
    transition: none;
  }
}
.hero-editor-description {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hero-typing .code-art {
  height: 320px;
  padding: 20px 14px 24px;
  font-size: 14px;
  line-height: 2.35;
  overflow: hidden;
}
.hero-typing .line {
  min-width: 0;
  width: auto;
  min-height: 2.35em;
  white-space: pre-wrap;
}
.hero-typing .line > i {
  flex: 0 0 32px;
  padding-right: 12px;
}
.hero-typing .typing-content {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.hero-token-comment {
  color: #7f97b5;
}
.hero-token-tag {
  color: #83c0ff;
}
.hero-token-keyword {
  color: #b9adff;
}
.hero-token-string {
  color: #a7dfcb;
}
.hero-token-number {
  color: #f2cf92;
}
.hero-typing-caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: #a7d2ff;
  animation: hero-caret-blink 1s steps(1, end) infinite;
}
.hero-typing[data-paused="true"] .hero-typing-caret {
  animation: none;
  opacity: 1;
}
.editor-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.editor-controls button {
  border: 1px solid #607796;
  border-radius: 5px;
  padding: 2px 8px;
  color: #c4d4ea;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.editor-controls button:hover {
  color: #fff;
  background: #ffffff0a;
}
.editor-controls button:focus-visible {
  outline: 2px solid #a7d2ff;
  outline-offset: 3px;
}
.hero-typing .editor-floating {
  min-height: 66px;
}
@keyframes hero-caret-blink {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}
@media (max-width: 600px) {
  .hero-typing .code-art {
    font-size: 12px;
    height: 306px;
    padding-inline: 8px;
  }
  .hero-typing .line > i {
    flex-basis: 29px;
    padding-right: 8px;
  }
  .hero-typing .editor-bar {
    gap: 12px;
  }
  .hero-typing .editor-status {
    padding-inline: 12px;
    gap: 8px;
    font-size: 11px;
  }
  .editor-controls {
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-typing-caret {
    animation: none;
  }
}
.example-launch-hint {
  font-size: 14px;
  color: #657893;
}
.auto-run-control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: #526782;
  cursor: pointer;
}
.auto-run-control input {
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
}
.try-page .header-inner {
  min-height: 64px;
}
.try-page main > .container {
  max-width: 1600px;
  width: calc(100% - 40px);
}
.try-page .crumb {
  margin-block: 0;
  padding-block: 14px;
}
.try-page .tool-title-row {
  margin-block: 0 20px;
}
.try-page .tool-title-row h1 {
  font-size: 24px;
  line-height: 1.4;
}
.try-page .tool-title-row p {
  font-size: 15px;
  margin-top: 6px;
}
.try-page .tool-title-row .eyebrow {
  display: none;
}
.try-page .learning-workspace {
  --try-pane-height: clamp(380px, calc(100dvh - 305px), 760px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 54px minmax(0, 1fr) auto auto;
}
.try-page .learning-toolbar {
  grid-column: 1 / -1;
  grid-row: 1;
  padding: 12px 16px;
  gap: 14px;
  flex-wrap: wrap;
}
.try-page .learning-toolbar > div {
  align-items: center;
}
.try-page .editor-label {
  grid-column: 1;
  grid-row: 2 / 4;
  height: var(--try-pane-height);
  display: flex;
  flex-direction: column;
  padding: 12px 16px 0;
  min-width: 0;
}
.try-page .editor-label[hidden] {
  display: none;
}
.try-page .editor-label textarea {
  flex: 1;
  min-height: 0;
  resize: none;
  padding-block: 12px;
  font-size: 15px;
  line-height: 1.8;
}
.try-page .editor-label textarea:focus-visible {
  outline: 2px solid #8ac3ff;
  outline-offset: -2px;
}
.try-page .preview-toolbar {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  padding: 8px 14px;
  border-top: 0;
  border-left: 1px solid #dce5f3;
}
.try-page .preview-stage {
  grid-column: 2;
  grid-row: 3;
  height: calc(var(--try-pane-height) - 54px);
  min-height: 0;
  padding: 0;
  border-left: 1px solid #dce5f3;
}
.try-page .preview-stage iframe {
  height: 100%;
  border-radius: 0;
  border: 0;
}
.try-page .run-status {
  grid-column: 1 / -1;
  grid-row: 4;
  margin: 0;
  padding: 10px 16px;
}
.try-page #run-console {
  grid-column: 1 / -1;
  grid-row: 5;
  margin: 0;
  padding: 16px;
}
.try-page #run-console[hidden] {
  display: none;
}
@media (max-width: 900px) {
  .try-page .learning-workspace {
    display: block;
  }
  .try-page main > .container {
    width: calc(100% - 32px);
  }
  .try-page .learning-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .try-page .editor-label {
    height: 340px;
  }
  .try-page .preview-toolbar {
    border-left: 0;
    border-top: 1px solid #dce5f3;
  }
  .try-page .preview-stage {
    height: 440px;
    border-left: 0;
  }
  .try-page .tool-title-row {
    align-items: flex-start;
    gap: 12px;
  }
  .try-page .tool-title-row h1 {
    font-size: 21px;
  }
  .try-page .preview-toolbar > div {
    gap: 2px;
  }
  .try-page .preview-toolbar button {
    padding: 7px 8px;
  }
}

/* Long chapter outlines stay accessible within the viewport. */
.reading-layout > .toc { max-height: calc(100dvh - 130px); overflow-y: auto; scrollbar-width: thin; }

/* Course directories and independent examples */
.course-hero .hero-actions{flex-wrap:wrap;gap:12px}
.course-hero .hero-actions .button{white-space:nowrap;flex:0 0 auto}
.course-library-meta{color:var(--muted,#64748b);font-size:16px;line-height:1.8;margin:18px 0}
.course-example-library,.course-practice{margin-top:40px;scroll-margin-top:110px}
#course-chapters{scroll-margin-top:110px}
.course-example-library>p,.course-practice>p{color:var(--muted,#64748b);line-height:1.8}
.course-example-library summary{padding:16px 0;font-weight:650;color:#2463eb;cursor:pointer}
.course-example-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.course-example-item{display:flex;flex-direction:column;gap:8px;padding:18px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;min-width:0;overflow-wrap:anywhere}
.course-example-item strong{font-size:16px;line-height:1.65;color:#1b2b45}
.course-example-item span{font-size:14px;color:#536d93}
.course-example-item:hover,.course-example-item:focus-visible{border-color:#2463eb;background:#f7faff}
.course-card[data-upcoming]{cursor:default}
.course-card[data-upcoming]:hover{transform:none;box-shadow:none}
.course-card[data-upcoming] .card-bottom span:last-child{color:#718096}
@media(max-width:640px){.course-example-list{grid-template-columns:1fr}.course-library-meta{font-size:15px}}
