/* Learner knowledge base · Trusted Knowledge Atlas */
.kb-page {
  --kb-blue: #1769f5;
  --kb-blue-deep: #0d4fd1;
  --kb-cyan: #21b8d3;
  --kb-green: #12a97d;
  --kb-orange: #f39a3f;
  --kb-navy: #0d2449;
  --kb-copy: #526683;
  --kb-muted: #8a98ad;
  --kb-line: rgba(111, 149, 199, .20);
  min-height: 100vh;
  padding-top: 76px;
  color: var(--kb-navy);
  background:
    radial-gradient(circle at 3% 13%, rgba(45, 202, 222, .13), transparent 23%),
    radial-gradient(circle at 97% 19%, rgba(112, 105, 255, .10), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f6faff 42%, #fbfcff 100%);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
.kb-page *, .kb-page *::before, .kb-page *::after { box-sizing: border-box; }
.kb-page button, .kb-page input { font: inherit; }
.kb-page button:focus-visible, .kb-page input:focus-visible { outline: 3px solid rgba(23, 105, 245, .18); outline-offset: 3px; }
.kb-main { width: 100%; }
.kb-shell { width: min(1760px, calc(100% - 72px)); margin: 0 auto; }

.kb-loading {
  display: grid;
  min-height: calc(100vh - 76px);
  place-content: center;
  gap: 14px;
  color: #71819a;
  text-align: center;
}
.kb-loading i { color: var(--kb-blue); font-size: 38px; }

.kb-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border: 1px solid rgba(117, 157, 210, .20);
  border-radius: 0 0 34px 34px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(40, 83, 142, .08);
}
.kb-hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.kb-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.93) 31%, rgba(255,255,255,.28) 52%, rgba(255,255,255,.03) 100%);
  content: "";
  pointer-events: none;
}
.kb-hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 48%);
  padding: 78px 0 188px 72px;
}
.kb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--kb-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .17em;
}
.kb-kicker::before { width: 31px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--kb-blue), var(--kb-cyan)); content: ""; }
.kb-hero h1 {
  max-width: 680px;
  margin: 25px 0 17px;
  color: #09224b;
  font-size: clamp(43px, 4vw, 70px);
  font-weight: 950;
  line-height: 1.18;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.kb-hero-copy > p { max-width: 590px; margin: 0; color: #637593; font-size: 17px; line-height: 1.9; text-wrap: pretty; }
.kb-search {
  display: grid;
  width: min(610px, 100%);
  height: 60px;
  grid-template-columns: 52px minmax(0, 1fr) 112px;
  align-items: center;
  margin-top: 29px;
  overflow: hidden;
  border: 1px solid #d5e2f2;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 35px rgba(34, 78, 136, .08);
  backdrop-filter: blur(12px);
}
.kb-search > i { color: #7890ae; font-size: 23px; text-align: center; }
.kb-search input { min-width: 0; height: 100%; border: 0; outline: 0; color: #233b5c; background: transparent; font-size: 14px; }
.kb-search input::placeholder { color: #9aa8ba; }
.kb-search button { height: 46px; margin-right: 7px; border: 0; border-radius: 13px; color: #fff; background: linear-gradient(120deg, var(--kb-blue), #2c77f4); font-size: 13px; font-weight: 850; cursor: pointer; }
.kb-hero-actions { display: flex; gap: 12px; margin-top: 17px; }
.kb-primary, .kb-secondary {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.kb-primary { border: 1px solid var(--kb-blue); color: #fff; background: linear-gradient(125deg, var(--kb-blue-deep), var(--kb-blue)); box-shadow: 0 12px 24px rgba(23,105,245,.19); }
.kb-secondary { border: 1px solid #ccdbee; color: #254365; background: rgba(255,255,255,.88); }
.kb-primary:hover, .kb-secondary:hover { transform: translateY(-2px); }

.kb-metrics {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: 26px;
  left: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(158, 185, 221, .28);
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 48px rgba(35, 76, 132, .09);
  backdrop-filter: blur(18px);
}
.kb-metric { display: flex; min-height: 108px; align-items: center; gap: 15px; padding: 18px 24px; }
.kb-metric + .kb-metric { border-left: 1px solid #e4ebf4; }
.kb-metric > i { display: grid; width: 49px; height: 49px; flex: 0 0 auto; place-content: center; border-radius: 15px; color: var(--kb-blue); background: #eaf3ff; font-size: 24px; }
.kb-metric:nth-child(2) > i { color: var(--kb-green); background: #e9f9f3; }
.kb-metric:nth-child(3) > i { color: var(--kb-cyan); background: #eafafd; }
.kb-metric:nth-child(4) > i { color: #456ee9; background: #eef1ff; }
.kb-metric span { display: flex; min-width: 0; flex-direction: column; color: #405470; font-size: 12px; font-weight: 750; }
.kb-metric strong { color: #0d294f; font-size: 27px; line-height: 1.1; }
.kb-metric small { margin-top: 6px; overflow: hidden; color: #8b99ab; font-size: 10px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }

.kb-section { padding: 94px 0 0; }
.kb-section:last-child { padding-bottom: 100px; }
.kb-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.kb-section-title small { display: block; color: var(--kb-blue); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.kb-section-title h2 { margin: 10px 0 7px; color: #0b274f; font-size: clamp(29px, 2.6vw, 43px); font-weight: 900; letter-spacing: -.045em; }
.kb-section-title p { margin: 0; color: #71819a; font-size: 14px; line-height: 1.7; }
.kb-text-action { display: inline-flex; align-items: center; gap: 7px; border: 0; color: var(--kb-blue); background: transparent; font-size: 13px; font-weight: 800; cursor: pointer; }

.kb-domain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.kb-domain-card {
  position: relative;
  min-height: 234px;
  overflow: hidden;
  padding: 27px;
  border: 1px solid var(--kb-line);
  border-radius: 24px;
  color: #173557;
  background: rgba(255,255,255,.93);
  box-shadow: 0 15px 38px rgba(35, 76, 132, .055);
  cursor: pointer;
  transition: transform .23s ease, box-shadow .23s ease, border-color .23s ease;
}
.kb-domain-card::before, .kb-domain-card::after { position: absolute; border: 1px solid rgba(63,126,226,.10); border-radius: 50%; content: ""; }
.kb-domain-card::before { right: -74px; bottom: -126px; width: 260px; height: 260px; }
.kb-domain-card::after { right: 16px; bottom: -72px; width: 160px; height: 160px; }
.kb-domain-card:hover, .kb-domain-card.active { border-color: rgba(23,105,245,.38); box-shadow: 0 24px 52px rgba(31,91,172,.12); transform: translateY(-5px); }
.kb-domain-card:nth-child(2) { background: linear-gradient(145deg, #fff 0%, #f2fcfb 100%); }
.kb-domain-card:nth-child(3) { background: linear-gradient(145deg, #fff 0%, #f6f3ff 100%); }
.kb-domain-card:nth-child(4) { background: linear-gradient(145deg, #fff 0%, #f1f8ff 100%); }
.kb-domain-card:nth-child(5) { background: linear-gradient(145deg, #fff 0%, #fff8ef 100%); }
.kb-domain-card:nth-child(6) { background: linear-gradient(145deg, #fff 0%, #eefaf6 100%); }
.kb-domain-top { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; }
.kb-domain-icon { display: grid; width: 54px; height: 54px; place-content: center; border-radius: 16px; color: var(--kb-blue); background: #eaf3ff; font-size: 26px; }
.kb-domain-card:nth-child(2) .kb-domain-icon, .kb-domain-card:nth-child(6) .kb-domain-icon { color: var(--kb-green); background: #e8f8f2; }
.kb-domain-card:nth-child(3) .kb-domain-icon { color: #7258e8; background: #f0edff; }
.kb-domain-card:nth-child(5) .kb-domain-icon { color: var(--kb-orange); background: #fff0df; }
.kb-domain-sequence { color: #a5b1c2; font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.kb-domain-card h3 { position: relative; z-index: 1; margin: 24px 0 6px; font-size: 20px; font-weight: 900; }
.kb-domain-card > p { position: relative; z-index: 1; min-height: 42px; margin: 0; color: #75849a; font-size: 12px; line-height: 1.7; }
.kb-domain-foot { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.kb-domain-foot span { display: flex; flex-direction: column; color: #7b899c; font-size: 9px; }
.kb-domain-foot b { color: #203a5b; font-size: 15px; }
.kb-domain-progress { min-width: 90px; flex: 1; height: 6px; overflow: hidden; border-radius: 999px; background: #e8eef6; }
.kb-domain-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--kb-blue), var(--kb-cyan)); }
.kb-domain-arrow { color: var(--kb-blue); font-size: 23px; }

.kb-featured-wrap {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border: 1px solid rgba(126, 164, 213, .18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 84% 0%, rgba(77, 122, 246, .11), transparent 27%),
    radial-gradient(circle at 9% 100%, rgba(39, 195, 211, .11), transparent 27%),
    rgba(255,255,255,.82);
  box-shadow: 0 24px 65px rgba(35, 76, 132, .075);
}
.kb-featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.kb-featured-card { display: flex; min-height: 265px; flex-direction: column; padding: 24px; border: 1px solid #dfe9f4; border-radius: 21px; background: rgba(255,255,255,.95); box-shadow: 0 11px 28px rgba(36, 74, 124, .055); transition: transform .22s ease, box-shadow .22s ease; }
.kb-featured-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(32, 75, 134, .10); }
.kb-featured-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kb-source-chip, .kb-status-chip { display: inline-flex; min-height: 25px; align-items: center; gap: 5px; padding: 0 9px; border-radius: 8px; font-size: 9px; font-weight: 850; }
.kb-source-chip { color: #225bbd; background: #eaf3ff; }
.kb-source-chip.green { color: #087c5d; background: #e8f8f2; }
.kb-status-chip { color: #0b8f69; background: #eaf9f4; }
.kb-featured-card h3 { margin: 22px 0 10px; color: #152f51; font-size: 17px; font-weight: 900; line-height: 1.45; }
.kb-featured-card > p { display: -webkit-box; margin: 0; overflow: hidden; color: #708097; font-size: 12px; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.kb-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.kb-tags span { padding: 5px 8px; border-radius: 7px; color: #687993; background: #f2f6fa; font-size: 9px; }
.kb-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.kb-card-foot span { color: #8290a4; font-size: 10px; }
.kb-card-foot button { display: inline-flex; align-items: center; gap: 6px; border: 0; color: var(--kb-blue); background: transparent; font-size: 11px; font-weight: 850; cursor: pointer; }

.kb-trust-chain {
  display: grid;
  grid-template-columns: 1.05fr 1.95fr;
  overflow: hidden;
  border: 1px solid rgba(118, 155, 205, .20);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 62px rgba(35, 76, 132, .075);
}
.kb-trust-copy { padding: 52px; background: linear-gradient(145deg, #0e56bd 0%, #1769f5 60%, #1a8ad8 100%); color: #fff; }
.kb-trust-copy .kb-kicker { color: #bfe8ff; }
.kb-trust-copy .kb-kicker::before { background: #73e2e9; }
.kb-trust-copy h2 { margin: 22px 0 15px; color: #fff; font-size: 36px; line-height: 1.3; letter-spacing: -.045em; }
.kb-trust-copy p { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.9; }
.kb-source-list { display: grid; gap: 9px; margin-top: 30px; }
.kb-source-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 13px; background: rgba(255,255,255,.08); }
.kb-source-row > i { display: grid; width: 34px; height: 34px; place-content: center; border-radius: 10px; background: rgba(255,255,255,.13); font-size: 18px; }
.kb-source-row span { display: flex; flex-direction: column; font-size: 11px; font-weight: 800; }
.kb-source-row small { margin-top: 3px; color: rgba(255,255,255,.62); font-size: 9px; font-weight: 500; }
.kb-source-row b { font-size: 18px; }
.kb-agent-chain { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 42px; background: linear-gradient(160deg, #fff 0%, #f7fbff 100%); }
.kb-agent-chain::before { position: absolute; top: 50%; left: 50%; width: 2px; height: 60%; background: linear-gradient(var(--kb-blue), var(--kb-cyan), var(--kb-green)); opacity: .2; transform: translate(-50%, -50%); content: ""; }
.kb-agent-step { position: relative; min-height: 148px; padding: 22px; border: 1px solid #dce7f3; border-radius: 20px; background: #fff; box-shadow: 0 11px 25px rgba(35, 76, 132, .05); }
.kb-agent-step > span { display: flex; align-items: center; gap: 12px; }
.kb-agent-step > span i { display: grid; width: 42px; height: 42px; place-content: center; border-radius: 13px; color: var(--kb-blue); background: #eaf3ff; font-size: 21px; }
.kb-agent-step:nth-child(2) > span i { color: #765ce9; background: #f0edff; }
.kb-agent-step:nth-child(3) > span i { color: var(--kb-green); background: #e8f8f2; }
.kb-agent-step:nth-child(4) > span i { color: var(--kb-orange); background: #fff1e1; }
.kb-agent-step strong { color: #1f395b; font-size: 14px; }
.kb-agent-step small { display: block; margin-top: 15px; color: #74849a; font-size: 11px; line-height: 1.7; }
.kb-agent-step em { position: absolute; right: 18px; bottom: 16px; color: #8da0b9; font-size: 9px; font-style: normal; }

.kb-library {
  overflow: hidden;
  border: 1px solid rgba(120, 158, 208, .20);
  border-radius: 28px;
  background: rgba(255,255,255,.91);
  box-shadow: 0 22px 56px rgba(35, 76, 132, .065);
}
.kb-library-toolbar { display: flex; align-items: center; gap: 10px; padding: 18px 22px; border-bottom: 1px solid #e6edf6; }
.kb-filter { height: 38px; padding: 0 14px; border: 1px solid #dce6f2; border-radius: 11px; color: #64758d; background: #fff; font-size: 11px; font-weight: 750; cursor: pointer; }
.kb-filter.active { border-color: var(--kb-blue); color: #fff; background: var(--kb-blue); }
.kb-result-count { margin-left: auto; color: #8c99ab; font-size: 10px; }
.kb-doc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 20px; }
.kb-doc-card { display: flex; min-height: 230px; flex-direction: column; padding: 22px; border: 1px solid #e0e8f2; border-radius: 19px; background: #fff; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.kb-doc-card:hover { border-color: #a9c8f2; box-shadow: 0 15px 31px rgba(31, 77, 139, .09); transform: translateY(-3px); }
.kb-doc-head { display: flex; align-items: center; justify-content: space-between; }
.kb-code { padding: 4px 8px; border-radius: 7px; color: #1769f5; background: #eaf3ff; font-size: 9px; font-weight: 900; }
.kb-doc-head small { color: #9aa6b5; font-size: 9px; }
.kb-doc-card h3 { margin: 17px 0 9px; color: #1a3658; font-size: 15px; font-weight: 900; line-height: 1.5; }
.kb-doc-card > p { display: -webkit-box; overflow: hidden; margin: 0; color: #74839a; font-size: 11px; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.kb-doc-card .kb-tags { margin-top: auto; padding-top: 14px; }
.kb-load-more { display: block; min-width: 180px; height: 44px; margin: 4px auto 24px; border: 1px solid #cad9ed; border-radius: 13px; color: #31567f; background: #fff; font-size: 12px; font-weight: 850; cursor: pointer; }
.kb-empty { grid-column: 1 / -1; padding: 70px 20px; color: #8694a7; text-align: center; }
.kb-empty i { display: block; margin-bottom: 12px; color: #7fa6d7; font-size: 40px; }

.kb-search-panel { margin-top: 22px; overflow: hidden; border: 1px solid #dce7f2; border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 18px 42px rgba(35,76,132,.08); }
.kb-search-panel header { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid #e7edf5; }
.kb-search-panel h2 { margin: 0; color: #173456; font-size: 17px; }
.kb-search-panel header button { border: 0; color: var(--kb-blue); background: transparent; cursor: pointer; }
.kb-search-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 18px; }
.kb-search-result { padding: 17px; border: 1px solid #e0e8f2; border-radius: 15px; background: #fff; text-align: left; cursor: pointer; }
.kb-search-result strong { display: block; margin: 10px 0 7px; color: #203b5c; font-size: 13px; }
.kb-search-result p { margin: 0; color: #7b899b; font-size: 10px; line-height: 1.65; }

.kb-modal-mask { position: fixed; z-index: 240; inset: 0; display: grid; place-items: center; padding: 28px; background: rgba(10, 31, 61, .42); backdrop-filter: blur(8px); }
.kb-modal { position: relative; width: min(900px, 94vw); max-height: 88vh; overflow: auto; padding: 38px 42px; border: 1px solid #dbe6f2; border-radius: 28px; background: #fff; box-shadow: 0 36px 90px rgba(10, 39, 78, .28); }
.kb-modal-close { position: absolute; top: 20px; right: 20px; display: grid; width: 38px; height: 38px; place-content: center; border: 0; border-radius: 12px; color: #60728b; background: #f1f5f9; font-size: 22px; cursor: pointer; }
.kb-modal-meta { display: flex; align-items: center; gap: 9px; margin-right: 40px; }
.kb-modal h2 { margin: 18px 46px 12px 0; color: #102e55; font-size: 29px; line-height: 1.35; }
.kb-modal .kb-tags { margin-bottom: 22px; }
.kb-modal-content { padding: 24px; border-radius: 18px; color: #3f5068; background: #f8fbff; font-size: 14px; line-height: 1.95; white-space: pre-wrap; }
.kb-modal-note { display: flex; gap: 10px; margin-top: 18px; padding: 14px 16px; border: 1px solid #cfe3f5; border-radius: 13px; color: #58708e; background: #f1f8ff; font-size: 11px; line-height: 1.7; }
.kb-modal-note i { color: var(--kb-blue); font-size: 18px; }

@media (max-width: 1280px) {
  .kb-shell { width: min(1180px, calc(100% - 40px)); }
  .kb-hero { min-height: 610px; }
  .kb-hero-copy { width: 56%; padding-left: 48px; }
  .kb-domain-grid, .kb-doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kb-featured-grid { grid-template-columns: 1fr; }
  .kb-featured-card { min-height: 220px; }
}
@media (max-width: 920px) {
  .kb-page { padding-top: 66px; }
  .kb-shell { width: min(100% - 28px, 820px); }
  .kb-hero { min-height: 780px; }
  .kb-hero-art { object-position: 68% 12%; opacity: .58; }
  .kb-hero::after { background: linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 52%, rgba(255,255,255,.20) 100%); }
  .kb-hero-copy { width: 100%; padding: 55px 36px 350px; }
  .kb-hero h1 { font-size: 46px; }
  .kb-metrics { grid-template-columns: repeat(2, 1fr); }
  .kb-metric:nth-child(3) { border-left: 0; border-top: 1px solid #e4ebf4; }
  .kb-metric:nth-child(4) { border-top: 1px solid #e4ebf4; }
  .kb-trust-chain { grid-template-columns: 1fr; }
  .kb-section { padding-top: 70px; }
}
@media (max-width: 640px) {
  .kb-shell { width: calc(100% - 20px); }
  .kb-hero { min-height: 870px; border-radius: 0 0 24px 24px; }
  .kb-hero-copy { padding: 42px 22px 430px; }
  .kb-hero h1 { margin-top: 19px; font-size: 37px; }
  .kb-hero-copy > p { font-size: 14px; }
  .kb-search { height: 54px; grid-template-columns: 45px minmax(0, 1fr) 82px; }
  .kb-search button { font-size: 11px; }
  .kb-hero-actions { flex-direction: column; }
  .kb-metrics { right: 14px; bottom: 14px; left: 14px; }
  .kb-metric { min-height: 82px; gap: 9px; padding: 12px; }
  .kb-metric > i { width: 38px; height: 38px; border-radius: 12px; font-size: 19px; }
  .kb-metric strong { font-size: 21px; }
  .kb-metric small { display: none; }
  .kb-section-head { align-items: flex-start; flex-direction: column; }
  .kb-domain-grid, .kb-doc-grid, .kb-search-results { grid-template-columns: 1fr; }
  .kb-featured-wrap { padding: 20px; border-radius: 23px; }
  .kb-trust-copy { padding: 34px 25px; }
  .kb-agent-chain { grid-template-columns: 1fr; padding: 22px; }
  .kb-agent-chain::before { display: none; }
  .kb-library-toolbar { align-items: flex-start; flex-wrap: wrap; }
  .kb-result-count { width: 100%; margin: 5px 0 0; }
  .kb-modal { padding: 32px 22px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .kb-page *, .kb-page *::before, .kb-page *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Knowledge hero fidelity V2 */
.kb-hero {
  min-height: 550px;
  border-radius: 0 0 26px 26px;
  background: linear-gradient(112deg, #fff 0%, #fbfdff 55%, #f2f8ff 100%);
  box-shadow: 0 18px 52px rgba(40, 83, 142, .065);
}
.kb-hero-art {
  right: 0;
  left: auto;
  width: 64%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  image-rendering: auto;
}
.kb-hero::after {
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.99) 33%, rgba(255,255,255,.82) 46%, rgba(255,255,255,.17) 62%, rgba(255,255,255,0) 78%);
}
.kb-hero-copy {
  width: min(1020px, 58%);
  padding: 50px 0 142px 52px;
}
.kb-kicker { font-size: 12px; letter-spacing: .15em; }
.kb-hero h1 {
  max-width: 920px;
  margin: 17px 0 12px;
  font-size: clamp(40px, 2.35vw, 50px);
  line-height: 1.16;
  letter-spacing: -.052em;
}
.kb-hero-copy > p { max-width: 540px; font-size: 14px; line-height: 1.75; }
.kb-search {
  width: min(560px, 100%);
  height: 54px;
  grid-template-columns: 48px minmax(0, 1fr) 104px;
  margin-top: 18px;
  border-radius: 15px;
  box-shadow: 0 9px 25px rgba(34, 78, 136, .06);
}
.kb-search > i { font-size: 21px; }
.kb-search button { height: 42px; border-radius: 11px; }
.kb-hero-actions { margin-top: 12px; }
.kb-primary, .kb-secondary { min-height: 43px; padding: 0 19px; border-radius: 12px; }
.kb-metrics { right: 24px; bottom: 18px; left: 24px; border-radius: 18px; }
.kb-metric { min-height: 88px; gap: 12px; padding: 13px 20px; }
.kb-metric > i { width: 43px; height: 43px; border-radius: 13px; font-size: 21px; }
.kb-metric strong { font-size: 24px; }
.kb-metric small { margin-top: 4px; }

.kb-section { padding-top: 30px; }
.kb-section-head { margin-bottom: 16px; }
.kb-section-title small { font-size: 10px; }
.kb-section-title h2 { margin: 6px 0 4px; font-size: clamp(24px, 2vw, 32px); }
.kb-section-title p { font-size: 13px; }
.kb-domain-grid { gap: 14px; }
.kb-domain-card {
  min-height: 142px;
  padding: 17px 19px;
  border-radius: 18px;
  box-shadow: 0 9px 24px rgba(35, 76, 132, .045);
}
.kb-domain-card::before { right: -86px; bottom: -162px; }
.kb-domain-card::after { right: 8px; bottom: -106px; }
.kb-domain-icon { width: 43px; height: 43px; border-radius: 12px; font-size: 21px; }
.kb-domain-card h3 { margin: 12px 0 0; font-size: 16px; }
.kb-domain-card > p { display: none; }
.kb-domain-foot { gap: 11px; margin-top: 10px; }
.kb-domain-foot span { font-size: 8px; }
.kb-domain-foot b { font-size: 13px; }
.kb-domain-progress { min-width: 64px; }
.kb-domain-arrow { font-size: 19px; }

@media (max-width: 1280px) {
  .kb-hero { min-height: 560px; }
  .kb-hero-art { width: 68%; object-position: 58% center; }
  .kb-hero-copy { width: 55%; padding: 48px 0 146px 40px; }
  .kb-hero h1 { font-size: 43px; }
}
@media (max-width: 920px) {
  .kb-hero { min-height: 720px; }
  .kb-hero-art { top: 280px; width: 100%; height: 440px; object-position: 65% center; opacity: .72; }
  .kb-hero::after { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.98) 42%, rgba(255,255,255,.36) 72%, rgba(255,255,255,.08) 100%); }
  .kb-hero-copy { width: 100%; padding: 42px 34px 340px; }
  .kb-hero h1 { font-size: 41px; }
  .kb-section { padding-top: 44px; }
}
@media (max-width: 640px) {
  .kb-hero { min-height: 820px; }
  .kb-hero-art { top: 400px; height: 420px; object-position: 69% center; }
  .kb-hero-copy { padding: 34px 20px 430px; }
  .kb-hero h1 { font-size: 35px; }
  .kb-search { grid-template-columns: 43px minmax(0, 1fr) 78px; }
  .kb-metrics { right: 12px; bottom: 12px; left: 12px; }
  .kb-metric { min-height: 76px; padding: 10px; }
  .kb-section { padding-top: 38px; }
  .kb-domain-card { min-height: 140px; }
}

/* Shared learner content rail V3 */
.kb-main { padding: 32px 0 96px; }
.kb-loading { min-height: calc(100vh - 204px); }
.kb-shell { width: min(1440px, calc(100% - 72px)); }
.kb-hero {
  min-height: 550px;
  border-radius: 28px;
}
.kb-hero-copy { padding: 50px 0 52px 52px; }
.kb-metrics {
  position: relative;
  z-index: 3;
  right: auto;
  bottom: auto;
  left: auto;
  margin: 20px auto 0;
  border-radius: 20px;
}
@media (max-width: 1280px) {
  .kb-main { padding-top: 28px; }
  .kb-loading { min-height: calc(100vh - 200px); }
  .kb-shell { width: min(1180px, calc(100% - 48px)); }
  .kb-hero-copy { padding: 48px 0 52px 40px; }
}
@media (max-width: 920px) {
  .kb-main { padding: 22px 0 72px; }
  .kb-loading { min-height: calc(100vh - 160px); }
  .kb-shell { width: min(900px, calc(100% - 36px)); }
  .kb-hero { border-radius: 24px; }
  .kb-hero-copy { padding: 42px 34px 340px; }
  .kb-metrics { margin-top: 16px; }
}
@media (max-width: 640px) {
  .kb-main { padding-top: 14px; }
  .kb-loading { min-height: calc(100vh - 152px); }
  .kb-shell { width: calc(100% - 20px); }
  .kb-hero { border-radius: 20px; }
  .kb-hero-copy { padding: 34px 20px 430px; }
  .kb-metrics { margin-top: 14px; }
}
