:root {
  color-scheme: light;
  --ink: #203331;
  --muted: #63716d;
  --line: #dce9e1;
  --paper: #fbfcf7;
  --white: #ffffff;
  --leaf: #2f7f58;
  --deep-leaf: #1f5f49;
  --melon: #f0625d;
  --seed: #263330;
  --rind: #dff0cc;
  --matcha: #cfe6bd;
  --matcha-soft: #edf7e9;
  --mint: #e3f2dc;
  --cream-green: #f7fbef;
  --sun: #e7bd4d;
  --sky: #4f86b7;
  --shadow: 0 22px 60px rgba(33, 73, 60, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  background: var(--paper);
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 68px);
  background: rgba(251, 252, 247, 0.92);
  border-bottom: 1px solid rgba(220, 233, 225, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 42px;
  color: var(--white);
  font-size: 0;
  font-weight: 900;
  background: radial-gradient(circle at 50% 58%, var(--melon) 0 48%, var(--rind) 49% 58%, var(--leaf) 59% 100%);
  border: 2px solid var(--deep-leaf);
  border-radius: 50% 50% 48% 48%;
  box-shadow: inset 0 -5px 0 rgba(255, 255, 255, 0.18);
}

.brand-mark::after {
  position: absolute;
  right: 13px;
  bottom: 14px;
  width: 4px;
  height: 6px;
  content: "";
  background: var(--seed);
  border-radius: 50%;
  box-shadow: -13px -3px 0 var(--seed), -7px 8px 0 var(--seed), 4px -8px 0 var(--seed);
}

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

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

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.nav a {
  padding: 10px 11px;
  color: var(--muted);
  border-radius: 8px;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: var(--deep-leaf);
  background: #edf7e9;
}

.header-action,
.primary-btn,
.ghost-btn,
.text-link,
button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.header-action,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--white);
  font-weight: 800;
  background: var(--leaf);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.14);
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--deep-leaf);
  font-weight: 800;
  background: #edf7e9;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100vh - 76px);
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21, 50, 41, 0.83), rgba(21, 50, 41, 0.48) 50%, rgba(21, 50, 41, 0.1));
}

.hero-content {
  position: relative;
  width: min(780px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 86px);
  padding-bottom: 7vh;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--melon);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #ffe0b4;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.09;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  letter-spacing: 0;
}

.hero-copy,
.page-hero p,
.section-heading p,
.case-card p,
.moment-card p,
.process-grid p,
.region-card p,
.school-card p,
.tool-grid p,
.resource-grid p,
.timeline-item p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.91);
  font-size: 18px;
}

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

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

.story-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.story-strip article {
  min-height: 230px;
  padding: 30px 26px;
  background: var(--white);
}

.story-strip span,
.moment-date,
.case-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--melon);
  font-size: 13px;
  font-weight: 900;
}

.story-strip strong {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
}

.story-strip p {
  color: var(--muted);
  line-height: 1.75;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 32px;
}

.case-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr;
  gap: 18px;
}

.case-card,
.moment-card,
.region-card,
.school-card,
.growth-card,
.timeline-card,
.tool-grid article,
.resource-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(39, 76, 70, 0.08);
}

.case-card {
  display: block;
  min-height: 310px;
  padding: 26px;
}

.case-card.highlight {
  color: var(--white);
  background: linear-gradient(135deg, #245f52, #3d8a64);
}

.case-card.highlight p,
.case-card.highlight .case-label {
  color: rgba(255, 255, 255, 0.86);
}

.mini-bars {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.mini-bars span {
  position: relative;
  display: block;
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.mini-bars span::before,
.mini-bars span::after {
  position: absolute;
  top: 0;
  left: 0;
  height: 8px;
  content: "";
  border-radius: 999px;
}

.mini-bars span::before {
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
}

.mini-bars span::after {
  width: var(--value);
  background: var(--sun);
}

.process-band {
  background: #fff6e8;
}

.process-grid,
.tool-grid,
.resource-grid,
.region-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-grid article,
.tool-grid article,
.resource-grid article,
.region-card {
  padding: 24px;
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: var(--white);
  font-weight: 900;
  background: var(--melon);
  border-radius: 8px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 5vw, 68px);
  color: var(--white);
  background: var(--ink);
}

.page-main {
  min-height: calc(100vh - 76px);
}

.page-hero {
  padding: 86px clamp(18px, 5vw, 68px) 42px;
  background: linear-gradient(135deg, #e8f4df, #fbf8e8 58%, #f9ebe4);
}

.moments-hero {
  background:
    linear-gradient(135deg, rgba(35, 95, 70, 0.82), rgba(78, 130, 87, 0.48)),
    url("assets/hero-inclusive-kindergarten.png") center / cover;
  color: var(--white);
}

.moments-hero p {
  color: rgba(255, 255, 255, 0.9);
}

.resource-hero {
  background: linear-gradient(135deg, #dcefcf, #f6f9eb 55%, #ffe9dd);
}

.compact-hero h1,
.record-hero h1 {
  color: var(--ink);
  font-size: clamp(36px, 5vw, 58px);
}

.compact-hero p,
.record-hero p {
  max-width: 760px;
  font-size: 18px;
}

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

.moment-feature {
  background: var(--cream-green);
}

.moment-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  background: #f1f7e9;
}

.moment-photo-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(39, 76, 70, 0.08);
}

.moment-photo-card.featured {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  min-height: 420px;
}

.moment-photo {
  min-height: 210px;
  background-position: center;
  background-size: cover;
}

.moment-photo-card.featured .moment-photo {
  min-height: 100%;
}

.moment-copy {
  padding: 24px;
}

.moment-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.photo-build {
  background-image: linear-gradient(rgba(34, 85, 62, 0.1), rgba(34, 85, 62, 0.2)), url("assets/hero-inclusive-kindergarten.png");
}

.photo-emotion {
  background: linear-gradient(135deg, #cfe6bd, #f9efe1);
}

.photo-emotion::after,
.photo-routine::after,
.photo-science::after,
.photo-lunch::after {
  display: grid;
  place-items: center;
  min-height: 210px;
  color: var(--deep-leaf);
  font-size: 42px;
  font-weight: 900;
}

.photo-emotion::after {
  content: "情绪卡";
}

.photo-routine {
  background: linear-gradient(135deg, #e9f4d8, #d7ead1);
}

.photo-routine::after {
  content: "流程图";
}

.photo-science {
  background: linear-gradient(135deg, #eaf7e3, #d5e9b6);
}

.photo-science::after {
  content: "探究";
}

.photo-lunch {
  background: linear-gradient(135deg, #f8efd8, #dbecc5);
}

.photo-lunch::after {
  content: "生活";
}

.rich-grid {
  background: #f0f7e8;
}

.tool-card {
  display: block;
  min-height: 270px;
  padding: 26px;
  border: 1px solid rgba(31, 95, 73, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(39, 76, 70, 0.08);
}

.tool-card span,
.review-layout span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--white);
  font-weight: 900;
  background: var(--leaf);
  border-radius: 8px;
}

.tool-card p {
  color: var(--muted);
  line-height: 1.75;
}

.shade-a {
  background: #e5f2d8;
}

.shade-b {
  background: #f3f9e6;
}

.shade-c {
  background: #dbeccb;
}

.shade-d {
  background: #fff2e7;
}

.resource-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
  background: #f1f7e9;
}

.resource-lead,
.resource-side a,
.checklist-grid article,
.strategy-board article,
.review-layout article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(39, 76, 70, 0.08);
}

.resource-lead {
  padding: 30px;
  background: linear-gradient(135deg, #e4f2d7, #ffffff);
}

.resource-side {
  display: grid;
  gap: 12px;
}

.resource-side a {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.resource-side span {
  color: var(--muted);
}

.expanded-resources {
  background: #fbf8e8;
}

.checklist-grid,
.strategy-board,
.review-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.checklist-grid article,
.strategy-board article,
.review-layout article {
  padding: 24px;
  background: #f7fbef;
}

.moment-card {
  padding: 26px;
}

.moment-card.large {
  grid-column: span 2;
  min-height: 330px;
  background: #f0f8ee;
}

.moment-card a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--deep-leaf);
  font-weight: 900;
}

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

.region-card {
  display: block;
  min-height: 220px;
}

.region-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
}

.school-list {
  display: grid;
  gap: 18px;
}

.school-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 26px;
}

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

.growth-card,
.timeline-card {
  padding: 24px;
}

.timeline-card {
  grid-column: 1 / -1;
}

.timeline-card.standalone {
  max-width: 980px;
  margin-inline: auto;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.card-header span {
  padding: 7px 10px;
  color: var(--deep-leaf);
  font-size: 13px;
  font-weight: 900;
  background: #edf7e9;
  border-radius: 8px;
}

.card-header button {
  padding: 0 14px;
  color: var(--white);
  font-weight: 900;
  background: var(--melon);
}

.radar-list,
.goal-list,
.timeline {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.dimension {
  display: grid;
  grid-template-columns: 112px 1fr 42px;
  gap: 10px;
  align-items: center;
}

.dimension span:first-child {
  color: var(--muted);
}

.bar {
  height: 10px;
  overflow: hidden;
  background: #edf1ef;
  border-radius: 999px;
}

.bar i {
  display: block;
  height: 100%;
  background: var(--sky);
  border-radius: inherit;
}

.goal-list li {
  padding: 14px;
  line-height: 1.6;
  background: #f8faf7;
  border-left: 4px solid var(--sun);
  border-radius: 8px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 16px;
  padding: 16px;
  background: #f8faf7;
  border-radius: 8px;
}

.timeline-date {
  color: var(--deep-leaf);
  font-weight: 900;
}

.timeline-item strong {
  display: block;
  margin-bottom: 6px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  max-width: min(360px, calc(100vw - 44px));
  padding: 14px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.login-body,
.system-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #f3faee, #fff3ec);
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: 100vh;
  padding: clamp(22px, 6vw, 78px);
}

.login-intro {
  display: grid;
  gap: 42px;
}

.login-intro h1 {
  color: var(--ink);
}

.login-intro p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.login-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.login-notes span,
.demo-hint {
  color: var(--deep-leaf);
  font-weight: 900;
}

.login-notes span {
  padding: 10px 12px;
  background: #edf7e9;
  border-radius: 8px;
}

.login-panel {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px;
  background: #f3f7f1;
  border-radius: 8px;
}

.login-tabs button {
  color: var(--muted);
  font-weight: 900;
  background: transparent;
}

.login-tabs button.active {
  color: var(--white);
  background: var(--leaf);
}

.login-form {
  display: grid;
  gap: 16px;
}

.login-form label,
.search-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.demo-hint {
  margin: 16px 0 0;
  font-size: 14px;
}

.system-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 42px);
  background: rgba(251, 252, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.system-user {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.system-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 6px;
  overflow-x: auto;
}

.system-nav a {
  padding: 10px 11px;
  color: var(--muted);
  font-weight: 800;
  border-radius: 8px;
  white-space: nowrap;
}

.system-nav a:hover,
.system-nav a.active {
  color: var(--deep-leaf);
  background: #edf7e9;
}

.system-user a {
  padding: 9px 12px;
  color: var(--deep-leaf);
  font-weight: 900;
  background: #edf7e9;
  border-radius: 8px;
}

.system-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: calc(100vh - 76px);
}

.system-sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
  background: #ffffff;
  border-right: 1px solid var(--line);
}

.sidebar-block {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #f3f8f0;
  border-radius: 8px;
}

.sidebar-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

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

.child-list button {
  display: grid;
  gap: 6px;
  width: 100%;
  min-height: 78px;
  padding: 14px;
  text-align: left;
  color: var(--ink);
  background: #f8faf7;
  border: 1px solid var(--line);
}

.child-list button.active {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(47, 127, 88, 0.12);
}

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

.child-list span {
  color: var(--muted);
  font-size: 13px;
}

.system-main {
  padding: clamp(22px, 4vw, 42px);
}

.system-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.system-heading h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
}

.system-heading p {
  color: var(--muted);
  line-height: 1.7;
}

.system-heading button {
  padding: 0 18px;
  color: var(--white);
  font-weight: 900;
  background: var(--melon);
}

.system-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.system-stats article {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.system-stats span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.system-stats strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

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

@media (max-width: 1040px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
  }

  .case-grid,
  .process-grid,
  .tool-grid,
  .resource-grid,
  .region-grid,
  .moment-wall,
  .moment-gallery,
  .moment-photo-card.featured,
  .resource-feature,
  .checklist-grid,
  .strategy-board,
  .review-layout,
  .detail-layout,
  .system-grid,
  .system-stats {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 700px) {
  .site-header {
    gap: 12px;
    min-height: auto;
  }

  .brand {
    min-width: 0;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(21, 50, 41, 0.82), rgba(21, 50, 41, 0.5));
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 84px;
  }

  .section {
    padding: 54px 18px;
  }

  .story-strip,
  .case-grid,
  .process-grid,
  .tool-grid,
  .resource-grid,
  .region-grid,
  .moment-wall,
  .moment-gallery,
  .moment-photo-card.featured,
  .resource-feature,
  .checklist-grid,
  .strategy-board,
  .review-layout,
  .detail-layout,
  .school-card,
  .login-shell,
  .system-layout,
  .system-grid,
  .system-stats {
    grid-template-columns: 1fr;
  }

  .system-topbar,
  .system-heading,
  .system-user,
  .system-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .system-nav {
    width: 100%;
  }

  .moment-card.large {
    grid-column: auto;
  }

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

  .dimension {
    grid-template-columns: 88px 1fr 36px;
  }

  .site-footer {
    display: grid;
  }
}
