:root {
  color-scheme: light;
  --ink: #18233a;
  --muted: #647086;
  --line: #e1e6ef;
  --paper: #fffaf2;
  --soft: #eef7ff;
  --deep: #123b68;
  --blue: #2c89d9;
  --pink: #ff9aaa;
  --orange: #ffb321;
  --green: #24a07a;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(18, 59, 104, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial,
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid rgba(225, 230, 239, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 218px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--deep);
  box-shadow: 0 8px 20px rgba(18, 59, 104, 0.2);
}

.brand-mark img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  min-width: 72px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #30435f;
  font-size: 14px;
  text-align: center;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.nav-links a:hover {
  background: #e6f3ff;
  color: var(--blue);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  min-height: calc(100vh - 72px);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 179, 33, 0.22), transparent 28%),
    linear-gradient(135deg, #fff7e4 0%, #eaf7ff 56%, #ffe6ed 100%);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: #e65f76;
  font-size: 13px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(44px, 7.2vw, 92px);
  line-height: 1.02;
  font-weight: 950;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.14;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.3;
}

.hero-text {
  max-width: 660px;
  color: #3e506a;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 900;
}

.primary-action {
  background: var(--deep);
  color: var(--white);
}

.secondary-action {
  border: 1px solid rgba(18, 59, 104, 0.24);
  background: rgba(255, 255, 255, 0.58);
  color: var(--deep);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border: 8px solid var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: min(66vh, 620px);
  min-height: 420px;
  object-fit: cover;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.metric {
  padding: 24px clamp(18px, 3vw, 40px);
  background: var(--white);
}

.metric strong {
  display: block;
  color: var(--blue);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(68px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.section-heading {
  width: min(960px, 100%);
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.section-heading.compact {
  width: 100%;
  margin-bottom: 28px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.course-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(18, 59, 104, 0.08);
}

.course-card.large {
  grid-column: span 2;
}

.course-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f5f7fb;
}

.course-card div {
  padding: 22px;
}

.course-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.course-card p,
.service-grid p,
.download-card p,
.about-copy p,
.contact-panel p,
.advantage-strip span {
  color: var(--muted);
}

.service-section {
  background: var(--soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article,
.download-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-grid article {
  min-height: 250px;
  padding: 24px;
}

.service-grid span {
  display: inline-grid;
  width: 46px;
  height: 36px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  background: #fff0c7;
  color: #b56f00;
  font-weight: 950;
}

.system-section {
  background: #17233c;
  color: var(--white);
}

.system-section .eyebrow {
  color: #ffbdcd;
}

.advantage-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.advantage-strip div {
  min-height: 170px;
  padding: 24px;
  background: #1d2c4b;
}

.advantage-strip strong {
  display: block;
  margin-bottom: 12px;
  color: #ffd36e;
  font-size: 22px;
}

.advantage-strip span {
  color: rgba(255, 255, 255, 0.74);
}

.muted {
  background: #fff1f4;
}

.notice-list {
  border-top: 1px solid rgba(24, 35, 58, 0.16);
}

.notice-item {
  display: grid;
  grid-template-columns: 150px 1fr 64px;
  gap: 20px;
  align-items: center;
  min-height: 78px;
  border-bottom: 1px solid rgba(24, 35, 58, 0.16);
  color: var(--ink);
}

.notice-item time {
  color: #e65f76;
  font-weight: 900;
}

.notice-item strong {
  color: var(--blue);
  text-align: right;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.download-card {
  min-height: 220px;
  padding: 26px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.download-card span {
  display: inline-grid;
  width: 48px;
  height: 40px;
  place-items: center;
  margin-bottom: 32px;
  border-radius: 8px;
  background: var(--deep);
  color: #ffd36e;
  font-size: 12px;
  font-weight: 950;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.74fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 179, 33, 0.22), transparent 26%),
    var(--deep);
  color: var(--white);
}

.about-copy p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.about-section .eyebrow {
  color: #ffd36e;
}

.contact-panel {
  padding: 30px;
  background: var(--white);
  color: var(--ink);
}

.contact-panel .primary-action {
  margin-top: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 72px);
  background: #111b30;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer a {
  color: #ffd36e;
}

.content-page {
  min-height: calc(100vh - 73px);
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 179, 33, 0.16), transparent 28%),
    linear-gradient(135deg, #fffaf2 0%, #f3f9ff 62%, #fff1f4 100%);
}

.content-article {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.content-article time {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 900;
}

.content-article h1 {
  max-width: none;
  font-size: clamp(34px, 5vw, 58px);
}

.content-summary,
.content-body p {
  color: var(--muted);
  font-size: 18px;
}

.content-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 28px;
  border-radius: 8px;
}

@media (max-width: 1100px) {
  .course-grid,
  .service-grid,
  .advantage-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    min-width: 0;
    text-align: left;
  }

  .hero,
  .about-section,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .intro-band {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand {
    min-width: auto;
  }

  .brand small {
    display: none;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-visual img {
    min-height: 300px;
  }

  .intro-band,
  .course-grid,
  .service-grid,
  .advantage-strip {
    grid-template-columns: 1fr;
  }

  .course-card.large {
    grid-column: span 1;
  }

  .notice-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

  .notice-item strong {
    text-align: left;
  }
}
