:root {
  color-scheme: light;
  --ink: #252b32;
  --muted: #5c6676;
  --primary: #465166;
  --accent: #b60000;
  --paper: #f7f8fa;
  --surface: #fff;
  --soft: #eef1f5;
  --line: #d5dbe4;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(38px, 4.5vw, 58px); line-height: 1.2; font-weight: 750; letter-spacing: -.035em; margin-bottom: 24px; }
h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.3; letter-spacing: -.02em; margin-bottom: 16px; }
h3 { font-size: 21px; line-height: 1.4; margin-bottom: 14px; }
p { color: var(--muted); margin-bottom: 20px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 100; padding: 12px; background: var(--surface); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 108px; padding-block: 18px; }
.brand { flex-shrink: 0; }
.brand img { width: 160px; }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: 26px; font-size: 14px; }
.nav a { padding-block: 8px; }
.nav a:hover, .text-link:hover { color: var(--accent); }
.nav-contact { color: var(--accent); font-weight: 700; }
.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; padding-block: 64px 58px; }
.eyebrow { color: var(--primary); font-size: 12px; letter-spacing: .12em; font-weight: 700; margin-bottom: 18px; }
.hero-rule { width: 32px; height: 3px; background: var(--accent); margin-bottom: 22px; }
.hero h1 span { display: block; color: var(--primary); }
.hero-lead { font-size: 17px; max-width: 600px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 22px; background: var(--accent); border: 1px solid var(--accent); color: #fff; font-size: 14px; font-weight: 650; }
.button:hover { background: #8e0000; border-color: #8e0000; }
.button.secondary { background: transparent; border-color: #9ba6b7; color: var(--primary); }
.button.secondary:hover { border-color: var(--primary); background: var(--soft); }
.hero-side { padding: 32px; background: var(--soft); }
.side-label { font-size: 12px; letter-spacing: .08em; color: var(--accent); margin-bottom: 22px; }
.service-line { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.service-line small { color: var(--accent); }
.service-line b { font-size: 19px; }
.experience { padding-top: 24px; color: var(--muted); font-size: 13px; }
.experience strong { color: var(--primary); font-size: 28px; margin-right: 10px; }
.featured-strip { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.featured-strip small { color: var(--accent); display: block; font-size: 12px; margin-bottom: 4px; }
.featured-strip strong { font-size: 18px; }
.text-link { font-size: 14px; color: var(--primary); font-weight: 650; display: inline-block; padding-block: 6px; }
.content-section { padding-block: 62px; border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 30px; }
.section-head p { margin-bottom: 0; }
.section-head h2 { margin-bottom: 0; }
.section-head .eyebrow { margin-bottom: 12px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { padding: 28px; background: var(--surface); border-top: 1px solid #bdc7d6; }
.card-index { font-size: 12px; color: var(--accent); margin-bottom: 18px; }
.service-card p { font-size: 14px; }
.service-card dl { margin: 20px 0; font-size: 14px; }
.service-card dt { font-size: 12px; color: var(--primary); font-weight: 650; margin-top: 12px; }
.service-card dd { color: var(--muted); margin: 4px 0 0; }
.service-card a { display: inline-block; margin-top: 8px; }
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.reason { border-top: 1px solid var(--line); padding-top: 24px; }
.reason p { font-size: 14px; margin-bottom: 0; }
.founder { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; margin-top: 44px; }
.founder-photo { width: 250px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; background: #fff; }
.founder-copy h3 { font-size: 28px; }
.proof-list { padding-left: 20px; color: var(--muted); font-size: 15px; }
.proof-list li { margin-bottom: 10px; }
.proof-list strong { color: var(--ink); }
.media-details { margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.media-details summary { padding-block: 16px; }
.media-grid { display: grid; grid-template-columns: 1fr 180px 180px; gap: 24px; align-items: start; padding: 0 0 24px; }
.media-grid p { font-size: 14px; }
.qr-card { margin: 0; max-width: 180px; }
.qr-card img { width: 150px; aspect-ratio: 1; object-fit: contain; background: #fff; }
.qr-card figcaption { color: var(--muted); font-size: 12px; margin-top: 10px; }
.course-directions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.course-direction { padding-top: 24px; border-top: 1px solid var(--line); }
.course-direction p { font-size: 14px; }
.course-direction .audience { color: var(--accent); font-size: 12px; }
.course-feature { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--soft); padding: 26px 30px; margin-top: 32px; }
.course-feature h3 { margin-bottom: 8px; }
.course-feature p { margin: 0; font-size: 14px; }
details summary { cursor: pointer; color: var(--primary); font-weight: 650; font-size: 15px; }
details summary:hover { color: var(--accent); }
.course-catalog { margin-top: 26px; border-top: 1px solid var(--line); }
.course-catalog > summary { padding-block: 18px; }
.course-tier { padding-block: 22px; border-top: 1px solid var(--line); }
.course-tier h3 { color: var(--primary); }
.course { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; border-top: 1px solid var(--line); padding-block: 16px; font-size: 14px; }
.course span { color: var(--muted); }
.product-note { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; background: var(--soft); padding: 28px 30px; margin-top: 34px; }
.product-note h3 { margin-bottom: 6px; }
.status { color: var(--accent); font-size: 12px; font-weight: 650; }
.product-note p { font-size: 14px; margin-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.step { border-top: 1px solid var(--line); padding-top: 22px; }
.step b { font-size: 12px; color: var(--accent); display: block; margin-bottom: 12px; }
.step h3 { font-size: 19px; }
.step p { font-size: 14px; margin-bottom: 0; }
.process-note { font-size: 13px; margin-top: 28px; margin-bottom: 0; }
.contact-section { padding-block: 62px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-layout h2 { max-width: 440px; }
.contact-layout > div > p { max-width: 440px; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding-block: 11px; border-bottom: 1px solid var(--line); font-size: 14px; }
.contact-list span { color: var(--muted); }
.contact-list strong { overflow-wrap: anywhere; }
.contact-section .wecom-contact { margin: 0; border-top: 0; padding: 28px; background: var(--surface); align-self: start; }
.site-footer { border-top: 1px solid var(--line); padding-block: 26px; font-size: 12px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.footer-inner p { margin: 0; }
/* Course detail uses the same brand and typographic hierarchy as the homepage. */
.course-hero h1 { font-size: clamp(34px, 3.8vw, 48px); }
.info-list { margin: 0; }
.info-list > div { padding-block: 13px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 78px 1fr; gap: 16px; font-size: 14px; }
.info-list dt { color: var(--primary); font-weight: 650; }
.info-list dd { margin: 0; color: var(--muted); }
.info-list > div:last-child { border-bottom: 0; }
.course-meta { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.course-meta b { display: block; color: var(--primary); font-size: 20px; }
.course-meta span { color: var(--muted); font-size: 12px; }
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.outcome { padding-top: 24px; border-top: 1px solid var(--line); }
.outcome span { font-size: 12px; color: var(--accent); }
.outcome h3 { margin-top: 14px; font-size: 19px; }
.outcome p { font-size: 14px; margin-bottom: 0; }
.agenda { display: grid; grid-template-columns: 240px 1fr; gap: 44px; }
.agenda-overview { border-top: 1px solid var(--line); }
.agenda-overview > div { padding-block: 18px; border-bottom: 1px solid var(--line); }
.agenda-overview b { display: block; color: var(--primary); font-size: 14px; }
.agenda-overview span { font-size: 13px; color: var(--muted); }
.module { padding-block: 18px; border-top: 1px solid var(--line); }
.module:last-child { border-bottom: 1px solid var(--line); }
.module > summary { display: list-item; }
.module-title { display: inline; margin-right: 20px; font-size: 18px; }
.module-time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.module p { font-size: 14px; margin-top: 18px; margin-bottom: 14px; }
.module-list { font-size: 14px; color: var(--muted); padding-left: 20px; margin: 0; }
.module-list li { margin-bottom: 8px; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.scenario { border-top: 1px solid var(--line); padding-top: 20px; }
.scenario h3 { font-size: 18px; }
.scenario p { font-size: 14px; }
.teacher { margin-top: 0; }
.teacher-note { font-size: 15px; padding-left: 20px; border-left: 2px solid var(--accent); margin-top: 24px; }
/* Fixed alternatives are applied at authoring time, never offered as a visitor toggle. */
body.editorial { --paper: #f5f2ed; --primary: #363b3f; --accent: #a82028; --soft: #eeebe5; --line: #d1cdc5; }
body.editorial .hero h1 { font-family: "Songti SC", "STSong", serif; font-weight: 700; }
body.editorial .hero-side { background: transparent; border-left: 1px solid var(--line); }
body.editorial .service-card { background: transparent; }
body.enterprise { --paper: #f5f7fa; --primary: #132c4a; }
body.enterprise .hero { background: var(--primary); color: #fff; padding: 52px; margin-top: 24px; }
body.enterprise .hero .eyebrow, body.enterprise .hero-lead, body.enterprise .hero h1 span { color: #e4ebf3; }
body.enterprise .hero-rule { background: #fff; }
body.enterprise .hero .secondary { color: #fff; border-color: #fff; }
body.enterprise .hero-side { background: #fff; color: var(--ink); }
body.enterprise .service-card { border-top: 3px solid var(--primary); }
@media (max-width: 900px) {
  .nav { gap: 16px; }
  .hero { grid-template-columns: 1.1fr .9fr; gap: 32px; }
  .service-card { padding: 22px; }
  .contact-layout { gap: 32px; }
  .media-grid { grid-template-columns: 1fr 150px 150px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 150px; }
  .container { width: calc(100% - 40px); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding-block: 14px; min-height: 0; }
  .brand img { width: 138px; }
  .nav { grid-column: 1 / -1; grid-row: 2; width: 100%; gap: 10px 16px; justify-content: flex-start; flex-wrap: wrap; font-size: 13px; }
  .nav-contact { grid-column: 2; grid-row: 1; font-size: 13px; }
  .nav a { padding-block: 4px; }
  .hero { grid-template-columns: 1fr; padding-block: 36px; gap: 30px; }
  .hero-side { padding: 24px; }
  .hero-lead { font-size: 16px; }
  .featured-strip { flex-wrap: wrap; gap: 10px; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .content-section, .contact-section { padding-block: 40px; }
  .cards, .reasons, .course-directions, .outcomes { grid-template-columns: 1fr; gap: 24px; }
  .service-card { padding: 24px; }
  .founder { grid-template-columns: 1fr; gap: 26px; margin-top: 30px; }
  .founder-photo { width: 170px; }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .media-grid > div { grid-column: 1 / -1; }
  .qr-card img { width: 140px; }
  .course-feature, .product-note { display: block; padding: 24px; }
  .course-feature .button { margin-top: 20px; }
  .course { grid-template-columns: 1fr; gap: 8px; }
  .product-note p { margin-top: 14px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-section .wecom-contact { padding: 22px; }
  .contact-list li { grid-template-columns: 76px 1fr; gap: 12px; }
  .footer-inner { flex-direction: column; gap: 8px; }
  .agenda { grid-template-columns: 1fr; gap: 26px; }
  .agenda-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .module-title { font-size: 16px; }
  .scenario-grid { grid-template-columns: 1fr; gap: 20px; }
  .course-meta { gap: 20px; }
  body.enterprise .hero { padding: 30px 22px; }
  body.editorial .hero-side { border-left: 0; border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  html { scroll-behavior: auto; }
  body { background: #fff; }
  .site-header { position: static; }
  .nav, .skip-link, .actions { display: none; }
  .container { width: 100%; }
  .content-section, .contact-section { padding-block: 20px; }
  .hero { padding-block: 24px; }
  .service-card, .reason, .step, .outcome, .module, .wecom-contact { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
}
