﻿:root {
  --deep: #0d3a43;
  --deep-2: #123f48;
  --gold: #b88943;
  --gold-strong: #c69b57;
  --gold-soft: #ead5ad;
  --paper: #f7f0e2;
  --paper-2: #f4ead8;
  --paper-3: #fffaf1;
  --ink: #1c2628;
  --ink-soft: #5e5b55;
  --line: rgba(181, 140, 79, 0.42);
  --line-soft: rgba(193, 165, 126, 0.2);
  --shadow: 0 20px 50px rgba(63, 43, 19, 0.12);
  --shadow-soft: 0 10px 24px rgba(63, 43, 19, 0.08);
  --max-width: 1600px;
  --content-width: 1480px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 32%),
    linear-gradient(180deg, #fbf6eb 0%, #f6efdf 48%, #f4ead8 100%);
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(170, 133, 83, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170, 133, 83, 0.08) 1px, transparent 1px);
  background-size: 120px 120px;
}

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

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

.site-topbar {
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.06), transparent 24%),
    linear-gradient(180deg, #0b333b, #0d3a43 58%, #103f48);
  color: #f7eedb;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

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

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.brand-seal,
.footer-seal,
.review-wreath {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 2px solid rgba(233, 208, 159, 0.9);
  color: #efd8ad;
  font-size: 22px;
  font-weight: 700;
}

.brand-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 12px 10px;
  font-size: 17px;
  color: #f2e4c1;
}

.main-nav a.is-active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #d6a45a, transparent);
}

.gold-outline-button,
.gold-solid-button,
.deep-button,
.light-button,
.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 17px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.gold-outline-button {
  color: #f7ebc9;
  border: 1px solid rgba(228, 199, 148, 0.8);
  background: rgba(255, 255, 255, 0.04);
}

.gold-solid-button,
.gold-button {
  color: #fff7e5;
  background: linear-gradient(135deg, #b9853f, #c89a55 58%, #a57131);
  box-shadow: 0 14px 26px rgba(148, 98, 25, 0.22);
}

.deep-button {
  color: #fefaf1;
  background: linear-gradient(180deg, #0f4350, #0b3740);
  box-shadow: 0 14px 30px rgba(12, 55, 64, 0.2);
}

.light-button {
  color: #8e672d;
  background: rgba(255, 252, 246, 0.86);
  border: 1px solid rgba(186, 142, 77, 0.45);
}

.gold-outline-button:hover,
.gold-solid-button:hover,
.deep-button:hover,
.light-button:hover,
.gold-button:hover,
.paper-card a:hover,
.reader-doc-item:hover,
.reader-pagination a:hover {
  transform: translateY(-2px);
}

.home-main {
  width: min(100%, 1920px);
  margin: 0 auto;
}

.hero-stage {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(251, 243, 227, 0.95), rgba(247, 238, 222, 0.9)),
    #f8efd9;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42), transparent 35%),
    radial-gradient(circle at 72% 34%, rgba(181, 140, 79, 0.12), transparent 22%);
  pointer-events: none;
}

.hero-inner {
  width: min(calc(100% - 70px), var(--content-width));
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 60px 0;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(64px, 5.8vw, 96px);
  line-height: 1.08;
  color: #102f38;
}

.hero-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 2.4vw, 44px);
  color: #8f6326;
  font-weight: 600;
}

.hero-copy p {
  max-width: 760px;
  margin: 0;
  font-size: 28px;
  line-height: 1.9;
  color: #4f4a42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 44px;
}

.hero-visual-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.hero-visual-panel img {
  width: min(100%, 860px);
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(71, 45, 18, 0.12));
}

.materials-panel,
.dashboard-row,
.feature-strip {
  width: min(calc(100% - 70px), var(--content-width));
  margin: 0 auto;
}

.materials-panel {
  padding: 42px 0 24px;
}

.ornamental-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 30px;
}

.ornamental-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(175, 128, 61, 0.48), transparent);
}

.ornamental-copy {
  text-align: center;
}

.panel-kicker {
  margin: 0 0 4px;
  color: #9a7238;
  font-size: 16px;
  letter-spacing: 0.12em;
}

.ornamental-copy h3 {
  margin: 0;
  font-size: 58px;
  color: #8f6326;
}

.ornamental-copy h3 span {
  font-size: 34px;
}

.panel-subtitle {
  margin: 10px 0 0;
  font-size: 22px;
  color: #6f685e;
}

.materials-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.paper-card {
  position: relative;
  min-height: 410px;
  padding: 34px 26px 28px;
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(250, 244, 232, 0.94)),
    #fffdf8;
  border: 1px solid rgba(199, 162, 111, 0.56);
  box-shadow: var(--shadow);
}

.paper-card::before,
.paper-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(205, 177, 132, 0.38);
  pointer-events: none;
}

.paper-card::after {
  inset: 22px;
  border-color: rgba(220, 195, 155, 0.24);
}

.paper-index {
  display: block;
  margin-bottom: 26px;
  font-size: 34px;
  color: #2b2a28;
}

.paper-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fef6e5;
  background: linear-gradient(180deg, #123f48, #0b3740);
  font-size: 30px;
  box-shadow: 0 14px 26px rgba(12, 55, 64, 0.18);
}

.paper-icon.gold {
  background: linear-gradient(180deg, #c69956, #a9742f);
}

.paper-icon.deep {
  background: linear-gradient(180deg, #0f4350, #0a3138);
}

.paper-card h4 {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.35;
  text-align: center;
}

.paper-card p {
  margin: 0;
  font-size: 21px;
  line-height: 1.85;
  color: var(--ink-soft);
  text-align: center;
}

.paper-card a {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  text-align: center;
  color: #8f6326;
  font-size: 20px;
}

.dashboard-row {
  display: grid;
  grid-template-columns: 0.95fr 1.55fr;
  gap: 24px;
  padding: 18px 0 30px;
}

.download-board,
.preview-board,
.feature-strip,
.reader-side,
.reader-article {
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(248, 240, 225, 0.94));
  border: 1px solid rgba(199, 162, 111, 0.4);
  box-shadow: var(--shadow-soft);
}

.download-board,
.preview-board {
  padding: 24px 24px 20px;
}

.board-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(191, 154, 101, 0.22);
}

.board-heading h3 {
  margin: 0 0 6px;
  font-size: 46px;
}

.board-heading p {
  margin: 0;
  font-size: 19px;
  color: #6b665f;
}

.download-table {
  display: grid;
  gap: 10px;
  padding-top: 18px;
}

.download-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(192, 160, 118, 0.18);
}

.file-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fffef9;
  font-size: 15px;
}

.file-mark.pdf { background: #c75347; }
.file-mark.doc { background: #5c86d6; }
.file-mark.xls { background: #43885b; }
.file-mark.ppt { background: #df9152; }
.file-mark.zip { background: #7b66d9; }

.download-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.download-meta strong {
  font-size: 20px;
  font-weight: 600;
}

.download-meta span,
.download-state {
  font-size: 17px;
  color: #6d655a;
}

.board-footer {
  padding-top: 20px;
  text-align: center;
}

.compact {
  min-height: 48px;
  padding: 0 24px;
}

.preview-stage {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 0;
  margin-top: 18px;
  border: 1px solid rgba(191, 154, 101, 0.22);
  background: #fffef8;
}

.preview-sidebar {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px 14px;
  background: linear-gradient(180deg, #133f48, #0b3740);
}

.sidebar-item {
  display: block;
  padding: 12px 14px;
  color: rgba(250, 241, 220, 0.78);
  border-radius: 10px;
  font-size: 16px;
}

.sidebar-item.is-active {
  color: #fff6e3;
  background: rgba(255, 255, 255, 0.08);
}

.preview-main {
  padding: 18px;
}

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

.shot-large {
  grid-column: span 2;
}

.preview-shot {
  background: #fffdf8;
  border: 1px solid rgba(191, 154, 101, 0.18);
  overflow: hidden;
}

.preview-shot img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.preview-shot figcaption {
  padding: 10px 14px;
  font-size: 17px;
  color: #6b665f;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-bottom: 34px;
  padding: 18px 0;
}

.feature-unit {
  display: flex;
  gap: 16px;
  padding: 16px 24px;
  border-right: 1px solid rgba(194, 156, 105, 0.22);
}

.feature-unit:last-child {
  border-right: 0;
}

.feature-icon {
  flex: none;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 22px;
  color: #fef6e5;
  background: linear-gradient(180deg, #0f4350, #0b3740);
}

.feature-icon.gold {
  background: linear-gradient(180deg, #c69956, #a9742f);
}

.feature-unit h4 {
  margin: 0 0 8px;
  font-size: 24px;
}

.feature-unit p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.site-footer {
  padding: 32px 0 18px;
  color: #f2e4c1;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.06), transparent 24%),
    linear-gradient(180deg, #0b333b, #0d3a43 56%, #123f48);
}

.footer-shell {
  width: min(calc(100% - 70px), var(--content-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-slogan {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-slogan p,
.footer-contact p,
.footer-copy,
.review-lockup p {
  margin: 0;
}

.footer-slogan strong {
  display: block;
  margin-top: 6px;
  font-size: 30px;
}

.footer-contact {
  display: grid;
  gap: 10px;
  font-size: 18px;
}

.qr-frame {
  width: 156px;
  height: 156px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(227, 196, 145, 0.78);
  color: #f9ebc8;
  background: rgba(255, 255, 255, 0.05);
}

.qr-frame span {
  font-size: 18px;
}

.qr-frame strong {
  font-size: 24px;
}

.footer-copy {
  width: min(calc(100% - 70px), var(--content-width));
  margin: 16px auto 0;
  text-align: center;
  font-size: 17px;
  color: rgba(243, 230, 203, 0.78);
}

.reader-page {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 32%),
    linear-gradient(180deg, #fbf7ec 0%, #f5ecd9 100%);
}

.topbar-shell-reader {
  min-height: 94px;
}

.review-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-lockup strong {
  display: block;
  font-size: 24px;
}

.review-lockup p {
  margin-top: 4px;
  font-size: 16px;
  color: rgba(245, 230, 200, 0.82);
}

.reader-header-actions {
  display: flex;
  gap: 16px;
}

.reader-layout {
  width: min(calc(100% - 34px), 1880px);
  margin: 18px auto 28px;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr) 320px;
  gap: 0;
  border: 1px solid rgba(189, 152, 101, 0.28);
}

.reader-side,
.reader-article-wrap {
  min-height: calc(100vh - 170px);
}

.reader-side {
  position: relative;
  padding: 24px 20px;
}

.reader-side-left {
  border-right: 1px solid rgba(189, 152, 101, 0.28);
}

.reader-side-right {
  border-left: 1px solid rgba(189, 152, 101, 0.28);
}

.reader-side-head {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(189, 152, 101, 0.22);
}

.reader-side-head h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.reader-side-head p {
  margin: 0;
  font-size: 18px;
  color: #6f675b;
}

.reader-doc-list,
.reader-outline-list {
  display: grid;
  gap: 12px;
  padding-top: 18px;
}

.reader-doc-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.22);
}

.reader-doc-item.is-active {
  color: #f7edd8;
  background: linear-gradient(180deg, #123f48, #0b3740);
  border-color: rgba(185, 139, 67, 0.48);
  box-shadow: 0 10px 24px rgba(8, 42, 49, 0.18);
}

.reader-doc-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 21px;
  line-height: 1.45;
}

.reader-doc-item span {
  font-size: 17px;
  color: inherit;
}

.doc-order {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(22, 22, 22, 0.12);
  font-size: 20px;
}

.reader-side-illustration {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 180px;
  opacity: 0.22;
  background:
    radial-gradient(circle at 70% 25%, rgba(186, 145, 81, 0.2), transparent 18%),
    linear-gradient(180deg, transparent 10%, rgba(181, 140, 79, 0.18)),
    url("./assets/hero-visual.png") center bottom / cover no-repeat;
  filter: sepia(0.7);
}

.reader-article-wrap {
  background: linear-gradient(180deg, rgba(255, 254, 249, 0.98), rgba(248, 240, 225, 0.94));
}

.reader-article {
  min-height: 100%;
  padding: 32px 46px 34px;
}

.reader-article-header {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(189, 152, 101, 0.22);
}

.reader-article-header h1 {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(42px, 3.4vw, 62px);
  line-height: 1.2;
}

.reader-meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 34px;
  font-size: 18px;
  color: #665f55;
}

.reader-abstract-card {
  margin: 24px 0 22px;
  padding: 24px 28px;
  background: linear-gradient(180deg, rgba(251, 247, 239, 0.96), rgba(248, 239, 224, 0.92));
  border: 1px solid rgba(192, 154, 103, 0.38);
  box-shadow: inset 0 0 0 3px rgba(221, 193, 150, 0.14);
}

.reader-abstract-card h2 {
  margin: 0 0 14px;
  font-size: 32px;
  color: #8b6328;
}

.reader-abstract-card p,
.reader-section p {
  margin: 0;
  font-size: 20px;
  line-height: 2;
  color: #4e4941;
}

.reader-sections {
  display: grid;
  gap: 20px;
}

.reader-section {
  scroll-margin-top: 120px;
}

.reader-section h3 {
  margin: 0 0 12px;
  font-size: 34px;
  color: #103742;
}

.reader-section h4 {
  margin: 0 0 12px;
  font-size: 28px;
  color: #0f3b45;
}

.reader-visual-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.reader-visual-strip img {
  height: 132px;
  object-fit: cover;
  border: 1px solid rgba(192, 154, 103, 0.2);
}

.reader-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(189, 152, 101, 0.22);
  font-size: 19px;
  color: #675f55;
}

.reader-outline-list a {
  display: block;
  padding: 10px 12px;
  font-size: 18px;
  color: #4e4b45;
  border-left: 3px solid transparent;
}

.reader-outline-list a.is-active {
  color: #0d3a43;
  background: rgba(18, 63, 72, 0.06);
  border-left-color: #0d3a43;
}

@media (max-width: 1560px) {
  .materials-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .dashboard-row,
  .feature-strip,
  .footer-shell,
  .reader-layout {
    grid-template-columns: 1fr;
  }

  .preview-stage {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-unit {
    border-right: 0;
    border-bottom: 1px solid rgba(194, 156, 105, 0.22);
  }
}

@media (max-width: 1100px) {
  .topbar-shell,
  .hero-inner,
  .materials-panel,
  .dashboard-row,
  .feature-strip,
  .footer-shell,
  .footer-copy {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .topbar-shell,
  .hero-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav,
  .reader-header-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-copy {
    padding-bottom: 10px;
  }

  .hero-copy h1 {
    font-size: clamp(46px, 9vw, 76px);
  }

  .hero-copy h2 {
    font-size: clamp(24px, 4vw, 34px);
  }

  .hero-copy p {
    font-size: 21px;
  }

  .materials-card-grid,
  .preview-screenshot-grid,
  .reader-visual-strip {
    grid-template-columns: 1fr;
  }

  .shot-large {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .brand-text {
    font-size: 18px;
  }

  .hero-actions,
  .reader-header-actions {
    flex-direction: column;
  }

  .main-nav {
    gap: 8px 14px;
  }

  .gold-outline-button,
  .gold-solid-button,
  .deep-button,
  .light-button,
  .gold-button {
    width: 100%;
  }

  .ornamental-heading {
    grid-template-columns: 1fr;
  }

  .ornamental-line {
    display: none;
  }

  .reader-article {
    padding: 24px 18px 28px;
  }

  .reader-article-header h1 {
    text-align: left;
    font-size: 34px;
  }
}
