/*
 * Ez-Rebar 形象官網
 * 色票沿用桌面程式 app.css：navy-deep / navy / gray / bronze。紅色只留給錯誤訊息。
 * 版面：全站靠左對齊；首屏的照片橫幅是唯一的視覺重點，其他區段保持安靜。
 */
:root {
  --navy-deep: #0e1a40;
  --navy: #222f5b;
  --gray: #5d5d5d;
  --bronze: #946b2d;
  --bronze-light: #dcbb82;
  --bronze-soft: #f3ebdd;
  --paper: #ffffff;
  --tint: #eef0f5;
  --line: #d4d8e2;
  --danger: #c0392b;

  --font-zh: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif;
  --font-num: "Barlow Condensed", "Arial Narrow", "Noto Sans TC", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --band: clamp(64px, 9vw, 120px);
  --overlap: clamp(48px, 7vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy-deep);
  font-family: var(--font-zh);
  font-size: 17px;
  line-height: 1.8;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy-deep); color: #fff; padding: 10px 16px; z-index: 50; }
.skip:focus { left: 0; }

h1 {
  font-weight: 900;
  font-size: clamp(30px, 9.4vw, 92px);
  line-height: 1.14;
  letter-spacing: .01em;
}
h2 {
  font-weight: 900;
  font-size: clamp(27px, 3.5vw, 44px);
  line-height: 1.3;
  letter-spacing: .01em;
}
h3 { font-weight: 700; font-size: 20px; line-height: 1.5; }
h1, h2, .photo-band__text p { text-wrap: balance; }
.nb { display: inline-block; }
/* hidden must win over component display rules (e.g. .btn), or JS-toggled elements would still show */
[hidden] { display: none !important; }

/* ── 按鈕 ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  font: 700 17px/1 var(--font-zh);
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--bronze); color: #fff; }
.btn--primary:hover { background: #7d5a25; }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* ── 頁首 ─────────────────────────────────────────────── */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-head__row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 26px/1 var(--font-num); letter-spacing: .02em; }
.brand img { border-radius: 3px; border: 1px solid var(--line); }
.site-nav { display: flex; gap: 28px; margin-left: auto; font-size: 16px; font-weight: 500; }
.site-nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
@media (max-width: 1000px) { .site-nav { gap: 18px; font-size: 15px; } .site-head__row { gap: 18px; } }
@media (max-width: 860px) { .site-nav { display: none; } }
.site-nav a:hover { border-bottom-color: var(--bronze); }

/* ── 首屏 ─────────────────────────────────────────────── */
/* 橫幅：滿版照片，左側壓深藍讓標題好讀 */
.hero__banner { position: relative; display: grid; align-items: end; min-height: clamp(420px, 68vh, 680px); background: var(--navy-deep); color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero__banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 26, 64, .9) 0%, rgba(14, 26, 64, .6) 50%, rgba(14, 26, 64, .1) 100%); }
.hero__text { position: relative; z-index: 1; padding-block: clamp(56px, 8vw, 112px) calc(clamp(40px, 6vw, 80px) + var(--overlap)); }
.hero__sub { display: grid; grid-template-columns: minmax(0, 34em) auto; gap: 24px 48px; align-items: end; margin-top: clamp(20px, 3vw, 36px); }
.hero__sub p { font-size: clamp(17px, 1.5vw, 20px); color: #e3e7f1; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-self: end; }

/* ── 實際畫面：程式輸出的最佳化視窗截圖，上緣疊進橫幅 ─────────── */
.shot__frame { max-width: 1100px; margin-inline: auto; position: relative; z-index: 2; margin-top: calc(-1 * var(--overlap)); background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--bronze); box-shadow: 0 34px 60px -34px rgba(14, 26, 64, .45); }
.shot__scroll { overflow-x: auto; }
.shot__scroll img { width: 100%; min-width: 760px; }
.shot__hint { display: none; padding: 8px 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--gray); }
.shot__info { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 80px); align-items: start; margin-top: clamp(36px, 5vw, 64px); }
.shot__info p { margin-top: 14px; color: var(--navy); max-width: 34em; }
.shot__info .shot__note { font-size: 14px; color: var(--gray); }
.shot__facts { border-top: 2px solid var(--navy-deep); }
.shot__facts div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.shot__facts dt { font-weight: 700; }
.shot__facts dd { color: var(--navy); }
.shot__facts dd b { font: 600 24px/1 var(--font-num); color: var(--navy-deep); font-variant-numeric: tabular-nums; }
html[lang="en"] .shot__facts div { grid-template-columns: 9em minmax(0, 1fr); }
@media (max-width: 980px) {
  .shot__info { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 800px) {
  .shot__hint { display: block; }
}
@media (max-width: 640px) {
  html[lang="en"] .shot__facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ── 真實輸出：裁剪表和吊牌 ───────────────────────────── */
.out__lead { margin-top: 14px; color: var(--navy); max-width: 36em; }
.out__sheet, .out__tag { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--navy-deep); }
.out__sheet { margin-top: clamp(28px, 4vw, 48px); }
.out__sheet img { width: 100%; min-width: 760px; }
.out__tag img { width: 100%; }
.out__sheet figcaption, .out__tag figcaption { padding: 10px 14px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--gray); }
.out__row { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(28px, 4vw, 48px); }
.out__row h3 { padding-bottom: 10px; }
.out__text { color: var(--navy); }
.out__note { margin-top: 12px; }
@media (max-width: 980px) { .out__row { grid-template-columns: minmax(0, 1fr); } .out__tag { max-width: 420px; } }

/* ── 照片帶 ───────────────────────────────────────────── */
.photo-band { position: relative; display: grid; align-items: end; min-height: clamp(300px, 42vw, 520px); background: var(--navy-deep); color: #fff; overflow: hidden; }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 26, 64, .86) 0%, rgba(14, 26, 64, .55) 55%, rgba(14, 26, 64, .2) 100%); }
.photo-band__text { position: relative; z-index: 1; padding-block: clamp(36px, 6vw, 72px); }
.photo-band__text p { font-weight: 900; font-size: clamp(28px, 4.6vw, 60px); line-height: 1.3; letter-spacing: .01em; }

/* ── 一般區段 ─────────────────────────────────────────── */
.band { padding-block: var(--band); }
.band--tint { background: var(--tint); }

/* ── 省料試算 ─────────────────────────────────────────── */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.calc__intro > p { margin-top: 14px; color: var(--navy); max-width: 30em; }
.calc__form { display: grid; gap: 14px; margin-top: 30px; max-width: 30em; }
.calc__form label { display: grid; grid-template-columns: minmax(0, 1fr) 200px; align-items: center; gap: 16px; font-weight: 500; }
.unit { display: flex; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; }
.unit:focus-within { border-color: var(--navy-deep); }
.unit input {
  flex: 1; min-width: 0; height: 48px; padding: 0 12px;
  border: 0; background: transparent; outline: 0;
  font: 600 22px/1 var(--font-num); color: var(--navy-deep); text-align: right; font-variant-numeric: tabular-nums;
}
.unit em { font-style: normal; font-size: 14px; color: var(--gray); padding-right: 12px; white-space: nowrap; }

.calc__result { background: var(--navy-deep); color: #fff; padding: clamp(28px, 4vw, 48px); }
.calc__label { font-size: 17px; font-weight: 500; color: #c9cfe0; }
.calc__big { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; color: var(--bronze-light); }
.calc__big span { font: 500 clamp(18px, 2vw, 26px)/1 var(--font-num); }
.calc__big b { font: 600 clamp(40px, 5vw, 64px)/1 var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: .005em; }
.calc__lines { display: grid; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); }
.calc__lines div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.calc__lines dt { color: #c9cfe0; }
.calc__lines dd b { font: 600 26px/1 var(--font-num); font-variant-numeric: tabular-nums; }
.calc__formula { margin-top: 22px; font-size: 13px; line-height: 1.7; color: #aab2c8; }
.calc__msg { margin-top: 14px; font-size: 15px; color: var(--bronze-light); }

/* ── 四個步驟 ─────────────────────────────────────────── */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(32px, 4vw, 56px); }
.steps li { counter-increment: step; position: relative; padding: 34px 28px 0 0; border-top: 2px solid var(--navy-deep); }
.steps li::before {
  content: counter(step);
  position: absolute; top: -24px; left: 0;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--navy-deep); color: #fff;
  font: 600 26px/1 var(--font-num);
}
.steps p { margin-top: 8px; color: var(--navy); font-size: 16px; line-height: 1.75; }

/* ── 功能 ─────────────────────────────────────────────── */
.features { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.features__photo { position: sticky; top: 100px; }
.features__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.features__photo figcaption { margin-top: 10px; font-size: 14px; color: var(--gray); }
.features__body h3 { margin-top: 40px; padding-bottom: 10px; border-bottom: 2px solid var(--navy-deep); }
.features__body li { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.7; color: var(--navy); }
.features__body li b { font-weight: 700; color: var(--navy-deep); }

/* ── 下載 ─────────────────────────────────────────────── */
.download { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 64px; align-items: center; }
.download p { margin-top: 12px; color: var(--navy); max-width: 34em; }
.download__action { display: grid; gap: 10px; justify-items: start; }
.download__ver { margin-top: 0; font: 500 16px/1.4 var(--font-num); letter-spacing: .02em; color: var(--gray); }



/* ── 頁尾 ─────────────────────────────────────────────── */
.site-foot { background: var(--navy-deep); color: #aab2c8; font-size: 14px; border-top: 1px solid rgba(255, 255, 255, .2); }
.site-foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 22px; }

/* ── 方案價格 ─────────────────────────────────────────── */
.plans__lead { margin-top: 14px; color: var(--navy); max-width: 36em; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(28px, 4vw, 48px); }
.plan { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--navy-deep); padding: 28px; }
#pricing { text-align: center; }
#pricing .plans__lead, #pricing .plans__note { margin-inline: auto; }
.plans.plans--two { grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; }
.plans--two .plan { text-align: left; }
.plans--two .plan .btn { align-self: center; }
.plan { border-top-color: var(--bronze); }
.plan__price { margin-top: 10px; color: var(--navy); }
.plan__price b { font: 600 52px/1 var(--font-num); color: var(--navy-deep); font-variant-numeric: tabular-nums; }
.plan__alt { min-height: 1.8em; font-size: 14px; color: var(--gray); }
.plan ul { flex: 1; margin: 18px 0 26px; border-top: 1px solid var(--line); }
.plan li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.6; color: var(--navy); }
.plan .btn { align-self: flex-start; }
.plans__note { margin-top: 24px; font-size: 14px; color: var(--gray); max-width: 52em; }
@media (max-width: 760px) { .plans.plans--two { grid-template-columns: minmax(0, 460px); } }

/* ── 頁尾連結與政策頁 ─────────────────────────────────── */
.site-foot__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-foot__links a { color: #c9cfe0; }
.policy { padding-block: clamp(40px, 6vw, 80px); max-width: 52em; }
.policy h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.2; }
html[lang="en"] .policy h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; }
.policy__date { margin-top: 8px; font-size: 14px; color: var(--gray); }
.policy ol { counter-reset: p; margin-top: 28px; }
.policy li { counter-increment: p; padding: 16px 0; border-top: 1px solid var(--line); color: var(--navy); }
.policy li b { display: block; color: var(--navy-deep); }
.policy li b::before { content: counter(p) ". "; }

/* full policy text: numbered sections with clauses, lists and tables */
.policy__lead { margin-top: 20px; padding: 14px 18px; background: var(--bronze-soft); color: var(--navy-deep); }
.policy section { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.policy h2, html[lang="en"] .policy h2 { font-size: 24px; line-height: 1.3; color: var(--navy-deep); }
.policy section p { margin-top: 10px; color: var(--navy); }
.policy section ul { margin: 10px 0 0 1.4em; list-style: disc; }
.policy section ul li { padding: 3px 0; border: 0; color: var(--navy); }
.policy .tbl { margin-top: 14px; overflow-x: auto; }
.policy table { width: 100%; border-collapse: collapse; font-size: 15px; }
.policy th, .policy td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--navy); }
.policy th { background: var(--tint); color: var(--navy-deep); }
.policy .tbd { background: #fff3cd; padding: 0 4px; }
.site-foot__links button { padding: 0; border: 0; background: none; font: inherit; color: #c9cfe0; cursor: pointer; text-decoration: underline; }

/* cookie consent banner (js/analytics.js) */
.consent { position: fixed; inset: auto 16px 16px 16px; z-index: 100; max-width: 640px; margin-inline: auto; padding: 18px 20px; background: var(--paper); color: var(--navy); border: 1px solid var(--line); border-top: 4px solid var(--bronze); box-shadow: 0 8px 28px rgba(14, 26, 64, .22); font-size: 15px; line-height: 1.5; }
.consent p { margin: 0; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.consent__actions button { padding: 9px 18px; border: 1px solid var(--navy-deep); background: var(--paper); color: var(--navy-deep); font: 600 15px/1 inherit; cursor: pointer; }
.consent__actions .consent__accept { background: var(--bronze); border-color: var(--bronze); color: #fff; }

/* ── Machines ─────────────────────────────────────────── */
.mach { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.mach__lead { margin-top: 14px; color: var(--navy); max-width: 30em; }
.mach__list { margin-top: 28px; border-top: 2px solid var(--navy-deep); }
.mach__list li { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.65; color: var(--navy); }
.mach__list li b { font-weight: 700; color: var(--navy-deep); }
.mach__figs { display: grid; gap: 24px; }
.mach__fig { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--bronze); }
.mach__img { display: block; width: 100%; height: auto; }
.mach__svg { display: block; width: 100%; height: auto; padding: 14px 14px 4px; }
.mach__fig figcaption { padding: 10px 14px 14px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--gray); }
.mach__sec { fill: var(--tint); stroke: var(--navy); stroke-width: 2; }
.mach__bar { fill: var(--bronze-soft); stroke: var(--bronze); stroke-width: 2; }
.mach__stop { fill: var(--navy-deep); }
.mach__brace { fill: none; stroke: var(--bronze); stroke-width: 2.5; }
.mach__lane { font-weight: 700; fill: var(--navy-deep); font-size: 19px; }
.mach__small { fill: var(--gray); font-size: 16px; }
.mach__txt { fill: var(--navy-deep); font-weight: 600; font-size: 18px; }
.mach__label { fill: var(--navy-deep); font-weight: 600; font-size: 18px; }
.pf__blade { fill: var(--navy-deep); }
.pf__dev { fill: var(--paper); stroke: var(--bronze); stroke-width: 2.5; }
.pf__arrow { fill: none; stroke: var(--bronze); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.pf__paddle { fill: none; stroke: var(--bronze); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.pf__pivot { fill: var(--navy-deep); }
.pf__dev-label { font-size: 15px; }
.pf__bartxt { fill: var(--navy-deep); font-weight: 600; font-size: 14px; }
.rl__roller { fill: var(--paper); stroke: var(--navy); stroke-width: 2.5; }
.rl__hub { fill: var(--navy); }
.rl__frame { fill: none; stroke: var(--line); stroke-width: 3; }
.rl__bed { fill: none; stroke: var(--navy); stroke-width: 3; }
.mach__guide { fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-dasharray: 4 4; opacity: .5; }
.rl__cross { fill: none; stroke: var(--danger); stroke-width: 3.5; stroke-linecap: round; }
.rl__bad { fill: var(--danger); font-weight: 600; font-size: 18px; }
.rl__barbad { fill: #f5dad6; stroke: var(--danger); stroke-width: 2; }
.rt { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.rt .mach__body { order: 2; }
.rt__bender { fill: var(--navy); }
.rt__name { fill: #fff; font-weight: 700; font-size: 18px; }
.rt__link { fill: none; stroke: var(--bronze); stroke-width: 3; }
.rt__bent { fill: none; stroke: var(--bronze-light); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.rt__turret { fill: var(--paper); stroke: var(--bronze-light); stroke-width: 2.5; }
@media (max-width: 980px) { .mach { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 980px) { .rt { grid-template-columns: minmax(0, 1fr); } .rt .mach__body { order: 0; } }
@media (max-width: 640px) { .pf__dev-label { font-size: 20px; } .pf__bartxt { font-size: 18px; } .mach__lane { font-size: 24px; } .mach__small { font-size: 19px; } .mach__txt, .mach__label, .rl__bad { font-size: 23px; } }
@media (max-width: 640px) { .mach__list li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ── Header actions ───────────────────────────────────── */
.site-head__end { display: flex; align-items: center; gap: 18px; }

/* ── Typography: Barlow for text, Barlow Condensed for headings ───── */
html[lang="en"] { --font-zh: "Barlow", "Segoe UI", Arial, sans-serif; }
html[lang="en"] body { line-height: 1.65; }
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] .photo-band__text p { font-family: var(--font-num); font-weight: 600; letter-spacing: 0; }
html[lang="en"] h1 { font-weight: 700; font-size: clamp(36px, 11vw, 128px); line-height: .98; }
html[lang="en"] h2 { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.08; }
html[lang="en"] .photo-band__text p { font-size: clamp(32px, 5.6vw, 76px); line-height: 1.05; }
html[lang="en"] h3 { font-weight: 600; line-height: 1.35; }
html[lang="en"] .features__body li { grid-template-columns: 9.5em minmax(0, 1fr); }

@media (max-width: 980px) {
  .calc, .features { grid-template-columns: minmax(0, 1fr); }
  .features__photo { position: static; }
  .features__photo img { aspect-ratio: 16 / 9; object-position: center 68%; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .hero__sub { grid-template-columns: minmax(0, 1fr); }
  .hero__cta { justify-self: start; }
  .download { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-nav { display: none; }
  .site-head__row { justify-content: space-between; }
  .hero__img { object-position: 78% center; }
  .hero__banner::after { background: linear-gradient(180deg, rgba(14, 26, 64, .48) 0%, rgba(14, 26, 64, .7) 100%); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .calc__form label { grid-template-columns: minmax(0, 1fr) 150px; }
  .features__body li { grid-template-columns: 5.5em minmax(0, 1fr); gap: 12px; }
  .hero__cta .btn { flex: 1 1 auto; }
}

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

/* 英文版在手機上，功能清單的標題和說明改成上下排 */
@media (max-width: 640px) {
  html[lang="en"] .features__body li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
