:root {
  --learn-radius: 5px;
  --learn-shadow: none;
  --learn-focus: var(--xjk-accent, #38bdf8);
  --learn-line: rgba(255, 255, 255, 0.11);
  --learn-dim: #899097;
  font-family: "IBM Plex Sans Condensed", "Roboto Condensed", Inter, system-ui, sans-serif;
}

.learn-view-root {
  background: rgba(2, 4, 6, 0.65);
}
.learn-scroll-page {
  height: 100%;
  overflow: auto;
  scrollbar-gutter: stable;
}
.learn-page-content,
.learn-home-body {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 32px 40px;
}
.learn-micro {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--learn-muted);
}
.learn-eyebrow {
  font-size: 10px;
  letter-spacing: 0.08em;
}
.learn-line-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--learn-focus);
  margin-right: 8px;
}
.learn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #c7ced3;
}
.learn-text-link:hover {
  color: var(--learn-text);
}
.learn-text-link .learn-icon {
  width: 15px;
  height: 15px;
}
.learn-button,
.learn-chip,
.learn-select,
.learn-input,
.learn-icon-button {
  border-radius: 4px;
  min-height: 32px;
}
.learn-button.is-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--learn-text);
  border-color: color-mix(in srgb, var(--learn-focus) 40%, transparent);
  background: color-mix(in srgb, var(--learn-focus) 9%, transparent);
}
.learn-button.is-primary:hover {
  border-color: var(--learn-focus);
  background: color-mix(in srgb, var(--learn-focus) 16%, transparent);
}
.learn-page-title,
.learn-article-title,
.learn-card-title,
.learn-article-body h2,
.learn-article-body h3 {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-weight: 500;
  line-height: 1.2;
}
.learn-panel,
.learn-card,
.learn-stat-card,
.learn-tool-tile {
  box-shadow: none;
  background: rgba(6, 9, 12, 0.8);
}
.learn-home-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 360px;
  max-width: 1440px;
  margin: auto;
  border-bottom: 1px solid var(--learn-line);
}
.learn-home-intro {
  z-index: 1;
  padding: 40px 0 30px 32px;
  min-width: 0;
}
.learn-home-intro h1,
.learn-catalog-head h1 {
  margin: 22px 0 18px;
  font:
    600 clamp(28px, 2.7vw, 42px) / 1.14 Inter,
    sans-serif;
  letter-spacing: -0.035em;
}
.learn-home-intro h1 span,
.learn-catalog-head h1 span {
  color: #969fa7;
}
.learn-home-description {
  max-width: 440px;
  color: #a7b0b8;
  font-size: 16px;
  line-height: 1.6;
}
.learn-home-search {
  max-width: 450px;
  height: 44px;
  margin: 24px 0 18px;
  padding-left: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(6, 9, 12, 0.85);
}
.learn-home-search:focus-within {
  border-color: var(--learn-focus);
}
.learn-home-search > .learn-icon {
  width: 16px;
  color: var(--learn-focus);
}
.learn-home-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--learn-text);
  font-size: 15px;
}
.learn-home-search button {
  display: grid;
  place-items: center;
  height: 100%;
  width: 40px;
  flex-shrink: 0;
  border: 0;
  border-left: 1px solid var(--learn-line);
  background: rgba(255, 255, 255, 0.025);
}
.learn-home-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  color: #8a949d;
}
.learn-home-stats strong {
  font-weight: 500;
  color: #d4dce2;
  margin-right: 3px;
}
.learn-home-orbit {
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.learn-home-orbit .learn-graph-wrap {
  inset: 0 0 35px;
  min-height: 0;
}
.learn-orbit-caption {
  position: absolute;
  bottom: 25px;
  left: 24px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.learn-orbit-caption .learn-micro {
  font-size: 9px;
  color: #79848d;
}
.learn-home-body {
  display: grid;
  gap: 30px;
  padding-top: 22px;
}
.learn-continue {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--learn-line);
  border-left: 2px solid var(--learn-focus);
  border-radius: 4px;
  background: rgba(8, 13, 17, 0.8);
}
.learn-continue:hover {
  background: rgba(17, 23, 28, 0.9);
  border-color: rgba(255, 255, 255, 0.25);
  border-left-color: var(--learn-focus);
}
.learn-continue-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--learn-line);
  border-radius: 4px;
  color: var(--learn-focus);
}
.learn-continue small,
.learn-continue strong {
  display: block;
}
.learn-continue strong {
  margin-top: 4px;
  font-size: 17px;
  font-weight: 500;
}
.learn-continue-time {
  text-align: right;
  color: var(--learn-muted);
  font-size: 12px;
}
.learn-continue-time > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--learn-text);
  margin-top: 4px;
  font-size: 14px;
}
.learn-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.learn-section-heading .learn-eyebrow {
  margin: 0 0 6px;
  color: #858e97;
}
.learn-section-heading h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 500;
}
.learn-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.learn-path-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--learn-line);
  border-radius: 5px;
  background: rgba(6, 10, 13, 0.78);
}
.learn-path-card:hover,
.learn-topic-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(17, 22, 27, 0.9);
}
.learn-path-card-top,
.learn-path-card-bottom,
.learn-topic-card-top,
.learn-topic-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.learn-path-card-top .learn-icon {
  width: 15px;
  color: #7f8b96;
}
.learn-path-card h3 {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  margin: 18px 0 8px;
}
.learn-path-card p {
  color: #a6afb7;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 20px;
}
.learn-path-stops {
  display: flex;
  align-items: center;
  margin: auto 0 16px;
  min-height: 10px;
}
.learn-path-stops span {
  position: relative;
  width: 8px;
  height: 8px;
  border: 1px solid #66737f;
  border-radius: 50%;
}
.learn-path-stops span:not(:last-child) {
  margin-right: 20px;
}
.learn-path-stops span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: 20px;
  height: 1px;
  background: #34424d;
}
.learn-path-stops span.is-done {
  background: var(--learn-focus);
  border-color: var(--learn-focus);
}
.learn-path-card-bottom {
  font-size: 11px;
  color: #a2adb6;
}
.learn-path-card-bottom > span:last-child {
  color: #d3dde4;
}
.learn-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.learn-topic-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  border: 1px solid var(--learn-line);
  border-radius: 5px;
  padding: 16px;
  background: rgba(6, 10, 13, 0.78);
}
.learn-topic-symbol {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--learn-line);
  border-radius: 4px;
  color: #a7bbc9;
  font:
    10px "Space Mono",
    monospace;
}
.learn-topic-symbol .learn-icon {
  width: 15px;
  height: 15px;
}
.learn-topic-card h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}
.learn-topic-card p {
  color: #a0aab2;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.learn-topic-card-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: auto;
  padding-top: 12px;
  color: #a1aab2;
  font-size: 11px;
}
.learn-topic-card-bottom span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.learn-topic-card-bottom .learn-icon {
  width: 14px;
  height: 14px;
}
.learn-home-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--learn-line);
}
.learn-area-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 12px;
}
.learn-area-links a {
  font-size: 13px;
  color: #b4bdc5;
}
.learn-area-links a:hover {
  color: var(--learn-focus);
}
.learn-area-links span {
  color: #808b94;
  margin-left: 3px;
  font:
    10px "Space Mono",
    monospace;
}
.learn-progress-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 24px;
  border-left: 1px solid var(--learn-line);
}
.learn-progress-link strong,
.learn-progress-link small {
  display: block;
}
.learn-progress-link strong {
  font-size: 15px;
  font-weight: 500;
}
.learn-progress-link small {
  color: var(--learn-muted);
  margin-top: 6px;
  font-size: 12px;
}

@media (min-width: 1600px) {
  .learn-home-hero {
    min-height: 430px;
  }
  .learn-home-intro {
    padding-top: 54px;
  }
}
@media (max-width: 1200px) {
  .learn-page-content,
  .learn-home-body {
    padding-inline: 22px;
  }
  .learn-home-intro {
    padding-left: 22px;
  }
  .learn-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .learn-path-grid {
    gap: 10px;
  }
  .learn-path-card {
    padding: 14px;
  }
  .learn-path-card h3 {
    font-size: 18px;
  }
  .learn-path-card-bottom {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }
  .learn-orbit-caption {
    left: 14px;
    right: 20px;
  }
  .learn-orbit-caption > .learn-micro {
    display: none;
  }
  .learn-path-stops span:not(:last-child) {
    margin-right: 13px;
  }
  .learn-path-stops span:not(:last-child)::after {
    width: 13px;
  }
}
@media (max-width: 900px) {
  .learn-home-hero {
    grid-template-columns: 1.3fr 0.8fr;
  }
  .learn-home-intro h1 {
    font-size: 30px;
  }
  .learn-home-stats {
    gap: 10px;
  }
  .learn-path-grid {
    grid-template-columns: 1fr;
  }
  .learn-path-card h3 {
    margin: 12px 0 7px;
    font-size: 21px;
  }
  .learn-path-card-bottom {
    flex-direction: row;
  }
  .learn-path-card p {
    margin-bottom: 16px;
  }
  .learn-home-footer {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .learn-progress-link {
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid var(--learn-line);
  }
}
@media (max-width: 640px) {
  .learn-page-content,
  .learn-home-body {
    padding: 20px 16px 28px;
  }
  .learn-home-hero {
    grid-template-columns: 1fr;
  }
  .learn-home-intro {
    padding: 24px 16px 12px;
  }
  .learn-home-intro h1 {
    margin-top: 18px;
    font-size: 30px;
  }
  .learn-home-description {
    font-size: 15px;
  }
  .learn-home-search {
    max-width: none;
  }
  .learn-home-orbit {
    height: 240px;
  }
  .learn-home-orbit .learn-graph-wrap {
    inset: 0 0 26px;
  }
  .learn-orbit-caption {
    bottom: 12px;
    left: 16px;
    right: 16px;
  }
  .learn-orbit-caption > .learn-micro {
    display: block;
  }
  .learn-continue {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }
  .learn-continue-icon {
    width: 28px;
    height: 28px;
  }
  .learn-continue strong {
    font-size: 16px;
  }
  .learn-continue-time {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .learn-continue-time > span {
    margin: 0;
  }
  .learn-section-heading h2 {
    font-size: 21px;
  }
  .learn-section-heading > .learn-text-link {
    font-size: 12px;
    white-space: nowrap;
  }
  .learn-topic-grid {
    grid-template-columns: 1fr;
  }
}
