/*
 * xhj-tokens.css — B2 前台共用底層（設計語彙 + 按鈕 + 基礎排版）。
 * 色票/字體對齊現有站 .xh4 設計系統，但本檔全程 position: static，
 * 不含 fixed/absolute/sticky、100vw、負 margin（驗收會 grep）。
 * 令牌 scope 在 .xhj，避免污染母主題全域。
 */

.xhj {
	--ink: #2b2420;
	--ink-soft: #5d5247;
	--cream: #fbf7f0;
	--sand: #f4ecdd;
	--paper: #fffdf9;
	--petrol: #1c6b6b;
	--petrol-d: #155252;
	--gold: #d99a3c;
	--gold-d: #c0832a;
	--coral: #e2724e;
	--coral-d: #cf5f3c;
	--green: #06c755;
	--line-c: #dfd6c6;
	--maxw: 960px;
	--r: 18px;
	--shadow: 0 14px 40px rgba(60, 40, 25, .10);

	position: static;
	color: var(--ink);
	line-height: 1.85;
	font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
	max-width: var(--maxw);
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.xhj * {
	box-sizing: border-box;
}

.xhj img {
	max-width: 100%;
	height: auto;
	display: block;
}

.xhj a {
	color: var(--petrol);
}

.xhj .xhj-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: .82rem;
	letter-spacing: .14em;
	font-weight: 700;
	color: var(--petrol);
	text-transform: uppercase;
	margin: 0 0 6px;
}

.xhj .xhj-title {
	font-size: clamp(1.6rem, 3.6vw, 2.4rem);
	line-height: 1.3;
	margin: .2em 0 .35em;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--ink);
}

.xhj .xhj-lead {
	font-size: 1.05rem;
	color: var(--ink-soft);
	max-width: 62ch;
	margin: 0 0 1em;
}

.xhj .xhj-h2 {
	font-size: clamp(1.3rem, 2.6vw, 1.7rem);
	font-weight: 800;
	color: var(--ink);
	margin: 1.6em 0 .5em;
}

.xhj .xhj-h3 {
	font-size: 1.12rem;
	font-weight: 700;
	color: var(--ink);
	margin: 1em 0 .4em;
}

/* 按鈕：非浮動、不過大，圓角膠囊，對齊 .xh4 .btn 尺度 */
.xhj .xhj-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 40px;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	transition: filter .15s ease, background .15s ease;
}

.xhj .xhj-btn--coral { background: var(--coral); color: #fff; }
.xhj .xhj-btn--coral:hover { background: var(--coral-d); }
.xhj .xhj-btn--dark { background: var(--petrol); color: #fff; }
.xhj .xhj-btn--dark:hover { background: var(--petrol-d); }
.xhj .xhj-btn--line { background: var(--green); color: #fff; }
.xhj .xhj-btn--line:hover { filter: brightness(.95); }
.xhj .xhj-btn--gold { background: var(--gold); color: #3a2c12; }
.xhj .xhj-btn--gold:hover { background: var(--gold-d); }

/* CTA 區：橫向排列、可換行、置左，非浮動 */
.xhj .xhj-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 2em 0 .5em;
}
