:root {
  --ink: #132235;
  --muted: #5a6b7d;
  --line: #d8e2e8;
  --paper: #ffffff;
  --soft: #eef5f4;
  --navy: #083766;
  --blue: #1f7dd8;
  --green: #16836d;
  --yellow: #f3b53f;
  --coral: #e56b4f;
  --shadow: 0 18px 45px rgba(10, 31, 54, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 40px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 226, 232, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: 16px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  color: #2f4358;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  background: #fff;
  color: var(--navy);
  font: inherit;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #0a223a;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 19, 33, 0.86) 0%, rgba(4, 19, 33, 0.62) 42%, rgba(4, 19, 33, 0.2) 100%),
    linear-gradient(0deg, rgba(4, 19, 33, 0.5), rgba(4, 19, 33, 0.08));
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0 72px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.08;
}

.hero-lead {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: clamp(17px, 2.1vw, 23px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

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

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

.primary-action {
  color: #fff;
  background: var(--blue);
}

.secondary-action {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.primary-action.dark {
  background: var(--navy);
}

.hero-facts span {
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.section {
  padding: 78px 0;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.intro-band {
  padding: 38px 0;
  background: var(--navy);
  color: #fff;
}

.intro-grid,
.outcomes-grid,
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.intro-grid h2,
.outcomes-grid h2,
.contact-layout h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
}

.intro-grid p:last-child,
.contact-layout p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
}

.section-heading p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.term-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.term-panel,
.track-card,
.team-card,
.daily-item,
.contact-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.term-panel {
  padding: 26px;
}

.basic-panel {
  border-top: 5px solid var(--blue);
}

.advanced-panel {
  border-top: 5px solid var(--green);
}

.panel-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.panel-title-row h3 {
  margin: 0;
  color: var(--navy);
  font-size: 25px;
}

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

.term-list {
  display: grid;
  gap: 12px;
}

.term-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.term-item:last-child {
  border-bottom: 0;
}

.term-item strong {
  color: var(--blue);
}

.spotlight-date strong {
  display: block;
  color: var(--green);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.spotlight-date p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.class-meta {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.class-meta span {
  color: var(--muted);
  line-height: 1.6;
}

.enrollment-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.enrollment-strip div {
  padding: 18px 20px;
  border-radius: 8px;
  background: #102a43;
  color: #fff;
}

.enrollment-strip strong,
.enrollment-strip span {
  display: block;
}

.enrollment-strip strong {
  margin-bottom: 6px;
  color: #ffe3a1;
}

.enrollment-strip span {
  color: rgba(255, 255, 255, 0.88);
}

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

.track-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.track-card {
  overflow: hidden;
}

.track-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.track-body {
  padding: 28px;
}

.tag {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 6px 10px;
  border-radius: 6px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.tag-green {
  background: var(--green);
}

.track-body h3,
.community-copy h3,
.team-card h3,
.daily-item h3,
.contact-box h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 24px;
}

.course-days {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-days li {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.course-days strong {
  color: var(--coral);
}

.course-days span,
.team-card p,
.daily-item p,
.community-copy p,
.check-list,
.contact-box li {
  color: var(--muted);
  line-height: 1.72;
}

.community-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 34px;
  align-items: start;
}

.photo-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.photo-stack img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 8px;
}

.photo-stack img:first-child {
  grid-column: 1 / -1;
  height: 330px;
}

.community-copy {
  padding: 30px;
  border-left: 5px solid var(--yellow);
  background: #fff;
}

.audio-box {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 18px;
  border-radius: 8px;
  background: #f4f8fb;
  border: 1px solid var(--line);
}

.audio-box strong,
.audio-box span {
  display: block;
}

.audio-box span {
  margin-top: 4px;
  color: var(--muted);
}

.audio-box audio {
  width: 100%;
}

.check-list {
  margin: 0;
  padding-left: 20px;
}

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

.daily-item,
.team-card {
  padding: 22px;
  box-shadow: none;
}

.team-card img {
  width: 100%;
  height: 210px;
  margin-bottom: 18px;
  border-radius: 8px;
  object-fit: cover;
}

.team-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 210px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(31, 125, 216, 0.92), rgba(22, 131, 109, 0.92)),
    #102a43;
  font-size: 34px;
  font-weight: 900;
}

.tag-orange {
  background: var(--coral);
}

.daily-item.active {
  border-color: var(--blue);
}

.daily-item span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  font-weight: 900;
}

.daily-item h3 {
  font-size: 20px;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card {
  min-height: 190px;
}

.teacher-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.teacher-detail {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.teacher-detail h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 22px;
}

.teacher-detail ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.72;
}

.outcomes-section {
  background: #102a43;
  color: #fff;
}

.outcomes-section .section-kicker {
  color: var(--yellow);
}

.outcome-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.outcome-list div {
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.outcome-list strong,
.outcome-list span {
  display: block;
}

.outcome-list strong {
  margin-bottom: 8px;
  color: #fff;
}

.outcome-list span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.contact-section {
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #fff;
}

.contact-section .section-kicker {
  color: #ffe3a1;
}

.contact-box {
  padding: 28px;
  color: var(--ink);
}

.qr-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  align-items: center;
}

.qr-layout img {
  width: 210px;
  height: 260px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.contact-box ul {
  margin: 0 0 22px;
  padding-left: 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 40px;
  color: #607284;
  background: #fff;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-content,
  .container {
    width: min(100% - 32px, 1120px);
  }

  .section {
    padding: 56px 0;
  }

  .intro-grid,
  .outcomes-grid,
  .contact-layout,
  .term-layout,
  .track-grid,
  .community-layout,
  .team-grid,
  .teacher-detail-grid {
    grid-template-columns: 1fr;
  }

  .daily-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .track-card img,
  .photo-stack img:first-child {
    height: 260px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 62px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .site-nav {
    top: 62px;
  }

  .hero-content {
    padding: 58px 0 46px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .panel-title-row,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .term-item,
  .course-days li,
  .outcome-list,
  .enrollment-strip,
  .qr-layout {
    grid-template-columns: 1fr;
  }

  .qr-layout img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
  }

  .photo-stack,
  .daily-grid {
    grid-template-columns: 1fr;
  }

  .track-card img,
  .photo-stack img,
  .photo-stack img:first-child {
    height: 220px;
  }
}
