:root {
  color-scheme: light;
  --ink: #142320;
  --muted: #4f635d;
  --brand: #005b46;
  --accent: #baffd5;
  --paper: #f7f9f5;
  --line: #d7e2d9;
  --dark: #112722;
  --white: #fff;
  --wrap: 1160px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #04815f; outline-offset: 5px; }
button { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.23; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; inset: 8px auto auto 8px; padding: 8px 12px; background: white; transform: translateY(-130%); }
.skip:focus { transform: none; }
.topbar { border-bottom: 1px solid var(--line); }
.topbar-inner { min-height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { display: inline-flex; gap: 9px; align-items: center; justify-self: start; white-space: nowrap; font-size: 19px; font-weight: 800; letter-spacing: .04em; }
.brand img { width: 36px; mix-blend-mode: multiply; }
.topbar nav { display: flex; align-items: stretch; gap: 30px; }
.topbar nav a { padding-block: 22px; border-bottom: 2px solid transparent; font-size: 14px; color: var(--muted); white-space: nowrap; }
.topbar nav a[aria-current], .topbar nav a:hover { border-bottom-color: var(--brand); color: var(--brand); }
.top-contact { justify-self: end; display: flex; align-items: center; gap: 9px; color: var(--brand); font-weight: 750; font-size: 14px; white-space: nowrap; }
.hero { min-height: 514px; padding-block: 60px 68px; display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(32px, 5vw, 78px); align-items: center; }
.eyebrow { display: flex; gap: 9px; align-items: center; font-size: 13px; font-weight: 750; letter-spacing: .11em; color: var(--brand); }
.eyebrow span { height: 8px; width: 8px; border: 1px solid currentColor; transform: rotate(45deg); flex: none; }
h1 { margin-top: 18px; font-size: clamp(45px, 6vw, 79px); font-weight: 820; letter-spacing: -.047em; }
h1 em { color: var(--brand); font-style: normal; }
.hero-desc { margin-top: 22px; max-width: 31em; color: var(--muted); font-size: 18px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; margin-top: 28px; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; gap: 15px; border-radius: 7px; padding: 9px 17px; border: 1px solid transparent; font-size: 14px; font-weight: 750; }
.button.primary { background: var(--brand); color: white; }
.button.primary:hover { background: #014735; }
.button.secondary { border-color: var(--line); color: var(--brand); }
.button.secondary:hover { background: #e9f1eb; }
.system-map {
  padding: 16px 26px 25px;
  border-radius: 15px;
  color: #ecfff4;
  background: linear-gradient(130deg, #112822f2, #153a31e8), repeating-linear-gradient(0deg, #305343 0 1px, #10261f 1px 24px);
  box-shadow: 0 18px 48px #142f221c;
}
.system-map figcaption { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 750; padding: 3px 0 12px; border-bottom: 1px solid #446759; margin-bottom: 18px; }
.system-map figcaption small { margin-left: auto; color: #b1cabe; font-weight: 400; }
.map-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.map-source, .map-core, .map-pair > div, .map-output { display: grid; justify-items: center; gap: 1px; text-align: center; padding: 7px 6px; border: 1px solid #527566; border-radius: 6px; background: #1a382f; line-height: 1.45; }
.system-map small { font-size: 11px; color: #b0c9bd; }
.system-map strong { font-size: 15px; }
.map-core { background: var(--accent); color: #0c3829; width: 58%; margin-inline: auto; border-color: var(--accent); }
.map-core small { color: #245b49; }
.map-core strong { font-size: 21px; }
.map-connector { width: 1px; margin-inline: auto; height: 13px; background: #85b5a1; }
.map-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.map-branch { height: 17px; width: calc(50% + 6px); margin-inline: auto; position: relative; background: linear-gradient(#85b5a1,#85b5a1) center / 1px 50% no-repeat; }
.map-branch::after { content: ""; position: absolute; inset: 50% 0 0; border: 1px solid #85b5a1; border-bottom: 0; }
.map-branch.reverse { transform: rotate(180deg); }
.section { padding-block: 62px; }
.services { background: #ecf2ec; border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-head > p { color: var(--muted); max-width: 33em; }
h2 { font-size: clamp(29px, 4vw, 46px); font-weight: 790; letter-spacing: -.045em; }
.eyebrow + h2 { margin-top: 8px; }
h3 { font-size: clamp(19px, 2vw, 25px); letter-spacing: -.025em; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdf9; }
.service-graphic { display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 19px; justify-content: space-between; }
.service-graphic span { min-width: 0; border-radius: 5px; border: 1px solid var(--line); font-weight: 650; text-align: center; flex: 1; padding: 4px 3px; font-size: 13px; white-space: nowrap; }
.service-graphic b { color: #45816d; font-size: 13px; }
.service-graphic .active-chip { background: #dcf4e7; color: var(--brand); border-color: #bfdccc; }
.service-card p { margin: 11px 0 18px; color: var(--muted); font-size: 15px; }
.deliverable { border-top: 1px solid var(--line); padding-top: 13px; margin-top: auto; color: #29473c; font-size: 13px; }
.deliverable strong { color: var(--brand); margin-right: 5px; }
.timeline { margin: 0; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.timeline li { position: relative; border-top: 1px solid #9ebeb0; padding: 22px 14px 0 0; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.timeline h3 { font-size: 19px; }
.timeline p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.contact-wrap { scroll-margin-top: 24px; }
.contact { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; background: var(--dark); color: #f1fff7; padding: clamp(22px, 5vw, 54px); border-radius: 13px; }
.contact h2 { font-size: clamp(27px, 3.4vw, 41px); }
.contact .eyebrow { color: var(--accent); }
.contact p:not(.eyebrow) { margin-top: 10px; color: #bdd4c8; }
.contact-list { display: flex; flex-wrap: wrap; gap: 8px 25px; margin: 16px 0 0; }
.contact-list div { display: flex; align-items: center; gap: 8px; }
.contact-list dt { color: #bdd4c8; font-size: 14px; }
.contact-list dd { margin: 0; font-weight: 750; }
.contact-list a { text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.contact .status:empty { display: none; }
.copy-button { background: #24493e; border: 1px solid #628c7b; color: #e6fff1; border-radius: 4px; margin-left: 3px; padding: 5px 8px; cursor: pointer; font-size: 12px; }
.copy-button:hover { background: #355d50; }
.contact-qr { align-self: center; text-align: center; font-size: 13px; color: #bdd4c8; }
.contact-qr img { border-radius: 7px; background: white; }
.contact-qr figcaption { margin-top: 8px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px 28px; color: var(--muted); font-size: 13px; }
.footer a { color: var(--brand); white-space: nowrap; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 44px); }
  .hero { gap: 26px; }
  .service-card { padding: 16px; }
  .section { padding-block: 42px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .topbar-inner { min-height: 60px; gap: 10px; grid-template-columns: 1fr auto; }
  .brand { font-size: 16px; gap: 6px; }
  .brand img { width: 30px; }
  .top-contact { display: none; }
  .topbar nav { gap: 16px; }
  .topbar nav a { padding-block: 18px; }
  .hero { grid-template-columns: 1fr; padding-block: 38px 42px; gap: 29px; min-height: 0; }
  h1 { font-size: clamp(35px, 9.5vw, 57px); margin-top: 12px; }
  .hero-desc { font-size: 16px; margin-top: 15px; }
  .actions { margin-top: 22px; gap: 8px; }
  .button { padding-inline: 10px; gap: 6px; }
  .system-map { padding-inline: 15px; }
  .section-head { display: grid; gap: 10px; margin-bottom: 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .contact { grid-template-columns: 1fr; gap: 18px; }
  .contact-qr { width: max-content; }
}

.course-hero { min-height: 415px; }
.course-map { padding: 19px 24px 12px; border-radius: 15px; background: var(--dark); color: #effff5; box-shadow: 0 18px 48px #142f221c; }
.course-map-title { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.course-map-title h2 { font-size: 15px; letter-spacing: .04em; }
.course-map ol { list-style: none; padding: 0; margin: 0; }
.course-map li { border-top: 1px solid #466359; }
.course-map a { display: grid; grid-template-columns: minmax(8em, .9fr) minmax(0, 1.15fr) auto; gap: 9px; padding: 13px 0; align-items: center; }
.course-map a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.course-map a span { color: #b7d2c5; font-size: 13px; }
.course-map a span:last-child { color: var(--accent); }
.course-map a strong { font-size: 15px; }
.course-section { background: #ecf2ec; border-block: 1px solid var(--line); }
.course-list { display: grid; gap: 14px; }
.course-card { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: clamp(16px, 4vw, 58px); align-items: start; padding: clamp(18px, 3vw, 31px); border: 1px solid var(--line); border-radius: 10px; background: #fbfdf9; scroll-margin-top: 18px; }
.course-card:target { border-color: #508a75; }
.course-category { color: var(--brand); font-weight: 750; margin-bottom: 5px; font-size: 13px; }
.course-card h3 { font-size: clamp(22px, 3vw, 32px); }
.course-body > p:not(.course-category) { color: var(--muted); margin-top: 9px; }
.course-body > .audience { font-size: 14px; }
.audience strong { color: var(--ink); margin-right: 8px; }
.course-header { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.course-cover { width: 88px; aspect-ratio: 1; border-radius: 7px; }
.topics { display: flex; flex-wrap: wrap; margin: 14px 0 0; padding: 0; gap: 6px; list-style: none; }
.topics li { font-size: 13px; border-radius: 4px; color: #225343; background: #e7f2ea; padding: 3px 8px; }
.schedule { margin-top: 14px; color: var(--brand); }
.schedule summary { width: fit-content; cursor: pointer; font-weight: 700; font-size: 14px; }
.schedule-image { display: block; margin-top: 10px; max-width: 560px; }
.schedule-image img { border-radius: 6px; }
.course-qr { display: grid; justify-items: center; align-self: center; gap: 6px; font-size: 12px; text-align: center; color: var(--muted); border-left: 1px solid var(--line); padding-left: 12px; }
.course-qr img { border: 1px solid var(--line); border-radius: 5px; padding: 2px; width: 104px; background: white; }
.course-section + .contact-wrap { margin-top: 38px; }
@media (max-width: 640px) {
  .course-hero { min-height: 0; }
  .course-map { padding-inline: 16px; }
  .course-map a { grid-template-columns: minmax(6.7em, .85fr) minmax(0, 1.25fr) auto; }
  .course-map a span { font-size: 12px; }
  .course-map a strong { font-size: 14px; }
  .course-card { grid-template-columns: 1fr; }
  .course-qr { justify-self: start; display: flex; align-items: center; gap: 10px; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); width: 100%; }
  .course-qr img { width: 94px; }
  .course-cover { width: 66px; }
  .course-section + .contact-wrap { margin-top: 25px; }
}
.course-steps { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 9px; margin: 14px 0 0; padding: 0; list-style: none; }
.course-steps li { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: #225343; }
.course-steps li:not(:last-child)::after { content: "→"; color: #457260; }
.lesson-table { border-collapse: collapse; width: 100%; margin-top: 12px; color: var(--ink); font-size: 14px; text-align: left; }
.lesson-table thead { background: #e7f2ea; }
.lesson-table th, .lesson-table td { border-bottom: 1px solid var(--line); padding: 8px; }
.lesson-table th:first-child { white-space: nowrap; }
@media (max-width: 640px) {
  .lesson-table { font-size: 12px; }
  .lesson-table th, .lesson-table td { padding: 5px; }
}
