:root {
  --bg: #f4f7f1;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --ink: #242822;
  --muted: #61695c;
  --line: #d6decf;
  --accent: #4d7c2f;
  --accent-2: #1d685f;
  --accent-3: #ba7b2a;
  --hero-shade: rgba(24, 34, 22, 0.58);
  --shadow: 0 18px 50px rgba(38, 45, 42, 0.14);
  --radius: 8px;
  --header-h: 72px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 12px 28px;
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
}

.brand-text {
  font-size: 15px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  padding: 7px 2px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(76vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #171f1e;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #101f12;
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-counselor.png");
  background-position: right center;
  background-repeat: no-repeat;
}

.hero-bg::before {
  inset: -38px;
  background-size: cover;
  filter: blur(22px) saturate(0.9);
  opacity: 0.86;
  transform: scale(1.06);
}

.hero-bg::after {
  background-size: contain;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--hero-shade) 0%, rgba(18, 24, 24, 0.45) 48%, rgba(18, 24, 24, 0.16) 100%),
    linear-gradient(180deg, rgba(8, 14, 14, 0.25), rgba(8, 14, 14, 0.55));
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-3);
  font-size: 13px;
  font-weight: 700;
}

.hero .eyebrow {
  color: #f1c76d;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: 64px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 30px;
  font-size: 22px;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  font-weight: 700;
}

.button.primary {
  color: #10201f;
  background: #fffaf2;
  border-color: #fffaf2;
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.summary-band {
  width: min(1120px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px auto 0;
  background: transparent;
  border-bottom: 0;
}

.summary-item {
  min-height: 118px;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.summary-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.summary-item strong {
  display: block;
  max-width: 430px;
  font-size: 18px;
  line-height: 1.5;
}

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

.section-heading {
  display: block;
  max-width: 900px;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 52px;
  align-items: start;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 790px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 40px;
  line-height: 1.22;
  letter-spacing: 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.problem-card,
.feature-card,
.outcome-card {
  min-height: 132px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.problem-card h3,
.feature-card h3,
.outcome-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.35;
}

.problem-card p,
.feature-card p,
.outcome-card p,
.teacher-copy p,
.closing-inner p {
  color: var(--muted);
}

.feature-section {
  width: 100%;
  padding: 88px max(24px, calc((100% - 1120px) / 2));
  background: var(--surface-strong);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.feature-card {
  background: var(--bg);
}

.feature-number {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
}

.modules-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 54px;
}

.modules-section .section-heading {
  display: block;
  margin-bottom: 0;
}

.module-list {
  display: grid;
  gap: 10px;
}

.module-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.module-toggle {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.toggle-mark {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  position: relative;
}

.toggle-mark::before,
.toggle-mark::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 2px;
  background: var(--accent);
}

.toggle-mark::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.module-item.is-open .toggle-mark::after {
  transform: rotate(0deg);
}

.module-panel {
  display: none;
  padding: 0 20px 20px;
  color: var(--muted);
}

.module-item.is-open .module-panel {
  display: block;
}

.plans-section {
  width: 100%;
  padding: 88px max(24px, calc((100% - 1120px) / 2));
  background: var(--surface-strong);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.plan-shell {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.plan-tabs {
  display: grid;
  gap: 8px;
}

.plan-tab {
  min-height: 52px;
  padding: 0 16px;
  color: var(--ink);
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.plan-tab.is-active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.plan-panel {
  min-height: 372px;
  padding: 34px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.plan-label {
  margin-bottom: 8px;
  color: var(--accent-2);
  font-weight: 800;
}

.plan-panel h3 {
  margin-bottom: 24px;
  font-size: 34px;
  line-height: 1.25;
}

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

.plan-meta div {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.plan-meta dt {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.plan-meta dd {
  margin: 5px 0 0;
  color: var(--ink);
}

.plan-goal {
  margin-bottom: 0;
  color: var(--accent-2);
  font-weight: 700;
}

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

.outcome-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.outcome-card li + li {
  margin-top: 8px;
}

.audience-section {
  padding-top: 18px;
}

.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audience-grid span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.teacher-section {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 90px max(24px, calc((100% - 1120px) / 2));
  background: #172523;
  color: #fff;
}

.teacher-photo-wrap {
  align-self: stretch;
  min-height: 620px;
  overflow: hidden;
  border-radius: var(--radius);
}

.teacher-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.teacher-copy .eyebrow {
  color: #f0c66a;
}

.teacher-copy h2 {
  margin-bottom: 4px;
  font-size: 48px;
  line-height: 1.1;
}

.teacher-role {
  font-size: 22px;
  color: #f2eadc;
}

.teacher-copy p {
  color: #d9e0dc;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.credential-grid div {
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
}

.credential-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #f0c66a;
  font-size: 25px;
}

.credential-grid span {
  color: #d9e0dc;
}

.closing-section {
  padding: 86px 24px;
  background: var(--accent);
  color: #fff;
}

.closing-inner {
  width: min(940px, 100%);
  margin: 0 auto;
}

.closing-inner .eyebrow {
  color: #f4d27f;
}

.closing-inner h2 {
  margin-bottom: 18px;
  font-size: 38px;
  line-height: 1.25;
}

.closing-inner p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
}

.contact-section {
  padding: 48px max(24px, calc((100% - 1120px) / 2));
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: center;
}

.contact-inner h2 {
  margin-bottom: 0;
  font-size: 32px;
  line-height: 1.25;
}

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

.contact-item {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-item span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.contact-item strong {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.25;
  word-break: break-word;
}

.site-footer {
  min-height: 74px;
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  align-items: center;
  padding: 20px 28px;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer a {
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  h1 {
    font-size: 48px;
  }

  .section-heading,
  .modules-section,
  .teacher-section,
  .plan-shell {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .feature-list,
  .outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teacher-photo-wrap {
    min-height: 460px;
  }

}

@media (max-width: 720px) {
  :root {
    --header-h: 156px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    padding: 10px 16px;
  }

  .brand-text {
    white-space: normal;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    min-height: calc(82vh - var(--header-h));
  }

  .hero-bg {
    background-position: 58% 20%;
  }

  .hero-bg::before,
  .hero-bg::after {
    background-position: right center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(9, 15, 15, 0.72), rgba(9, 15, 15, 0.48) 52%, rgba(9, 15, 15, 0.64)),
      linear-gradient(90deg, rgba(9, 15, 15, 0.50), rgba(9, 15, 15, 0.20));
  }

  .hero-content {
    width: min(100% - 32px, 1120px);
    padding: 42px 0 52px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .summary-band {
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 0;
    gap: 1px;
  }

  .summary-item {
    min-height: 104px;
    padding: 22px 20px;
  }

  .section,
  .section {
    width: min(100% - 32px, 1120px);
    padding: 62px 0;
  }

  .section-heading {
    gap: 20px;
    margin-bottom: 26px;
  }

  .section-heading h2,
  .closing-inner h2 {
    font-size: 30px;
  }

  .problem-grid,
  .feature-list,
  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .feature-section,
  .plans-section,
  .teacher-section {
    padding: 62px 16px;
  }

  .plan-tabs {
    grid-template-columns: 1fr;
  }

  .plan-panel {
    padding: 24px;
  }

  .plan-panel h3 {
    font-size: 28px;
  }

  .plan-meta {
    grid-template-columns: 1fr;
  }

  .teacher-copy h2 {
    font-size: 40px;
  }

  .teacher-photo-wrap {
    min-height: 420px;
  }

  .credential-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 42px 16px;
  }

  .contact-inner,
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-inner h2 {
    font-size: 28px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px;
  }
}
