:root {
  /* 基础色 */
  --color-black: #1A1A1A;
  --color-nearblack: #1A1A1A;
  --color-grey-700: #4B5563;
  --color-grey-600: #6B7280;
  --color-grey-500: #9CA3AF;
  --color-grey-400: #D1D5DB;
  --color-grey-300: #E5E7EB;
  --color-grey-200: #E5E7EB;
  --color-grey-100: #F3F4F6;
  --color-nearwhite: #FDFBF7;
  --color-white: #FFFFFF;
  /* 品牌 / 主色（智慧紫） */
  --color-brand: #B45309;
  --color-brand-alt: #92400E;
  --color-brand-light: #D97706;
  --color-brand-dark: #78350F;
  /* 文字 */
  --color-text: #1A1A1A;
  --color-text-bg: #FFFFFF;
  --color-text-meta: #6B7280;
  --color-headings: #1A1A1A;
  --color-code: #1A1A1A;
  /* 链接 */
  --color-link: #B45309;
  --color-link-visited: #92400E;
  --color-link-hover: #92400E;
  --color-link-active: #78350F;
  /* 按钮 */
  --color-button: #B45309;
  --color-button-hover: #92400E;
  --color-button-text: #FFFFFF;
  --color-button-text-hover: #FFFFFF;
  --color-button-disabled: #D1D5DB;
  /* 边框与分隔 */
  --color-border: #E5E7EB;
  --color-border-light: #F3F4F6;
  --color-border-dark: #D1D5DB;
  /* 背景 */
  --color-header-bg: #FDFBF7;
  --color-body-bg: #FDFBF7;
  --color-footer-bg: #FDFBF7;
  --color-backdrop: #F3F4F6;
  /* 移动端菜单 */
  --color-mobile-menu: #B45309;
  --color-mobile-menu-cover: rgba(26, 26, 26, 0.2);
  /* 表单 / 强调 */
  --color-accent: #B45309;
  /* 表格行 */
  --color-row-odd: #F3F4F6;
  --color-row-even: transparent;
  /* 状态：成功用翡翠绿 */
  --color-success: #10B981;
  --color-success-bg: #FEF3C7;
  --color-info: #B45309;
  --color-info-bg: #FFFBEB;
  --color-highlight: #B45309;
}

.footer-menu {
  margin-bottom: 1rem;
}
.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.footer-menu ul li {
  margin: 0;
}
.footer-menu ul li a {
  color: inherit;
  text-decoration: none;
}
.footer-menu ul li a:hover {
  text-decoration: underline;
}
.footer-menu ul li:not(:last-child)::after {
  content: " | ";
  margin-left: 1rem;
  color: inherit;
  opacity: 0.5;
}

.blog-sidebar .sidebar__inner {
  position: sticky;
  top: 2rem;
  padding: 1.5rem;
  background: var(--color-background-sidebar, #f8f9fa);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.blog-sidebar .sidebar__title {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border, #e0e0e0);
}

.blog-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-toc__item {
  margin-bottom: 0.75rem;
}
.blog-toc__item:last-child {
  margin-bottom: 0;
}
.blog-toc__link {
  display: block;
  padding: 0.5rem;
  text-decoration: none;
  color: inherit;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.blog-toc__link:hover {
  background-color: var(--color-background-hover, rgba(0, 0, 0, 0.05));
}
.blog-toc__title {
  display: block;
  font-weight: 500;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}
.blog-toc__date {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-meta, #666);
}

.blog-list {
  margin-top: 2rem;
}
.blog-list .title--section {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.blog-category-card {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-white);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.blog-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
}
.blog-category-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-backdrop);
}
.blog-category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-category-card__body {
  padding: 1.5rem;
}
.blog-category-card__body .h4 {
  margin-top: 0;
  margin-bottom: 0;
}
.blog-category-card__body p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 999px) {
  .blog-sidebar {
    margin-top: 2rem;
  }
  .blog-sidebar .sidebar__inner {
    position: static;
  }
}
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  .animate-fade-up {
    opacity: 1;
  }
}
.home-hero {
  position: relative;
  z-index: 1;
  padding: 7rem 0 2rem;
  text-align: center;
  overflow: hidden;
}
.home-hero__accent {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(180, 83, 9, 0.06) 0%, rgba(180, 83, 9, 0.02) 40%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: fadeIn 1.5s ease 0s both;
}
.home-hero__inner {
  position: relative;
  z-index: 1;
}
.home-hero__title {
  font-size: 2.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-headings);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}
@media (min-width: 768px) {
  .home-hero__title {
    font-size: 3.5rem;
  }
}
.home-body {
  position: relative;
  z-index: 1;
  padding: 3rem 0 5rem;
}
.home-body__content {
  max-width: 640px;
  margin: 0 auto;
}
.home-body__content > p {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 0;
  padding: 2rem 0;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.home-body__content > p:nth-child(1) {
  animation-delay: 0.3s;
}
.home-body__content > p:nth-child(2) {
  animation-delay: 0.5s;
}
.home-body__content > p:nth-child(3) {
  animation-delay: 0.7s;
}
.home-body__content > p:nth-child(4) {
  animation-delay: 0.9s;
}
.home-body__content > p > strong:first-child {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-brand);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.home-body__content > p:last-child {
  text-align: center;
  padding-bottom: 0;
}
.home-body__content > p:last-child > strong:first-child {
  font-weight: 450;
  color: var(--color-text-meta);
  font-size: 1rem;
}
@media (prefers-reduced-motion: reduce) {
  .home-body__content > p {
    opacity: 1;
    animation: none;
  }
}

.app-page {
  padding: 2rem 0 4rem;
}

.app-hero {
  text-align: center;
  padding: 2rem 0 2.5rem;
}
.app-hero__title {
  font-size: 2rem;
  font-weight: 350;
  letter-spacing: 0.03em;
  color: var(--color-headings);
  margin-bottom: 1rem;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .app-hero__title {
    font-size: 2.5rem;
  }
}
.app-hero__subtitle {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-meta);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-weight: 400;
}
.app-hero__action {
  margin-top: 0;
}

.app-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 2.5rem;
  background: linear-gradient(135deg, #B45309, #78350F);
  color: #fff;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.app-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(180, 83, 9, 0.3);
  color: #fff;
  text-decoration: none;
}
.app-download-btn:active {
  transform: translateY(0);
}
.app-download-btn__icon {
  flex-shrink: 0;
}

.app-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.app-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-meta);
}
.app-content p a {
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.app-content p a:hover {
  color: var(--color-brand-dark);
}

.summary-card {
  border: 1px solid var(--color-border, #E5E7EB);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-white, #fff);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.summary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(180, 83, 9, 0.08);
  border-color: #D97706;
}
.summary-card__link {
  display: flex;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}
.summary-card__link:hover {
  color: inherit;
  text-decoration: none;
}
.summary-card__image {
  width: 160px;
  min-height: 120px;
  align-self: stretch;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--color-backdrop);
}
.summary-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.summary-card__body {
  flex: 1;
  min-width: 0;
  padding: 1.25rem 1.5rem;
}
.summary-card__title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.5rem;
  color: var(--color-headings, #1A1A1A);
  transition: color 0.2s ease;
}
.summary-card:hover .summary-card__title {
  color: #B45309;
}
.summary-card__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-meta, #6B7280);
  margin: 0 0 0.75rem;
}
.summary-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.8125rem;
}
.summary-card__date {
  color: var(--color-text-light, #9CA3AF);
  white-space: nowrap;
}
.summary-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.summary-card__tag {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1.4;
  border-radius: 4px;
  background: var(--color-backdrop, #F3F4F6);
  color: var(--color-text-meta, #6B7280);
}
.summary-card__arrow {
  display: none;
}

.summary-card:not(.summary-card--blog) .summary-card__link {
  flex-direction: column;
}

.sidebar__inner {
  position: sticky;
  top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--color-border, #E5E7EB);
  border-radius: 12px;
  background: var(--color-body-bg, #FDFBF7);
}
.sidebar__heading {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #B45309;
  color: var(--color-headings, #1A1A1A);
  letter-spacing: 0.02em;
}
.sidebar__subheading {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light, #9CA3AF);
  margin: 1.25rem 0 0.5rem;
}
.sidebar__nav {
  margin-top: 0;
}
.sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar__item {
  margin-bottom: 0.25rem;
}
.sidebar__item.active .sidebar__link {
  background: rgba(180, 83, 9, 0.06);
  border-left: 2px solid #B45309;
}
.sidebar__link {
  display: block;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.4;
  text-decoration: none;
  color: var(--color-text, #444);
  border-left: 2px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  border-radius: 0 4px 4px 0;
}
.sidebar__link:hover {
  background: rgba(180, 83, 9, 0.04);
  border-left-color: #D97706;
  color: #B45309;
}
.sidebar__link-title {
  display: block;
}
.sidebar__section-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 1rem 0 0.25rem;
}
.sidebar__section-title a {
  color: var(--color-text-dark, #040404);
  text-decoration: none;
  transition: color 0.2s ease;
}
.sidebar__section-title a:hover {
  color: #B45309;
}
.sidebar__sublist {
  list-style: none;
  padding: 0 0 0 0.75rem;
  margin: 0 0 0.75rem;
  border-left: 1px solid var(--color-border, #E5E7EB);
}
.sidebar__subitem {
  font-size: 0.8125rem;
  margin-bottom: 0.25rem;
}
.sidebar__subitem a {
  color: var(--color-text-meta, #6B7280);
  text-decoration: none;
  transition: color 0.2s ease;
}
.sidebar__subitem a:hover {
  color: #B45309;
}

.blog-hub-sections__title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light, #9CA3AF);
  margin: 0 0 0.5rem;
}
.blog-hub-sections__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.blog-hub-sections__item {
  margin: 0;
}
.blog-hub-sections__link {
  display: block;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.4;
  text-decoration: none;
  color: var(--color-text, #444);
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}
.blog-hub-sections__link:hover {
  background: rgba(180, 83, 9, 0.06);
  color: #B45309;
}

::selection {
  background: rgba(180, 83, 9, 0.15);
  color: var(--color-text-dark, #040404);
}

.content {
  line-height: 1.8;
}
.content p {
  margin-bottom: 1.25rem;
}
.content a {
  color: #B45309;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.content a:hover {
  color: #78350F;
}
.content h2, .content h3, .content h4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--color-headings, #1A1A1A);
}
.content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.content blockquote {
  border-left: 3px solid #B45309;
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--color-text-meta, #6B7280);
}
.content img {
  border-radius: 8px;
  margin: 1.5rem 0;
}
.content ul, .content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.content li {
  margin-bottom: 0.375rem;
}
.content pre {
  border-radius: 8px;
  overflow-x: auto;
}
.content code {
  font-size: 0.875em;
}

html {
  scroll-behavior: smooth;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #B45309;
  outline-offset: 2px;
  border-radius: 4px;
}

.list-header {
  margin-bottom: 2rem;
}
.list-header h1 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.list-header p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-meta, #6B7280);
  max-width: 640px;
}

.summary-card__image {
  position: relative;
  overflow: hidden;
}
.summary-card__image img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.summary-card:hover .summary-card__image img {
  transform: scale(1.05);
}

.article-header {
  margin-bottom: 2rem;
}
.article-header h1 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
}

.featured-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.featured-image img {
  width: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .summary-card--blog .summary-card__link {
    flex-direction: column;
  }
  .summary-card--blog .summary-card__image {
    width: 100%;
    aspect-ratio: 16/9;
  }
  .sidebar {
    margin-top: 2rem;
  }
  .sidebar__inner {
    position: static;
  }
}
.home-hero__eyebrow {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #B45309;
  border: 1px solid rgba(180, 83, 9, 0.25);
  border-radius: 999px;
  margin-bottom: 1rem;
  background: rgba(180, 83, 9, 0.04);
}

.home-hero__eyebrow + .home-hero__title {
  margin-top: 0;
}

.home-sections {
  padding: 1rem 0 5rem;
  position: relative;
  z-index: 1;
}
.home-sections__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 767px) {
  .home-sections__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.home-section-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #2D1B0E;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-section-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(45, 27, 14, 0.25);
  text-decoration: none;
  color: #fff;
}
.home-section-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-section-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-section-card:hover .home-section-card__bg img {
  transform: scale(1.08);
}
.home-section-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(45, 27, 14, 0.1) 0%, rgba(45, 27, 14, 0.75) 70%, rgba(45, 27, 14, 0.9) 100%);
}
.home-section-card__body {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
}
.home-section-card__title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.375rem;
  font-weight: 600;
  margin: 0 0 0.375rem;
  line-height: 1.25;
  color: #fff;
}
.home-section-card__desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1rem;
  max-width: 28ch;
  font-weight: 400;
}
.home-section-card__action {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #D97706;
  transition: gap 0.3s ease;
}
.home-section-card__action::after {
  content: "→";
  transition: transform 0.3s ease;
}
.home-section-card:hover .home-section-card__action {
  gap: 0.625rem;
}
.home-section-card:hover .home-section-card__action::after {
  transform: translateX(2px);
}

.home-section-card--academy,
.home-section-card--blog {
  min-height: 200px;
}
.home-section-card--academy .home-section-card__title,
.home-section-card--blog .home-section-card__title {
  font-size: 1.5rem;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

.home-body {
  padding: 2rem 0 1rem;
}

.home-body__content {
  max-width: 680px;
}
.home-body__content > p {
  font-size: 1.0625rem;
  line-height: 1.85;
  padding: 1.5rem 0;
}
.home-body__content > p:first-of-type {
  padding-top: 0;
}
.home-body__content > p:last-child {
  padding-bottom: 0;
}

footer .social-icons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
footer .social-icons li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(180, 83, 9, 0.06);
  color: #6B7280;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
footer .social-icons li a:hover {
  background: rgba(180, 83, 9, 0.12);
  color: #B45309;
  transform: translateY(-2px);
}