:root {
  --ink: #18332d;
  --muted: #5e746d;
  --paper: #f6f1e8;
  --card: #fffdf8;
  --sage: #b9cfbb;
  --leaf: #39705a;
  --sun: #e8b650;
  --line: #d9dfd3;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  line-height: 1.75;
}
.wrap {
  max-width: 1120px;
  margin: auto;
  padding: 0 24px;
}
.hero {
  min-height: 78vh;
  background: #eef1ed;
  padding: 26px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero:after {
  content: none;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  position: relative;
  z-index: 1;
}
.brand {
  font-weight: 800;
  letter-spacing: 0.08em;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  margin-left: 18px;
}
.kicker {
  margin-top: 100px;
  color: var(--leaf);
  font-family: system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  font-weight: 800;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.12;
  margin: 16px 0 20px;
  letter-spacing: 0.04em;
}
.hero p {
  font-size: 20px;
  max-width: 680px;
  color: #35544a;
}
.quote {
  border-left: 4px solid var(--sun);
  padding: 12px 18px;
  margin-top: 38px;
  max-width: 710px;
  font-size: 18px;
  background: #ffffff82;
}
.jump {
  display: inline-block;
  margin-top: 26px;
  padding: 11px 20px;
  background: var(--leaf);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-family: system-ui, sans-serif;
  font-size: 14px;
}
section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  margin: 0 0 12px;
}
h3 {
  font-size: 21px;
  margin: 0 0 8px;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 820px;
  margin-top: 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.card {
  background: var(--card);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 4px 14px #3853420d;
}
.card p {
  margin: 0;
  color: #4a625a;
}
.num {
  font-family: system-ui, sans-serif;
  color: var(--leaf);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
}
.twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 30px;
}
.panel {
  padding: 28px;
  background: #e8f0e5;
  border-radius: 16px;
}
.panel.alt {
  background: #fff3d6;
}
.panel ul {
  padding-left: 20px;
  margin: 10px 0;
}
.panel li {
  margin-bottom: 8px;
}
.subject {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 26px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}
.subject:last-child {
  border: 0;
}
.tag {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--leaf);
  letter-spacing: 0.08em;
}
.subject p {
  margin: 6px 0;
}
.steps {
  counter-reset: s;
}
.steps li {
  list-style: none;
  position: relative;
  padding: 0 0 22px 52px;
}
.steps li:before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
  text-align: center;
  line-height: 32px;
  font-family: system-ui, sans-serif;
  font-weight: 800;
}
.details {
  margin-top: 30px;
}
.details details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 10px 0;
  padding: 16px 20px;
}
.details summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 18px;
}
.details p,
.details li {
  color: #4a625a;
}
.details ul {
  padding-left: 20px;
}
.template {
  background: #193f34;
  color: #f5f3e9;
  padding: 24px;
  border-radius: 12px;
  white-space: pre-wrap;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 14px;
  line-height: 1.75;
}
.check {
  background: #fff8e9;
  border: 1px solid #ead49f;
  border-radius: 14px;
  padding: 28px;
  margin-top: 32px;
}
.check label {
  display: block;
  padding: 8px 0;
  font-family: system-ui, sans-serif;
}
.check input {
  accent-color: var(--leaf);
  margin-right: 9px;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.week {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 5px solid var(--leaf);
  border-radius: 12px;
  padding: 22px;
}
.week:nth-child(even) {
  border-top-color: var(--sun);
}
.week small {
  font-family: system-ui, sans-serif;
  font-weight: 800;
  color: var(--leaf);
  letter-spacing: 0.1em;
}
.week h3 {
  margin-top: 8px;
}
.week ul,
.major ul {
  padding-left: 19px;
  margin-bottom: 0;
}
.week li,
.major li {
  margin: 7px 0;
  color: #4a625a;
}
.major-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.major {
  background: var(--card);
  padding: 26px;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.major strong {
  color: var(--leaf);
}
.myths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}
.myth {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.myth .wrong {
  color: #9a554c;
  text-decoration: line-through;
  font-family: system-ui, sans-serif;
  font-weight: 700;
}
.myth .right {
  color: var(--leaf);
  font-weight: 800;
}
.case {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dce9da;
  color: var(--leaf);
  font-family: system-ui, sans-serif;
  font-weight: 900;
  font-size: 28px;
}
.case:nth-child(even) .avatar {
  background: #f7dfaa;
  color: #7b5a15;
}
.quiz {
  margin-top: 30px;
}
.quiz-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 10px 0;
}
.quiz-options {
  display: flex;
  gap: 8px;
}
.quiz-options input {
  position: absolute;
  opacity: 0;
}
.quiz-options label {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
  font-family: system-ui, sans-serif;
  font-size: 13px;
}
.quiz-options input:checked + label {
  background: var(--leaf);
  color: white;
  border-color: var(--leaf);
}
.scorebox {
  margin-top: 24px;
  background: #193f34;
  color: white;
  border-radius: 14px;
  padding: 25px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
}
.scorebox button {
  border: 0;
  background: var(--sun);
  color: var(--ink);
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  cursor: pointer;
}
.scorebox p {
  margin: 4px 0;
  color: #dbe8e0;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.support-grid .card ul {
  padding-left: 18px;
  margin: 12px 0 0;
}
.support-grid .card li {
  margin: 7px 0;
  color: #4a625a;
}
footer {
  padding: 42px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  font-family: system-ui, sans-serif;
}
@media (max-width: 900px) {
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .support-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding-bottom: 60px;
  }
  .kicker {
    margin-top: 70px;
  }
  .nav a {
    display: none;
  }
  .grid,
  .twocol,
  .major-grid,
  .myths,
  .timeline {
    grid-template-columns: 1fr;
  }
  .subject,
  .case {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .quiz-item {
    grid-template-columns: 1fr;
  }
  .scorebox {
    align-items: flex-start;
    flex-direction: column;
  }
  section {
    padding: 55px 0;
  }
  .wrap {
    padding: 0 18px;
  }
}
body {
  min-height: 100vh;
}
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 30;
}
.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--sun);
}
.module-header,
.home-header {
  background: #eef1ed;
  position: relative;
  overflow: hidden;
}
.module-header:after,
.home-header:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid #9db69a;
  border-radius: 50%;
  right: -130px;
  bottom: -230px;
  pointer-events: none;
}
.site-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  position: relative;
  z-index: 2;
  font-family: system-ui, sans-serif;
}
.site-brand {
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
}
.nav-links a:hover,
.nav-links a.active {
  background: #fff;
  color: var(--leaf);
}
.module-hero {
  padding-top: 58px;
  padding-bottom: 72px;
  position: relative;
  z-index: 1;
}
.module-hero .kicker,
.home-copy .kicker {
  margin-top: 0;
}
.module-hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.1;
  margin: 12px 0 18px;
}
.module-hero > p:not(.breadcrumb) {
  font-size: 19px;
  color: #35544a;
  max-width: 760px;
}
.breadcrumb {
  font:
    13px system-ui,
    sans-serif;
  color: var(--muted);
  margin: 12px 0;
}
.breadcrumb a {
  color: var(--leaf);
}
.breadcrumb span {
  margin: 0 7px;
}
.module-tools {
  padding-top: 28px;
}
.tool-row {
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  font:
    13px system-ui,
    sans-serif;
}
.search-box {
  display: grid;
  gap: 6px;
  flex: 1;
  font-weight: 800;
}
.search-box input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 15px;
  background: white;
  font-size: 14px;
}
.text-button {
  border: 1px solid var(--line);
  background: white;
  color: var(--leaf);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 800;
}
.page-toc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.page-toc a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--ink);
  text-decoration: none;
  background: #ffffff8c;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.page-toc a:hover {
  border-color: var(--leaf);
  background: white;
}
.page-toc small {
  color: var(--leaf);
  font:
    700 11px system-ui,
    sans-serif;
  white-space: nowrap;
}
.page-toc span {
  font:
    14px system-ui,
    sans-serif;
}
.module-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 40px;
  padding-bottom: 18px;
}
.module-pager a {
  color: var(--leaf);
  font:
    800 14px system-ui,
    sans-serif;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px;
}
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--leaf);
  color: white;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 24px #18332d40;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.home-header {
  min-height: 72vh;
}
.home-copy {
  padding-top: 76px;
  padding-bottom: 90px;
  position: relative;
  z-index: 1;
}
.home-copy h1 {
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.08;
  margin: 14px 0 20px;
  letter-spacing: 0.03em;
}
.home-copy > p {
  font-size: 20px;
  max-width: 720px;
  color: #35544a;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.module-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 25px;
  text-decoration: none;
  color: var(--ink);
  min-height: 250px;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.module-card:hover {
  transform: translateY(-4px);
  border-color: var(--leaf);
  box-shadow: 0 12px 30px #38534218;
}
.module-card .module-no {
  font:
    800 12px system-ui,
    sans-serif;
  color: var(--leaf);
  letter-spacing: 0.1em;
}
.module-card h2 {
  font-size: 25px;
  margin: 13px 0 8px;
}
.module-card p {
  color: var(--muted);
  margin: 0;
}
.module-card strong {
  margin-top: auto;
  padding-top: 22px;
  color: var(--leaf);
  font:
    800 14px system-ui,
    sans-serif;
}
.home-guide {
  background: #193f34;
  color: #f5f3e9;
}
.home-guide h2 {
  color: white;
}
.home-guide .lead {
  color: #dbe8e0;
}
.route-line {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  margin-top: 32px;
}
.route-step {
  border-top: 4px solid var(--sun);
  padding: 15px 10px;
  background: #ffffff0c;
  border-radius: 8px;
}
.route-step small {
  display: block;
  font:
    800 11px system-ui,
    sans-serif;
  color: #e8b650;
}
.route-step span {
  display: block;
  margin-top: 6px;
  font-weight: 800;
}
.search-empty {
  padding: 70px 24px;
  text-align: center;
  color: var(--muted);
  font:
    16px system-ui,
    sans-serif;
}
@media (max-width: 900px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
  }
  .nav-links {
    justify-content: flex-start;
  }
  .module-grid,
  .page-toc {
    grid-template-columns: repeat(2, 1fr);
  }
  .route-line {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 620px) {
  .nav-links {
    gap: 3px;
  }
  .nav-links a {
    padding: 6px 7px;
  }
  .module-hero {
    padding-top: 38px;
  }
  .module-grid,
  .page-toc,
  .route-line {
    grid-template-columns: 1fr;
  }
  .tool-row {
    align-items: stretch;
    flex-direction: column;
  }
  .module-pager {
    align-items: stretch;
    flex-direction: column;
  }
  .module-pager a {
    text-align: center;
  }
  .home-copy {
    padding-top: 48px;
  }
  .home-header {
    min-height: auto;
  }
}
@media print {
  .site-nav,
  .module-tools,
  .module-pager,
  .back-top,
  .scroll-progress {
    display: none !important;
  }
  .module-header,
  .home-header {
    background: white;
  }
  .module-hero {
    padding: 24px 0;
  }
  section {
    break-inside: avoid;
    padding: 35px 0;
  }
  .card,
  .panel,
  .week,
  .major,
  .myth,
  .quiz-item {
    box-shadow: none;
  }
}

.dimension-results {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.dimension-results[hidden] {
  display: none;
}
.dimension-result {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  font-family: system-ui, sans-serif;
}
.dimension-result > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}
.dimension-result small {
  color: var(--leaf);
  font-weight: 800;
}
.dimension-result strong {
  font-size: 14px;
}
.dimension-result p {
  margin: 10px 0;
  color: var(--ink);
  font-weight: 800;
}
.dimension-result a {
  color: var(--leaf);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
@media (max-width: 1000px) {
  .dimension-results {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .dimension-results {
    grid-template-columns: 1fr;
  }
}
.quick-card {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.quick-card:hover {
  transform: translateY(-3px);
  border-color: var(--leaf);
  box-shadow: 0 10px 26px #38534218;
}
.quick-card small {
  color: var(--leaf);
  font:
    800 11px system-ui,
    sans-serif;
  letter-spacing: 0.1em;
}
.quick-card h3 {
  margin-top: 7px;
}
.quick-card strong {
  margin-top: auto;
  padding-top: 16px;
  color: var(--leaf);
  font:
    800 13px system-ui,
    sans-serif;
}

/* 2026 visual refresh: restrained academic editorial system */
:root {
  --ink: #18212b;
  --muted: #64707b;
  --paper: #f4f5f2;
  --card: #fff;
  --sage: #dce6e0;
  --leaf: #2f6755;
  --sun: #a8733c;
  --line: #d9dedb;
  --navy: #26384b;
  --soft: #eef1ed;
  --warm: #f5ede3;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Noto Sans SC",
    "Microsoft YaHei",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 16px;
  line-height: 1.78;
  text-rendering: optimizeLegibility;
}

.wrap {
  width: min(1160px, calc(100% - 48px));
  max-width: none;
  padding: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(47, 103, 85, 0.22);
  outline-offset: 3px;
}

.home-header,
.module-header {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.home-header:after,
.module-header:after {
  content: none;
}

.site-nav {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
  padding: 10px 12px 10px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 6px 22px rgba(24, 33, 43, 0.05);
}

.site-brand {
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.site-brand:before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: var(--leaf);
  border-radius: 50%;
  content: "";
  vertical-align: 1px;
}

.nav-links {
  gap: 2px;
  flex-wrap: nowrap;
}

.nav-links a {
  margin: 0;
  padding: 8px 9px;
  border-radius: 6px;
  color: #48535e;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-links a:hover {
  background: #f1f3f1;
  color: var(--ink);
}
.nav-links a.active,
.nav-links a[aria-current="page"] {
  background: var(--navy);
  color: #fff;
}

.home-header {
  min-height: 650px;
}

.home-copy {
  padding-top: 104px;
  padding-bottom: 112px;
}

.home-copy:before {
  position: absolute;
  top: 72px;
  left: 0;
  width: 54px;
  height: 4px;
  background: var(--leaf);
  content: "";
}

.home-copy h1,
.module-hero h1,
h2,
h3 {
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  text-wrap: balance;
}

.home-copy h1 {
  max-width: 850px;
  margin: 18px 0 24px;
  font-size: clamp(46px, 6.5vw, 78px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.12;
}

.home-copy > p {
  max-width: 710px;
  margin: 0;
  color: #46535c;
  font-size: 19px;
}

.kicker,
.num,
.tag,
.module-no,
.week small,
.quick-card small,
.route-step small {
  color: var(--leaf);
  font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote {
  max-width: 720px;
  margin-top: 36px;
  padding: 17px 20px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sun);
  border-radius: 0;
  color: #34414b;
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: 17px;
}

.jump {
  display: inline-flex;
  align-items: center;
  padding: 11px 17px;
  background: var(--leaf);
  border: 1px solid var(--leaf);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 750;
}

.jump:hover {
  background: #235143;
  border-color: #235143;
}

.module-hero {
  padding-top: 72px;
  padding-bottom: 76px;
}

.module-hero h1 {
  max-width: 900px;
  margin: 14px 0 18px;
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.13;
}

.module-hero > p:not(.breadcrumb) {
  color: #485761;
  font-size: 18px;
}
.breadcrumb {
  font-size: 13px;
}

section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 7px 0 14px;
  font-size: clamp(29px, 3.5vw, 42px);
  font-weight: 750;
  letter-spacing: 0.01em;
}

h3 {
  font-size: 20px;
  line-height: 1.45;
}
.lead {
  color: var(--muted);
  font-size: 17px;
}
.micro {
  color: var(--muted);
  font-size: 13px;
}

.grid,
.support-grid,
.module-grid {
  gap: 16px;
  margin-top: 30px;
}

.card,
.major,
.week,
.myth,
.module-card,
.quiz-item,
.dimension-result {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: none;
}

.card {
  padding: 23px;
}
.card p,
.details p,
.details li,
.major li,
.week li,
.module-card p {
  color: #53606a;
}

.twocol {
  gap: 24px;
}

.panel {
  padding: 26px;
  background: #e5eee9;
  border: 1px solid #cfded6;
  border-radius: 9px;
}

.panel.alt {
  background: var(--warm);
  border-color: #e8d8c5;
}

.subject {
  grid-template-columns: 165px minmax(0, 1fr);
  gap: 28px;
  padding: 30px 0;
}

.steps li {
  padding-left: 50px;
}

.steps li:before {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--navy);
  border-radius: 6px;
  line-height: normal;
  font-size: 13px;
}

.details details {
  padding: 17px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.details details[open] {
  border-color: #c4cbc7;
}
.details summary {
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: 17px;
}

.template {
  background: #202d38;
  border-radius: 8px;
  color: #edf1f3;
}

.check {
  background: var(--warm);
  border: 1px solid #e6d4bf;
  border-radius: 9px;
}

.timeline {
  gap: 14px;
}
.week {
  border-top: 4px solid var(--leaf);
  border-radius: 9px;
}
.week:nth-child(even) {
  border-top-color: var(--sun);
}
.major-grid,
.myths {
  gap: 16px;
}

.case {
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 22px;
}

.avatar {
  width: 76px;
  height: 76px;
  background: #e5eee9;
  border: 1px solid #cfded6;
  border-radius: 9px;
  font-size: 24px;
}

.case:nth-child(even) .avatar {
  background: var(--warm);
  border-color: #e8d8c5;
  color: var(--sun);
}

.tool-row {
  padding: 15px;
  background: #fff;
  border-radius: 9px;
}

.search-box input {
  padding: 10px 13px;
  background: #fafbfa;
  border-color: #c4cbc7;
  border-radius: 6px;
}

.text-button {
  padding: 10px 13px;
  border-color: #c4cbc7;
  border-radius: 6px;
  color: #235143;
}

.text-button:hover {
  background: #e5eee9;
}

.page-toc {
  gap: 8px;
}

.page-toc a {
  padding: 10px 12px;
  background: transparent;
  border-radius: 7px;
}

.page-toc a:hover {
  background: #fff;
  border-color: #c4cbc7;
}
.page-toc span {
  font-size: 13px;
  line-height: 1.45;
}

.module-pager a {
  padding: 10px 15px;
  background: #fff;
  border-radius: 7px;
  color: #235143;
}

.back-top {
  width: 42px;
  height: 42px;
  background: var(--navy);
  border-radius: 7px;
  box-shadow: 0 12px 34px rgba(24, 33, 43, 0.12);
}

.module-card {
  min-height: 250px;
  padding: 24px;
  border-radius: 9px;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.module-card:hover,
.quick-card:hover {
  transform: none;
  border-color: #aab6b0;
  box-shadow: 0 12px 34px rgba(24, 33, 43, 0.07);
}

.module-card h2 {
  font-size: 24px;
}
.module-card.special-card {
  border-top: 4px solid #a96946;
}
.module-card.special-card .module-no,
.module-card.special-card strong {
  color: #8c4f31;
}
.module-card strong,
.quick-card strong {
  color: var(--leaf);
  font-size: 13px;
}
.quick-card {
  min-height: 205px;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.home-guide {
  background: var(--navy);
  border-bottom-color: var(--navy);
}
.home-guide .lead {
  color: #cdd6db;
}
.home-guide .num {
  color: #a8c6b9;
}

.route-line {
  gap: 8px;
}

.route-step {
  min-height: 112px;
  padding: 17px 13px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid #c09562;
  border-radius: 6px;
}

.route-step small {
  color: #d2ad7f;
}
.route-step-special {
  border-top-color: #d07a55;
}
.route-step-special small {
  color: #efb191;
}
.route-step span {
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
}

.quiz-item {
  padding: 17px 19px;
  border-radius: 9px;
}
.quiz-options label {
  border-color: #c4cbc7;
  border-radius: 6px;
}

.scorebox {
  background: var(--navy);
  border-radius: 9px;
}
.scorebox button {
  background: #d1ad7e;
  border-radius: 6px;
  color: #1d2933;
}

.dimension-results {
  gap: 10px;
}
.dimension-result {
  border-radius: 9px;
}

footer {
  padding: 38px 0;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .site-nav {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: thin;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 32px, 1160px);
  }
  .site-nav {
    margin-top: 10px;
    padding: 12px 12px 9px;
  }
  .site-brand {
    font-size: 14px;
  }
  .nav-links {
    width: calc(100% + 2px);
    gap: 3px;
  }
  .nav-links a {
    flex: 0 0 auto;
    padding: 8px;
  }
  .home-header {
    min-height: auto;
  }
  .home-copy {
    padding-top: 82px;
    padding-bottom: 76px;
  }
  .home-copy:before {
    top: 54px;
  }
  .home-copy h1 {
    font-size: clamp(41px, 13vw, 58px);
  }
  .home-copy > p {
    font-size: 17px;
  }
  .quote {
    font-size: 16px;
  }
  .module-hero {
    padding-top: 52px;
    padding-bottom: 58px;
  }
  section {
    padding: 56px 0;
  }
  .module-card {
    min-height: 225px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* 2026 motion layer: lively, editorial, and free of decorative gradients */
body {
  --page-accent: #e06f47;
  --page-accent-soft: #fff0e9;
}

body[data-page="bridge-programs"] {
  --page-accent: #cb5c5c;
  --page-accent-soft: #fff0ef;
}

body[data-page="start"] {
  --page-accent: #d99735;
  --page-accent-soft: #fff6df;
}

body[data-page="courses"] {
  --page-accent: #4e7fc4;
  --page-accent-soft: #edf4ff;
}

body[data-page="learning"] {
  --page-accent: #7466bd;
  --page-accent-soft: #f2efff;
}

body[data-page="campus"] {
  --page-accent: #278b7e;
  --page-accent-soft: #eaf8f5;
}

body[data-page="practice"] {
  --page-accent: #c66c35;
  --page-accent-soft: #fff1e7;
}

body[data-page="safety"] {
  --page-accent: #c65368;
  --page-accent-soft: #fff0f3;
}

body[data-page="selftest"] {
  --page-accent: #5b8045;
  --page-accent-soft: #eef7e9;
}

.scroll-progress {
  height: 4px;
  background: transparent;
}

.scroll-progress span {
  background: var(--page-accent);
  box-shadow: 0 0 12px rgba(24, 33, 43, 0.18);
  transition: width 0.08s linear;
}

.home-header,
.module-header {
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--page-accent);
}

.home-header::before,
.module-header::before {
  position: absolute;
  right: clamp(-90px, 4vw, 38px);
  bottom: clamp(-100px, -5vw, -42px);
  width: clamp(210px, 28vw, 390px);
  aspect-ratio: 1;
  border: 42px solid var(--page-accent);
  border-radius: 50%;
  opacity: 0.08;
  content: "";
  pointer-events: none;
  animation: accent-float 9s ease-in-out infinite;
}

.home-copy,
.module-hero,
.site-nav {
  position: relative;
  z-index: 1;
}

.home-copy::before {
  background: var(--page-accent);
  animation: accent-line 0.8s 0.15s both;
  transform-origin: left;
}

.kicker,
.num,
.tag,
.module-no,
.quick-card small,
.route-step small {
  color: var(--page-accent);
}

main > section:nth-of-type(even):not(.home-guide) {
  background: #f9faf7;
}

.num {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.num::before {
  width: 24px;
  height: 3px;
  background: var(--page-accent);
  border-radius: 99px;
  content: "";
  transform-origin: left;
}

.site-brand::before {
  background: var(--page-accent);
  box-shadow: 0 0 0 5px var(--page-accent-soft);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.site-brand:hover::before {
  box-shadow: 0 0 0 8px var(--page-accent-soft);
  transform: scale(1.15);
}

.nav-links a {
  position: relative;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.nav-links a:hover {
  transform: translateY(-2px);
}

.nav-links a.active,
.nav-links a[aria-current="page"] {
  background: var(--navy);
  box-shadow: inset 0 -3px 0 var(--page-accent);
}

.jump,
.text-button,
.module-pager a,
.scorebox button {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.jump {
  background: var(--page-accent);
  border-color: var(--page-accent);
  box-shadow: 0 8px 20px rgba(24, 33, 43, 0.12);
}

.jump:hover,
.text-button:hover,
.module-pager a:hover,
.scorebox button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(24, 33, 43, 0.16);
}

.jump:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.quote {
  border-left-color: var(--page-accent);
  box-shadow: 10px 10px 0 var(--page-accent-soft);
}

.card,
.major,
.week,
.myth,
.module-card,
.quick-card,
.quiz-item,
.dimension-result,
.panel,
.details details,
.subject {
  transition:
    transform 0.28s cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.module-card {
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--page-accent);
}

.module-card::after {
  position: absolute;
  right: -24px;
  bottom: -34px;
  width: 100px;
  height: 100px;
  background: var(--page-accent-soft);
  border-radius: 50%;
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: scale(0.5);
  transition:
    opacity 0.3s ease,
    transform 0.35s ease;
}

.module-card:nth-child(1) {
  --page-accent: #c65368;
  --page-accent-soft: #fff0f3;
}

.module-card:nth-child(2) {
  --page-accent: #d99735;
  --page-accent-soft: #fff6df;
}

.module-card:nth-child(3) {
  --page-accent: #4e7fc4;
  --page-accent-soft: #edf4ff;
}

.module-card:nth-child(4) {
  --page-accent: #7466bd;
  --page-accent-soft: #f2efff;
}

.module-card:nth-child(5) {
  --page-accent: #278b7e;
  --page-accent-soft: #eaf8f5;
}

.module-card:nth-child(6) {
  --page-accent: #c66c35;
  --page-accent-soft: #fff1e7;
}

.module-card:nth-child(7) {
  --page-accent: #b44c5f;
  --page-accent-soft: #fff0f3;
}

.module-card:nth-child(8) {
  --page-accent: #5b8045;
  --page-accent-soft: #eef7e9;
}

.module-card .module-no,
.module-card strong {
  color: var(--page-accent);
}

.module-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.subject {
  position: relative;
  margin-inline: -18px;
  padding-inline: 18px;
  border-radius: 10px;
}

.subject::before {
  position: absolute;
  top: 30px;
  left: 0;
  width: 4px;
  height: 30px;
  background: var(--page-accent);
  border-radius: 99px;
  content: "";
  opacity: 0;
  transform: scaleY(0.3);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.subject .tag {
  display: inline-block;
  padding: 4px 8px;
  background: var(--page-accent-soft);
  border: 1px solid var(--page-accent);
  border-radius: 999px;
  line-height: 1.35;
}

.subject:hover {
  background: var(--page-accent-soft);
  border-bottom-color: transparent;
  transform: translateX(6px);
}

.subject:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.details summary {
  position: relative;
  padding-right: 36px;
}

.details summary::after {
  position: absolute;
  top: 0;
  right: 2px;
  color: var(--page-accent);
  content: "+";
  font-family: system-ui, sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.25s ease;
}

.details details[open] {
  border-color: var(--page-accent);
  box-shadow: 0 8px 24px rgba(24, 33, 43, 0.06);
}

.details details[open] summary::after {
  transform: rotate(45deg);
}

.details details[open] > :not(summary) {
  animation: details-enter 0.28s ease both;
}

.search-box input:focus {
  background: #fff;
  border-color: var(--page-accent);
  box-shadow: 0 0 0 4px var(--page-accent-soft);
}

.quiz-options label:hover {
  background: var(--page-accent-soft);
  border-color: var(--page-accent);
}

.quiz-options input,
.check input {
  accent-color: var(--page-accent);
}

.quiz-flow-status {
  position: sticky;
  top: 10px;
  z-index: 8;
  margin-top: 28px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(24, 33, 43, 0.08);
  backdrop-filter: blur(10px);
}

.quiz-flow-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 9px;
  font-size: 13px;
}

.quiz-flow-meta strong {
  color: var(--ink);
}

.quiz-flow-meta span,
.quiz-flow-actions span {
  color: var(--muted);
}

.quiz-flow-track {
  height: 7px;
  overflow: hidden;
  background: #e7ebe7;
  border-radius: 999px;
}

.quiz-flow-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--page-accent);
  border-radius: inherit;
  transition: width 0.35s ease;
}

.quiz-flow-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  margin-top: 14px;
  font-size: 13px;
}

body[data-page="selftest"]:not(.quiz-flow-active) .quiz-item:not(:first-child),
body[data-page="selftest"]:not(.quiz-flow-active) .scorebox {
  display: none;
}

body.quiz-flow-ready .quiz {
  min-height: 245px;
  margin-top: 18px;
}

body.quiz-flow-ready .quiz-item[hidden] {
  display: none !important;
}

body.quiz-flow-ready .quiz-item {
  min-height: 230px;
  margin: 0;
  padding: clamp(24px, 5vw, 48px);
  border-top: 4px solid var(--page-accent);
  box-shadow: 0 16px 40px rgba(24, 33, 43, 0.08);
  animation: quiz-question-enter 0.38s ease both;
}

body.quiz-flow-ready .quiz-item > span {
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: clamp(19px, 2.3vw, 25px);
  font-weight: 700;
  line-height: 1.6;
}

body.quiz-flow-ready .quiz-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  width: min(100%, 390px);
}

body.quiz-flow-ready .quiz-options label {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 8px 13px;
  text-align: center;
}

body.quiz-flow-ready .quiz-options input:checked + label {
  background: var(--page-accent);
  border-color: var(--page-accent);
}

body.quiz-flow-ready .scorebox {
  display: none;
}

body.quiz-flow-ready .scorebox.flow-complete {
  display: flex;
  animation: quiz-result-enter 0.45s ease both;
}

.page-toc a {
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.page-toc a:hover,
.page-toc a.current {
  background: var(--page-accent-soft);
  border-color: var(--page-accent);
  transform: translateY(-2px);
}

.page-toc a.current small {
  color: var(--page-accent);
}

.route-step {
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.route-step:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-4px);
}

.back-top.visible {
  animation: back-top-enter 0.35s both;
}

body.motion-ready .home-copy > *,
body.motion-ready .module-hero > * {
  animation: hero-enter 0.7s both;
}

body.motion-ready .home-copy > :nth-child(2),
body.motion-ready .module-hero > :nth-child(2) {
  animation-delay: 80ms;
}

body.motion-ready .home-copy > :nth-child(3),
body.motion-ready .module-hero > :nth-child(3) {
  animation-delay: 150ms;
}

body.motion-ready .home-copy > :nth-child(4),
body.motion-ready .module-hero > :nth-child(4) {
  animation-delay: 220ms;
}

body.motion-ready .home-copy > :nth-child(5),
body.motion-ready .module-hero > :nth-child(5) {
  animation-delay: 290ms;
}

body.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s ease var(--reveal-delay, 0ms),
    transform 0.55s cubic-bezier(0.2, 0.75, 0.25, 1) var(--reveal-delay, 0ms),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

body.motion-ready .subject.reveal-item {
  transform: translateX(-18px);
}

body.motion-ready .reveal-item.is-visible {
  opacity: 1;
  transform: none;
}

@media (hover: hover) {
  .card:hover,
  .major:hover,
  .week:hover,
  .myth:hover,
  .module-card:hover,
  .quick-card:hover,
  .quiz-item:hover,
  .dimension-result:hover,
  .panel:hover {
    border-color: var(--page-accent);
    box-shadow: 0 14px 34px rgba(24, 33, 43, 0.1);
    transform: translateY(-5px);
  }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes accent-line {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes accent-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-12px, -14px, 0) rotate(8deg);
  }
}

@keyframes details-enter {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes quiz-question-enter {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes quiz-result-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes back-top-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 680px) {
  .home-header::before,
  .module-header::before {
    right: -120px;
    bottom: -90px;
    border-width: 30px;
  }

  .subject {
    margin-inline: 0;
    padding-inline: 12px;
  }

  .subject:hover {
    transform: none;
  }

  .quiz-flow-status {
    top: 6px;
  }

  body.quiz-flow-ready .quiz {
    min-height: 380px;
  }

  body.quiz-flow-ready .quiz-item {
    min-height: 365px;
    align-content: center;
  }

  body.quiz-flow-ready .quiz-options {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .quiz-flow-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-header::before,
  .module-header::before,
  .home-copy::before,
  .back-top.visible,
  .home-copy > *,
  .module-hero > * {
    animation: none !important;
  }

  .reveal-item,
  .subject.reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }

  .details details[open] > :not(summary) {
    animation: none !important;
  }

  body.quiz-flow-ready .quiz-item,
  body.quiz-flow-ready .scorebox.flow-complete {
    animation: none !important;
  }
}
