:root { --smt-red: #c9151e; --smt-red-dark: #9f1017; --smt-ink: #171717; --smt-line: #e4e6e8; --smt-soft: #f7f8f8; --smt-warm: #fff8f7; }
html { scroll-behavior: smooth; }
.smt-page { margin: 0; color: var(--smt-ink); background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; line-height: 1.7; }
.smt-page *, .smt-page *::before, .smt-page *::after { box-sizing: border-box; }
.smt-page a { color: inherit; }
.smt-page a:focus-visible, .smt-page summary:focus-visible { outline: 2px solid #1b70c9; outline-offset: 3px; }
.smt-main { overflow: hidden; }
.smt-wrap { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }

.smt-hero { padding: 20px 0 54px; border-bottom: 1px solid var(--smt-line); background: linear-gradient(180deg, #fff 0%, #fff 70%, #fcf8f8 100%); }
.smt-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 28px; color: #777; font-size: 13px; }
.smt-breadcrumb a { color: #666; text-decoration: none; }
.smt-hero-grid { max-width: 820px; }
.smt-hero h1 { max-width: 760px; margin: 0; font-size: 42px; line-height: 1.22; letter-spacing: 0; text-wrap: balance; }
.smt-lead { max-width: 760px; margin: 22px 0 0; color: #3f4347; font-size: 17px; line-height: 1.9; }
.smt-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.smt-actions a, .smt-bottom-cta > a { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 20px; border-radius: 4px; font-size: 15px; font-weight: 700; text-decoration: none; transition: border-color .18s ease, background-color .18s ease, color .18s ease; }
.smt-primary, .smt-bottom-cta > a { border: 1px solid var(--smt-red); color: #fff !important; background: var(--smt-red); }
.smt-primary:hover, .smt-bottom-cta > a:hover { background: var(--smt-red-dark); }
.smt-secondary { border: 1px solid #cfd3d6; color: #222 !important; background: #fff; }
.smt-secondary:hover { border-color: #999; background: var(--smt-soft); }
.smt-course-meta { margin: 0; }
.smt-course-meta dt { color: #777; font-size: 12px; }
.smt-hero-aside dd, .smt-course-meta dd { margin: 3px 0 0; color: #2f3337; font-size: 14px; }

.smt-section { padding-top: 54px; }
.smt-section-head { margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--smt-line); }
.smt-section-head h2 { position: relative; margin: 0; padding-left: 13px; font-size: 25px; line-height: 1.35; }
.smt-section-head h2::before { position: absolute; top: .19em; bottom: .19em; left: 0; width: 4px; border-radius: 2px; background: var(--smt-red); content: ""; }
.smt-scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.smt-scenario-card { min-height: 174px; padding: 22px; border: 1px solid var(--smt-line); border-radius: 6px; background: #fff; }
.smt-scenario-card h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.55; }
.smt-scenario-card > p { margin: 0; color: #555c61; font-size: 14px; }

.smt-anchor { scroll-margin-top: calc(var(--cc-fixed-header-height) + var(--cc-anchor-gap)); }
.smt-course-list { display: grid; gap: 14px; }
.smt-course-card { display: grid; grid-template-columns: minmax(0, 1fr) 280px; border: 1px solid var(--smt-line); border-radius: 6px; background: #fff; overflow: hidden; }
.smt-course-main { padding: 24px; }
.smt-course-head { display: flex; gap: 18px; align-items: flex-start; justify-content: space-between; }
.smt-course-title { color: #171717 !important; font-size: 20px; font-weight: 700; line-height: 1.5; text-decoration: none; }
.smt-course-title:hover, .smt-course-meta a:hover, .smt-expert-card a:hover { color: var(--smt-red) !important; }
.smt-course-head > span { width: fit-content; flex: 0 0 auto; padding: 3px 8px; border: 1px solid #efcfcc; border-radius: 4px; color: var(--smt-red); background: var(--smt-warm); font-size: 12px; font-weight: 700; }
.smt-course-main > p { margin: 14px 0 0; color: #50565b; font-size: 14px; }
.smt-course-meta { padding: 20px 22px; border-left: 1px solid var(--smt-line); background: #fcfcfc; }
.smt-course-meta > div { padding: 8px 0 12px; border-bottom: 1px solid #e8eaeb; }
.smt-course-meta > div:last-child { border-bottom: 0; }
.smt-course-meta a, .smt-expert-card a { color: var(--smt-red); font-weight: 700; text-decoration: none; }
.smt-course-action { padding-bottom: 0 !important; }
.smt-course-action dd { margin: 0; }
.smt-course-action a { display: inline-flex; min-height: 34px; align-items: center; padding: 0 12px; border: 1px solid #efc9c5; border-radius: 4px; background: #fff; }

.smt-expert-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.smt-expert-card { padding: 22px; border: 1px solid var(--smt-line); border-radius: 6px; background: #fff; }
.smt-expert-head { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid #eceeef; }
.smt-expert-head img { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; background: #f1f3f4; }
.smt-expert-head h3, .smt-expert-courses { margin: 0; }
.smt-expert-head h3 { font-size: 18px; }
.smt-expert-courses { display: grid; gap: 4px; padding-top: 14px; color: #555c61; font-size: 13px; }
.smt-expert-courses strong { color: #777; font-size: 12px; font-weight: 400; }
.smt-expert-link { display: inline-block; margin-top: 16px; }

.smt-faq details { border-bottom: 1px solid var(--smt-line); }
.smt-faq summary { padding: 16px 4px; cursor: pointer; font-size: 15px; font-weight: 700; }
.smt-faq details p { margin: 0; padding: 0 26px 18px 4px; color: #565c61; font-size: 14px; }
.smt-bottom-cta { display: flex; gap: 30px; align-items: center; justify-content: space-between; margin-top: 54px; margin-bottom: 54px; padding: 28px 30px; border: 1px solid #efd0cc; border-radius: 6px; background: var(--smt-warm); }
.smt-bottom-cta h2, .smt-bottom-cta p { margin: 0; }
.smt-bottom-cta h2 { font-size: 22px; }
.smt-bottom-cta p { margin-top: 6px; color: #5e6469; font-size: 14px; }

.smt-modal { position: fixed; z-index: 2000; inset: 0; display: none; place-items: center; padding: 20px; }
.smt-modal:target { display: grid; }
.smt-modal-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .48); }
.smt-modal-panel { position: relative; z-index: 1; width: min(265px, 100%); overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 18px 48px rgba(0, 0, 0, .24); text-align: center; }
.smt-modal-close { position: absolute; z-index: 2; top: 8px; right: 10px; display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: #fff !important; background: rgba(255, 255, 255, .3); font-size: 19px; line-height: 1; text-decoration: none; }
.smt-wechat-top { position: relative; height: 128px; overflow: hidden; padding: 18px 18px 0; color: #fff; text-align: left; }
.smt-wechat-top > img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.smt-wechat-top > div { font-size: 20px; font-weight: 700; }
.smt-wechat-top p { margin: 4px 0 0; font-size: 12px; }
.smt-wechat-qr { width: 190px; height: 189px; margin: -14px auto 0; border-radius: 10px; background: #fff; object-fit: contain; }
.smt-wechat-bottom { margin: 0; padding: 12px 18px 18px; color: #2d3033; font-size: 13px; font-weight: 700; }

@media (max-width: 900px) { .smt-course-card { grid-template-columns: 1fr; } .smt-scenario-grid { grid-template-columns: 1fr; } .smt-scenario-card { min-height: auto; } .smt-course-meta { border-top: 1px solid var(--smt-line); border-left: 0; } }
@media (max-width: 640px) { .smt-main { padding-top: var(--cc-fixed-header-height); } .smt-wrap { width: min(100% - 28px, 1140px); } .smt-hero { padding-top: 12px; padding-bottom: 36px; } .smt-breadcrumb { margin-bottom: 20px; } .smt-hero h1 { font-size: 30px; line-height: 1.3; } .smt-lead { font-size: 15px; line-height: 1.8; } .smt-actions { display: grid; grid-template-columns: 1fr; } .smt-actions a { width: 100%; } .smt-section { padding-top: 40px; } .smt-section-head h2 { font-size: 22px; } .smt-scenario-card, .smt-course-main, .smt-course-meta, .smt-expert-card { padding: 18px; } .smt-course-head { display: grid; gap: 10px; } .smt-course-title { font-size: 18px; overflow-wrap: anywhere; } .smt-expert-grid { grid-template-columns: 1fr; } .smt-bottom-cta { display: grid; gap: 18px; margin-top: 40px; margin-bottom: 40px; padding: 22px; } .smt-bottom-cta > a { width: 100%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .smt-actions a, .smt-bottom-cta > a { transition: none; } }
