:root {
  color-scheme: light dark;
  --ink: #284f5f;
  --ink-strong: #183b49;
  --brand: #315f70;
  --brand-deep: #244c5c;
  --aqua: #43a4b3;
  --aqua-strong: #187f90;
  --lime: #d6ea4e;
  --paper: #f7faf9;
  --surface: #ffffff;
  --surface-soft: #eef6f7;
  --surface-tint: #e4f1f3;
  --line: #cfe1e4;
  --muted: #617981;
  --shadow: 0 22px 60px rgba(31, 81, 94, 0.14);
  --radius-card: 18px;
  --radius-button: 999px;
  --content: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #d9eaed;
    --ink-strong: #f3f8f8;
    --brand: #173f4d;
    --brand-deep: #102f3a;
    --aqua: #56b6c3;
    --aqua-strong: #69c5d1;
    --lime: #d6ea4e;
    --paper: #0f2026;
    --surface: #173039;
    --surface-soft: #18353e;
    --surface-tint: #1c3d47;
    --line: #2d5965;
    --muted: #a8bec4;
    --shadow: 0 22px 60px rgba(2, 13, 17, 0.34);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--brand-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(var(--content), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 1 420px;
  min-width: 0;
}

.brand-lockup img {
  width: 100px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.brand-title {
  overflow: hidden;
  color: #f5fbfb;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.primary-nav a {
  position: relative;
  padding: 24px 0 22px;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--lime);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: transparent;
  color: #f5fbfb;
  min-width: 58px;
  min-height: 44px;
  padding: 0 10px;
  font: inherit;
  cursor: pointer;
}

.shell {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.mobile-one-page,
.mobile-action-bar {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(610px, 76dvh, 780px);
  overflow: hidden;
  background: var(--brand-deep);
  isolation: isolate;
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(15, 45, 55, 0.16) 0%, rgba(15, 45, 55, 0.04) 46%, rgba(15, 45, 55, 0.32) 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  min-height: clamp(610px, 76dvh, 780px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  align-items: center;
  padding: 56px 0 190px;
}

.hero-panel {
  grid-column: 2;
  width: 100%;
  padding: clamp(30px, 4vw, 52px);
  color: #f5fbfb;
  background: rgba(37, 82, 95, 0.8);
  border: 0;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-kicker {
  margin: 0 0 20px;
  max-width: none;
  font-size: 17px;
  line-height: 1.55;
}

.hero-kicker::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 18px;
  background: var(--lime);
}

.hero h1 {
  margin: 0;
  color: var(--lime);
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px);
}

.button-light {
  background: #f5fbfb;
  color: #244c5c;
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.38);
  color: #f5fbfb;
  background: rgba(18, 57, 68, 0.38);
}

.button-primary {
  background: var(--brand-deep);
  color: #f5fbfb;
}

.button-accent {
  background: var(--lime);
  color: #25424b;
}

.arrow {
  font-size: 18px;
  line-height: 1;
}

.impact-strip {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 40px;
  left: 0;
}

.impact-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  overflow: hidden;
  color: #f5fbfb;
  background: rgba(48, 160, 176, 0.8);
  border: 0;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.metric {
  padding: 24px 26px 18px;
  text-align: center;
}

.metric strong {
  display: block;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.metric span {
  display: block;
  margin-top: 9px;
  font-size: 13px;
}

.impact-label {
  grid-column: 1 / -1;
  margin: 0;
  padding: 7px 16px 12px;
  border-top: 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 16px auto 0;
  color: var(--muted);
  max-width: 64ch;
}

.page-intro {
  padding: 72px 0 36px;
}

.timeline {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.12fr;
  gap: 16px;
}

.timeline-card {
  position: relative;
  min-height: 188px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
}

.timeline-card::before {
  content: none;
}

.timeline-date {
  display: block;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--lime) 78%, var(--ink));
  font-size: 21px;
  font-weight: 800;
}

.timeline-card p {
  margin: 0;
  color: var(--ink);
}

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

.course-card {
  grid-column: span 6;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
}

.course-card:nth-child(5) {
  grid-column: 4 / span 6;
}

.course-card img {
  width: 100%;
  height: clamp(280px, 30vw, 342px);
  object-fit: cover;
  object-position: center center;
}

.course-copy {
  padding: 26px 28px 30px;
}

.course-copy h2,
.showcase-copy h2,
.process-card h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 28px;
  line-height: 1.25;
}

.course-meta {
  margin: 6px 0 12px;
  color: color-mix(in srgb, var(--lime) 78%, var(--ink));
  font-weight: 800;
}

.course-type {
  margin: 0 0 10px;
  color: var(--ink-strong);
  font-weight: 700;
}

.course-description {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.process-stack {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}

.process-card {
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
}

.process-card.highlight {
  border-color: var(--aqua);
  background: var(--aqua);
  color: #f5fbfb;
}

.process-card.highlight h2 {
  color: #f5fbfb;
}

.process-card p {
  margin: 10px 0 0;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: color-mix(in srgb, var(--lime) 82%, var(--ink));
  font-weight: 900;
}

.process-card .button {
  margin-top: 20px;
}

.showcase-list {
  display: grid;
  gap: 22px;
  max-width: 930px;
  margin: 0 auto;
}

.showcase-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
}

.showcase-card:nth-child(even) {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.showcase-card:nth-child(even) img {
  order: 2;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
}

.showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.month-block {
  margin-top: 18px;
  padding-left: 16px;
  border-left: 4px solid var(--lime);
}

.month-block strong {
  display: block;
  color: color-mix(in srgb, var(--lime) 78%, var(--ink));
  font-size: 18px;
}

.month-block p {
  margin: 2px 0 0;
}

.site-footer {
  margin-top: 72px;
  padding: 36px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--brand-deep);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-shell img {
  width: min(360px, 70vw);
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.footer-shell p {
  margin: 0;
  font-size: 13px;
  text-align: right;
}

.footer-shell p a {
  display: inline-block;
  margin-top: 4px;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
}

.footer-shell p a:hover {
  color: var(--lime);
}

@media (max-width: 900px) {
  .nav-shell {
    min-height: 66px;
  }

  .brand-lockup img {
    width: 86px;
    height: 38px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .primary-nav {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 20px 20px;
    background: var(--brand-deep);
    box-shadow: 0 16px 30px rgba(5, 24, 30, 0.24);
  }

  .primary-nav[data-open="true"] {
    display: grid;
  }

  .primary-nav a {
    padding: 11px 4px;
  }

  .primary-nav a::after {
    bottom: 6px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    align-items: end;
    padding-bottom: 240px;
  }

  .hero-panel {
    grid-column: 1;
    max-width: 580px;
  }

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

  .timeline-card {
    min-height: auto;
  }

  .timeline-card::before {
    display: none;
  }
}

@media (max-width: 720px) {
  body.has-mobile-actions {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .shell,
  .nav-shell {
    width: min(100% - 28px, var(--content));
  }

  .nav-shell {
    min-height: 84px;
  }

  .brand-lockup {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
  }

  .brand-lockup img {
    width: 86px;
    height: 36px;
  }

  .brand-title {
    display: block;
    overflow: visible;
    max-width: 245px;
    font-size: 10px;
    line-height: 1.25;
    text-overflow: clip;
    white-space: normal;
  }

  .nav-toggle {
    border: 0;
    min-width: 52px;
    padding: 0;
    white-space: nowrap;
  }

  .primary-nav {
    top: 84px;
  }

  .hero,
  .hero-layout {
    min-height: 720px;
  }

  .hero-media img {
    object-position: 38% center;
  }

  .hero-layout {
    align-items: start;
    padding-top: 42px;
    padding-bottom: 298px;
  }

  .hero-panel {
    padding: 26px;
    background: rgba(31, 73, 86, 0.8);
  }

  .hero h1 {
    font-size: clamp(39px, 13vw, 56px);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.34fr);
  }

  .hero-actions .button {
    width: 100%;
    padding: 0 12px;
  }

  .impact-strip {
    bottom: 20px;
  }

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

  .metric {
    padding: 18px 12px 12px;
  }

  .metric strong {
    font-size: 30px;
  }

  .section {
    padding: 60px 0;
  }

  .mobile-one-page {
    display: block;
  }

  .mobile-one-page-section {
    padding: 0 0 60px;
    border-top: 1px solid var(--line);
    scroll-margin-top: 84px;
  }

  .mobile-one-page-section:nth-child(even) {
    background: var(--surface);
  }

  #home {
    scroll-margin-top: 84px;
  }

  .page-intro {
    padding-top: 54px;
  }

  .section-heading {
    margin-bottom: 30px;
    text-align: left;
  }

  .section-heading h1,
  .section-heading h2 {
    font-size: 36px;
  }

  #timeline-title {
    font-size: 21px;
  }

  .course-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .course-card,
  .course-card:nth-child(5) {
    grid-column: 1;
  }

  .course-card img {
    height: clamp(240px, 68vw, 300px);
  }

  .course-copy,
  .process-card {
    padding: 24px;
  }

  .showcase-card,
  .showcase-card:nth-child(even) {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .showcase-card > img,
  .showcase-card:nth-child(even) img {
    grid-row: 1;
    order: 0;
  }

  .showcase-card img {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }

  .showcase-copy {
    position: static;
    grid-row: 2;
    padding: 22px 22px 26px;
    color: var(--ink);
    background: var(--surface-soft);
  }

  .showcase-copy h2 {
    font-size: 24px;
  }

  .month-block {
    margin-top: 14px;
    padding-left: 13px;
  }

  .month-block strong {
    font-size: 17px;
  }

  .month-block p {
    color: var(--muted);
    font-size: 15px;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-shell p {
    text-align: left;
  }

  .mobile-action-bar {
    position: fixed;
    z-index: 19;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    background: var(--brand-deep);
    box-shadow: 0 -12px 30px rgba(7, 28, 35, 0.2);
  }

  .mobile-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 50px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: var(--radius-button);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
  }

  .mobile-action-secondary {
    border-color: rgba(255, 255, 255, 0.32);
    color: #f5fbfb;
    background: transparent;
  }

  .mobile-action-primary {
    color: #25424b;
    background: var(--lime);
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
