:root {
  --ink: #191919;
  --muted: #60666d;
  --line: #d9dddf;
  --soft: #f6f7f8;
  --blue: #335cff;
  --rose: #f3a7c2;
  --mint: #dcece3;
  --ice: #eaf1ff;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --max: 1200px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
::selection {
  background: var(--rose);
  color: var(--ink);
}
input,
textarea {
  caret-color: var(--blue);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
  line-height: 1.25;
}
h1 {
  font-size: 52px;
  margin-bottom: 24px;
}
h2 {
  font-size: 32px;
  margin-bottom: 16px;
}
h3 {
  font-size: 21px;
  margin-bottom: 12px;
}
p {
  max-width: 70ch;
}
small,
.small {
  font-size: 13px;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
img {
  max-width: 100%;
  display: block;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(var(--max), calc(100% - 64px));
  margin: auto;
}
.muted {
  color: var(--muted);
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 8px;
}
.preview-bar {
  padding: 7px 24px;
  text-align: center;
  background: var(--ice);
  color: #24376c;
  font-size: 12px;
  font-weight: 700;
}
.preview-bar span {
  margin-left: 12px;
  font-weight: 400;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  width: min(1320px, calc(100% - 48px));
  margin: auto;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Arial, var(--font);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 12px;
}
nav {
  display: flex;
  gap: 28px;
}
nav a {
  font-size: 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}
nav a[aria-current="page"] {
  color: var(--blue);
  border-color: var(--blue);
}
nav a:hover {
  color: var(--blue);
}
.desk-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  border: 1px solid var(--line);
  padding: 9px 12px;
  border-radius: 6px;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
}
.menu-toggle {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.16s ease;
}
.button:hover {
  background: var(--soft);
}
.button.primary {
  background: var(--ink);
  color: white;
}
.button.primary:hover {
  background: #363636;
}
.button.blue {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.button.soft {
  border-color: var(--line);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--blue);
  min-height: 44px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  text-align: center;
  background: #fafbfc;
}
.hero-photo {
  position: absolute;
  inset: -18px;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  object-fit: cover;
  filter: blur(6px);
  opacity: 0.62;
  z-index: -1;
}
.hero-copy {
  max-width: 760px;
  margin: auto;
  padding: 60px 24px 70px;
}
.hero h1 {
  font-family: Arial, var(--font);
  font-size: 64px;
  margin-bottom: 20px;
}
.hero p {
  max-width: 580px;
  margin: 0 auto 28px;
  font-size: 20px;
  line-height: 1.8;
}
.hero .actions {
  justify-content: center;
}
.hero-caption {
  position: absolute;
  bottom: 12px;
  right: 24px;
  color: #555;
  font-size: 11px;
}
.path-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.path {
  padding: 32px 26px;
  position: relative;
}
.path + .path {
  border-left: 1px solid var(--line);
}
.path-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.path-heading svg {
  color: var(--blue);
}
.path h2 {
  font-size: 21px;
  margin: 0;
}
.path p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 12px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  background: var(--soft);
  color: #47505b;
}
.tag.free {
  background: #e3f1e9;
  color: #235e44;
}
.tag.paid {
  background: #fae4ed;
  color: #81374e;
}
.tag.sample {
  background: var(--ice);
  color: #3855a1;
}
.section {
  padding: 72px 0;
}
.section.soft {
  background: var(--soft);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.study-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow: hidden;
}
.card-art {
  min-height: 122px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: var(--ice);
  gap: 16px;
}
.card-art.rose {
  background: #f9e1eb;
}
.card-art.mint {
  background: var(--mint);
}
.card-art > svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.2;
  color: #334b72;
}
.card-art > span {
  font-size: 15px;
  font-weight: 700;
  max-width: 180px;
}
.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.course-mentor .card-art > div {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.course-mentor .card-art > svg {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}
.course-school {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.course-region {
  font-size: 11px;
  color: #4b535b;
}
.course-facts {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
  font-size: 13px;
}
.course-facts > div {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
}
.course-facts dt {
  color: var(--muted);
}
.course-facts dd {
  margin: 0;
}
.course-services {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  border-top: 1px solid var(--line);
  padding: 24px 0 32px;
}
.course-services > div {
  display: flex;
  flex: 1 1 280px;
  gap: 12px;
}
.course-services svg {
  flex-shrink: 0;
  color: var(--blue);
  margin-top: 3px;
}
.course-services p {
  display: grid;
  gap: 4px;
  margin: 0;
}
.course-services span {
  color: var(--muted);
  font-size: 14px;
}
.course-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 20px;
}
.course-footer p {
  max-width: 760px;
  margin: 0;
}
.course-mentor .card-bottom {
  flex-wrap: wrap;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.study-card h3 {
  font-size: 21px;
}
.study-card p {
  font-size: 14px;
  color: var(--muted);
}
.card-meta {
  display: grid;
  gap: 7px;
  font-size: 13px;
  margin-bottom: 20px;
  color: #4b535b;
}
.card-meta span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.card-meta svg {
  width: 16px;
  height: 16px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.card-bottom button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-bottom strong {
  font-size: 14px;
}
.split-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-story p {
  color: var(--muted);
}
.learning-cycle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.learning-cycle div {
  padding: 22px 16px;
  border-bottom: 1px solid var(--line);
}
.learning-cycle b {
  display: block;
  margin-bottom: 5px;
  font-size: 17px;
}
.learning-cycle span {
  font-size: 14px;
  color: var(--muted);
}
.guidance {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.guidance svg {
  color: #3c765b;
  width: 30px;
  height: 30px;
}
.guidance p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.guidance strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}
.page-head {
  padding: 48px 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.page-head h1 {
  font-size: 40px;
  margin-bottom: 12px;
}
.page-head p {
  margin: 0;
  color: var(--muted);
}
.search-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 190px;
  gap: 16px;
  margin-bottom: 20px;
}
.field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #b9c0c7;
  border-radius: 6px;
  padding: 11px 12px;
  background: white;
  color: var(--ink);
  min-height: 46px;
  font-size: 14px;
  font-weight: 400;
}
.field textarea {
  min-height: 100px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #687078;
}
.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.results-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}
.results-summary button {
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: 8px;
  min-height: 44px;
}
.catalog {
  padding-bottom: 72px;
}
.empty {
  grid-column: 1/-1;
  padding: 60px 24px;
  text-align: center;
  background: var(--soft);
  border-radius: 8px;
}
.empty h2 {
  font-size: 22px;
}
.empty p {
  margin: 0 auto 16px;
  color: var(--muted);
}
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #f4f6fb;
  padding: 16px 20px;
  margin: 0 0 24px;
  border-radius: 6px;
  font-size: 13px;
  color: #3d4d68;
}
.notice p {
  margin: 0;
}
.notice svg {
  margin-top: 2px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px max(32px, calc((100% - 1200px) / 2)) 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 8px;
}
.footer-grid a:not(.brand),
.footer-grid p {
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
dialog {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: rgba(17, 25, 37, 0.4);
  backdrop-filter: blur(4px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  font-size: 13px;
}
dialog h2 {
  font-size: 28px;
}
.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 24px 0;
  margin: 24px 0;
  border-block: 1px solid var(--line);
}
.detail-meta dt {
  color: var(--muted);
  font-size: 13px;
}
.detail-meta dd {
  margin: 5px 0 0;
  font-size: 15px;
  font-weight: 600;
}
.detail-section {
  margin: 24px 0;
}
.detail-section h3 {
  font-size: 17px;
}
.detail-section p {
  font-size: 14px;
  color: var(--muted);
}
.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 14px 22px;
  border-radius: 6px;
  max-width: calc(100% - 32px);
  z-index: 50;
  font-size: 14px;
}
.form-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 400;
}
.check input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.form-aside {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.form-aside h2 {
  font-size: 22px;
}
.steps {
  padding-left: 22px;
}
.steps li {
  margin-bottom: 20px;
  padding-left: 5px;
  font-size: 14px;
}
.steps strong {
  display: block;
  margin-bottom: 5px;
}
.steps span {
  color: var(--muted);
}
.form-error {
  color: #a32842;
  font-size: 14px;
  min-height: 24px;
}
.draft-list {
  display: grid;
  gap: 0;
}
.draft-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.draft-row p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.draft-row h3 {
  margin: 0;
  font-size: 18px;
}
.draft-row .actions {
  flex-shrink: 0;
}
.desk-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  padding-bottom: 64px;
}
.desk-aside {
  padding: 24px;
  background: var(--soft);
  align-self: start;
  border-radius: 8px;
}
.desk-aside h2 {
  font-size: 22px;
}
.desk-aside p {
  font-size: 14px;
}
.safety-layout {
  max-width: 860px;
}
.safety-layout details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.safety-layout summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 600;
}
.safety-layout details p {
  color: var(--muted);
  font-size: 15px;
  margin: 20px 0 0;
}
.profile-summary {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--ice);
}
@media (min-width: 1600px) {
  .hero {
    min-height: 540px;
  }
  .hero-copy {
    padding-block: 80px;
  }
  .hero h1 {
    font-size: 72px;
  }
}
@media (max-width: 1050px) {
  .nav-wrap {
    gap: 16px;
  }
  nav {
    gap: 16px;
  }
  .desk-link span {
    display: none;
  }
  .grid {
    gap: 16px;
  }
  .card-body {
    padding: 20px;
  }
  .split-story {
    gap: 36px;
  }
  .desk-layout {
    gap: 32px;
    grid-template-columns: 1fr 280px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .preview-bar {
    text-align: left;
    padding: 8px 20px;
  }
  .preview-bar span {
    display: block;
    margin: 2px 0 0;
    font-size: 11px;
  }
  .nav-wrap {
    width: calc(100% - 32px);
    min-height: 68px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .brand {
    font-size: 13px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .menu-toggle {
    display: inline-grid;
    margin-left: auto;
  }
  .desk-link {
    padding: 10px;
  }
  .site-header nav {
    display: none;
    width: 100%;
    order: 4;
    flex-direction: column;
    gap: 0;
    padding-bottom: 14px;
  }
  .site-header nav.open {
    display: flex;
  }
  .site-header nav a {
    padding: 4px 8px;
  }
  .hero {
    min-height: 430px;
  }
  .hero-copy {
    padding: 48px 20px 64px;
  }
  .hero h1 {
    font-size: 42px;
    max-width: 320px;
    margin-inline: auto;
  }
  .hero p {
    font-size: 17px;
    max-width: 340px;
  }
  .hero-photo {
    object-position: 50% 50%;
    opacity: 0.5;
  }
  .hero-caption {
    font-size: 10px;
    right: 16px;
  }
  .paths {
    grid-template-columns: 1fr;
  }
  .path {
    padding: 24px 0;
  }
  .path + .path {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .path p {
    max-width: 50ch;
  }
  .path .text-link {
    min-height: 32px;
  }
  .section {
    padding: 48px 0;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
  }
  h2 {
    font-size: 27px;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .split-story {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .page-head {
    padding-top: 32px;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .page-head h1 {
    font-size: 34px;
  }
  .search-bar {
    grid-template-columns: 1fr;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .form-layout,
  .desk-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .form-aside {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .guidance {
    align-items: flex-start;
  }
  .guidance .text-link {
    display: none;
  }
  .draft-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .form-grid {
    gap: 16px;
  }
  dialog {
    padding: 20px;
  }
}
@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .card-art {
    min-height: 100px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero .actions {
    gap: 10px;
  }
  .hero .button {
    padding: 10px 14px;
  }
  .hero-photo {
    object-position: 48% 50%;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .detail-meta {
    grid-template-columns: 1fr;
  }
  .detail-actions .button {
    width: 100%;
  }
  .page-head h1 {
    font-size: 30px;
  }
  .results-summary {
    align-items: flex-start;
  }
  .site-footer {
    padding: 32px 20px 20px;
  }
  .hero-caption {
    max-width: 220px;
    text-align: right;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
