:root {
  --墨色: #2d2b25;
  --岩灰: #69675c;
  --苔綠: #6f705b;
  --茶褐: #9b7a55;
  --陶土: #c9a177;
  --米紙: #f5f0e7;
  --霧白: #fbf8f0;
  --細線: rgba(45, 43, 37, 0.16);
  --陰影: 0 24px 70px rgba(45, 43, 37, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--墨色);
  background:
    radial-gradient(circle at top left, rgba(201, 161, 119, 0.22), transparent 34rem),
    linear-gradient(135deg, var(--霧白), var(--米紙));
  font-family: "Noto Serif TC", "Microsoft JhengHei", serif;
  line-height: 1.8;
}

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

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

.頁首 {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--細線);
  background: rgba(251, 248, 240, 0.86);
  backdrop-filter: blur(16px);
}

.導覽列 {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.標誌 {
  font-weight: 700;
  letter-spacing: 0;
}

.導覽連結 {
  display: flex;
  gap: 18px;
  color: var(--岩灰);
  font-size: 15px;
}

.首頁區塊 {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: 56px;
}

.首頁文字 h1,
.區塊標題 h2 {
  margin: 0;
  line-height: 1.25;
  font-weight: 700;
}

.首頁文字 h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 82px);
}

.首頁文字 p {
  max-width: 680px;
  color: var(--岩灰);
  font-size: 18px;
}

.小標 {
  margin: 0 0 14px;
  color: var(--茶褐);
  font-size: 15px;
  font-weight: 700;
}

.主要操作 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.主按鈕,
.次按鈕 {
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.主按鈕 {
  color: var(--霧白);
  background: var(--墨色);
  box-shadow: 0 10px 22px rgba(45, 43, 37, 0.2);
}

.次按鈕 {
  color: var(--墨色);
  background: rgba(251, 248, 240, 0.56);
  border-color: var(--細線);
}

.首頁視覺 {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--細線);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(45, 43, 37, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(45, 43, 37, 0.05) 1px, transparent 1px),
    #eee5d6;
  background-size: 42px 42px;
  box-shadow: var(--陰影);
}

.首頁視覺::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(251, 248, 240, 0.28), rgba(105, 103, 92, 0.26));
}

.月影 {
  position: absolute;
  top: 52px;
  right: 54px;
  width: 148px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(245, 240, 231, 0.86);
  box-shadow: inset -18px -14px 0 rgba(201, 161, 119, 0.16);
}

.紙屏 {
  position: absolute;
  left: 44px;
  bottom: 92px;
  display: grid;
  grid-template-columns: repeat(3, 58px);
  gap: 8px;
  transform: skewY(-4deg);
}

.紙屏 span {
  height: 290px;
  border: 1px solid rgba(45, 43, 37, 0.18);
  background: rgba(251, 248, 240, 0.55);
}

.陶器 {
  position: absolute;
  right: 90px;
  bottom: 80px;
  width: 150px;
  height: 180px;
  border-radius: 48% 52% 34% 34%;
  background: linear-gradient(145deg, var(--茶褐), var(--陶土));
  box-shadow: inset -18px 0 0 rgba(45, 43, 37, 0.12);
}

.陶器::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 36px;
  width: 78px;
  height: 28px;
  border-radius: 50%;
  background: #806648;
}

.竹簡 {
  position: absolute;
  right: 44px;
  bottom: 272px;
  display: flex;
  gap: 8px;
}

.竹簡 span {
  width: 42px;
  height: 126px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #4f422f;
  background: #d2b180;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(45, 43, 37, 0.16);
}

.內容區塊 {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.淡色區塊 {
  width: 100%;
  padding-inline: max(16px, calc((100% - 1120px) / 2));
  background: rgba(238, 229, 214, 0.62);
}

.區塊標題 {
  max-width: 720px;
  margin-bottom: 34px;
}

.區塊標題 h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.資訊格 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.資訊卡,
.互動面板,
.流程項目 {
  border: 1px solid var(--細線);
  border-radius: 8px;
  background: rgba(251, 248, 240, 0.7);
}

.資訊卡 {
  padding: 24px;
}

.卡片符號 {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--霧白);
  background: var(--苔綠);
  font-weight: 700;
}

.資訊卡 h3,
.流程項目 h3 {
  margin: 18px 0 8px;
  font-size: 22px;
}

.資訊卡 p,
.流程項目 p,
.寶典文字 p,
.互動面板 span {
  color: var(--岩灰);
}

.寶典版面 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: start;
}

.寶典文字 h3 {
  margin: 0 0 12px;
  font-size: 30px;
}

.寶典文字 ul {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.寶典文字 li {
  padding: 14px 16px;
  border-left: 4px solid var(--茶褐);
  background: rgba(251, 248, 240, 0.52);
}

.互動面板 {
  padding: 24px;
  box-shadow: var(--陰影);
}

.面板頂端,
.數據列 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.面板頂端 {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--細線);
  color: var(--岩灰);
}

.面板頂端 strong {
  color: var(--墨色);
}

.代理人盒 {
  min-height: 160px;
  margin: 22px 0;
  padding: 22px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(111, 112, 91, 0.13), rgba(201, 161, 119, 0.18)),
    var(--霧白);
}

.代理人盒 p {
  margin: 0;
  color: var(--茶褐);
  font-weight: 700;
}

.代理人盒 h3 {
  margin: 8px 0 6px;
  font-size: 34px;
}

.數據列 {
  margin-bottom: 18px;
}

.數據列 div {
  flex: 1;
  padding: 14px;
  border: 1px solid var(--細線);
  border-radius: 8px;
  background: rgba(251, 248, 240, 0.58);
}

.數據列 small {
  display: block;
  color: var(--岩灰);
}

.數據列 strong {
  font-size: 24px;
}

.滿版按鈕 {
  width: 100%;
}

.流程列表 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.流程項目 {
  padding: 22px;
}

.流程項目 span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--米紙);
  color: var(--茶褐);
  font-weight: 700;
}

.頁尾 {
  padding: 34px 16px;
  border-top: 1px solid var(--細線);
  color: var(--岩灰);
  text-align: center;
}

@media (max-width: 920px) {
  .導覽列,
  .首頁區塊 {
    width: min(720px, calc(100% - 28px));
  }

  .導覽列,
  .導覽連結 {
    align-items: flex-start;
    flex-direction: column;
  }

  .導覽列 {
    padding: 16px 0;
  }

  .首頁區塊,
  .寶典版面 {
    grid-template-columns: 1fr;
  }

  .首頁視覺 {
    min-height: 430px;
  }

  .資訊格,
  .流程列表 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .首頁區塊 {
    padding-top: 48px;
  }

  .首頁文字 h1 {
    font-size: 40px;
  }

  .首頁文字 p {
    font-size: 16px;
  }

  .主要操作,
  .寶典文字 ul,
  .資訊格,
  .流程列表,
  .數據列 {
    grid-template-columns: 1fr;
  }

  .主要操作,
  .數據列 {
    display: grid;
  }

  .主按鈕,
  .次按鈕 {
    width: 100%;
  }

  .首頁視覺 {
    min-height: 360px;
  }

  .月影 {
    width: 112px;
  }

  .紙屏 {
    left: 22px;
    bottom: 56px;
    grid-template-columns: repeat(3, 42px);
  }

  .紙屏 span {
    height: 220px;
  }

  .陶器 {
    right: 48px;
    bottom: 48px;
    width: 116px;
    height: 144px;
  }

  .竹簡 {
    right: 22px;
    bottom: 214px;
  }

  .竹簡 span {
    width: 34px;
    height: 104px;
  }
}
