/* ============================================
   Reset & 基礎排版
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* 全站背景：薄荷綠→黃綠漸層，對應 Figma 各頁面本身的 40% 透明度線性漸層填色。
   直接放在 body 上，不用額外包一層 div，這樣就一定會延伸到頁面最底部，
   KV（有自己的熱顯像背景）跟 Footer（白底）疊在上面剛好蓋掉不需要漸層的區域。 */
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: linear-gradient(135deg, #d3efed 0%, #eaf1c9 55%, #f6f2ab 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 保留 class 供舊標記使用，不再需要額外上色 */
.gradient-wash { background: none; }

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

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

button { font: inherit; cursor: pointer; border: none; background: none; }

ul { margin: 0; padding: 0; list-style: none; }

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

.section-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1281px) {
  .section-inner { padding: 0; }
}

.h2-title {
  display: flex;
  align-items: stretch;
  gap: 36px;
  white-space: nowrap; /* 標題永遠維持一行，不會因為旁邊的內容擠壓而換行 */
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-h1);
  color: var(--color-text);
  letter-spacing: 0.05em;
}

@media (max-width: 720px) {
  .h2-title {
    gap: 28px;
    font-size: 32px;
    letter-spacing: 0.04em;
  }
}

.h2-title::before {
  content: "";
  display: block;
  flex: none;
  width: 8px;
  /* 高度跟著文字行高走滿，不是固定值；來源是 Figma 那條 Line 102 漸層線旋轉90度做出來的效果 */
  align-self: stretch;
  background: linear-gradient(180deg, #99cfab 18%, #fff000 100%);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  background: var(--color-white);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-cta);
  transition: transform 0.15s ease;
}
.btn-cta:hover { transform: translateY(-2px); }

.btn-report {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 13px 25px;
  border-radius: var(--radius-pill);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-report:hover { background: var(--color-primary); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
