/* V163：保留 V160 原始版型，只做低調精品精修與操作穩定性改善。 */
:root {
  --v163-paper: #fcfaf6;
  --v163-ink: #302a26;
  --v163-gold: #a98658;
  --v163-line: rgba(102, 78, 52, .14);
  --v163-shadow: 0 14px 38px rgba(65, 48, 32, .09);
}

html { scroll-behavior: smooth; }
body {
  color: var(--v163-ink);
  background: var(--v163-paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.site-header,
header {
  box-shadow: 0 1px 0 var(--v163-line), 0 8px 26px rgba(55, 40, 25, .05);
}

.card,
.form-box,
.ci,
.plan-card,
.service-card {
  border-color: var(--v163-line);
  box-shadow: var(--v163-shadow);
}

.btn {
  min-height: 46px;
  border-radius: 999px;
  letter-spacing: .035em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(169, 134, 88, .34);
  outline-offset: 3px;
}

.sec-title,
.page-hero h1 { letter-spacing: .045em; }
.sec-sub { line-height: 1.9; }

.consent-row {
  margin-top: 4px;
  padding: 12px 14px;
  border: 1px solid var(--v163-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .58);
  font-size: 14px;
  line-height: 1.7;
}
.consent-row label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.consent-row input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.consent-row a { color: #755a3d; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 767px) {
  .btn { min-height: 48px; }
  .sec-title,
  .page-hero h1 { letter-spacing: .025em; }
  .form-box { border-radius: 18px; }
}

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

/* V164：永恆生命純文字識別。保留無圖像 LOGO 的精品感，避免沿用舊品牌圖檔。 */
.nav-brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  line-height: 1;
  text-decoration: none;
}
.nav-brand-wordmark span {
  color: #fff;
  font-family: "Noto Serif TC", serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .16em;
  text-shadow: 0 1px 8px rgba(0,0,0,.32);
  white-space: nowrap;
}
.nav-brand-wordmark small {
  color: rgba(255,255,255,.78);
  font-family: "Cormorant Garamond", serif;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .38em;
  white-space: nowrap;
}
.nav.scrolled .nav-brand-wordmark span { color: var(--ink); text-shadow: none; }
.nav.scrolled .nav-brand-wordmark small { color: var(--gold-primary); }
@media(max-width:1100px){
  .nav-brand-wordmark{display:inline-flex!important}
}
@media(max-width:420px){
  .nav-brand-wordmark span{font-size:18px;letter-spacing:.12em}
  .nav-brand-wordmark small{font-size:7px;letter-spacing:.3em}
}
