/* ───────── 2DHammer 官網（極簡・專業・與軟體同調色）───────── */
:root {
  /* 讓表單控制項（含語系下拉選單的展開清單）跟隨系統亮暗主題 */
  color-scheme: light dark;
  /* 亮色＝軟體預設主題 */
  --bg: #F6F7F9;
  --bg2: #FDFDFE;
  --card: #FFFFFF;
  --line: #E3E5E9;          /* hairline */
  --line-strong: #D0D2D6;
  --text: #232529;
  --muted: #62666D;
  --faint: #9A9EA6;
  --accent: #F0A93C;
  --accent-ink: #B27716;
  --accent-soft: #FFF3D8;
  --sel-border: #EFC26B;
  --stage-a: #DADCE0;
  --stage-b: #EEEFF2;
  --btn-grad: linear-gradient(180deg, #F6B75A, #EC9F2C);
  --btn-text: #3D2B06;
  --shadow-accent: 0 8px 24px rgba(240, 169, 60, .25);
  --shadow-soft: 0 2px 8px rgba(20, 22, 26, .04), 0 12px 32px rgba(20, 22, 26, .06);
  --wrap: 1120px;
  --sec-y: clamp(72px, 10vw, 120px);
  --r-l: 20px;
  --r-m: 14px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #292B2F;
    --bg2: #2E3034;
    --card: #34363B;
    --line: #3E4046;
    --line-strong: #4A4C52;
    --text: #E6E7EA;
    --muted: #A2A6AE;
    --faint: #71757D;
    --accent: #F0A93C;
    --accent-ink: #E9B45C;
    --accent-soft: #453619;
    --sel-border: #C89043;
    --stage-a: #303236;
    --stage-b: #3B3D42;
    --shadow-accent: 0 8px 24px rgba(240, 169, 60, .18);
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, .2), 0 12px 32px rgba(0, 0, 0, .24);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; }
a { color: var(--accent-ink); text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { line-height: 1.22; font-weight: 700; }

/* ─── 語系字型（系統字優先，Noto 備援）─── */
html[lang="zh-Hant-TW"] body {
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei UI", "Microsoft JhengHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.75; letter-spacing: 0; font-weight: 400;
}
html[lang="zh-Hant-TW"] h1, html[lang="zh-Hant-TW"] h2,
html[lang="zh-Hant-TW"] h3, html[lang="zh-Hant-TW"] h4 { font-weight: 600; letter-spacing: .02em; }

html[lang="zh-Hans-CN"] body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.72; letter-spacing: 0;
}
html[lang="zh-Hans-CN"] h1, html[lang="zh-Hans-CN"] h2,
html[lang="zh-Hans-CN"] h3, html[lang="zh-Hans-CN"] h4 { font-weight: 600; letter-spacing: .02em; }

html[lang="en"] body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.58; letter-spacing: -.011em;
}
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] h4 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700; letter-spacing: -.022em; line-height: 1.14;
}

html[lang="ja"] body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.82; letter-spacing: .02em;
  word-break: normal; line-break: strict; overflow-wrap: anywhere;
}
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3, html[lang="ja"] h4 {
  font-weight: 600; letter-spacing: .04em; line-height: 1.32;
}

html[lang="ko"] body {
  font-family: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.7; letter-spacing: -.01em;
  word-break: keep-all; overflow-wrap: break-word;
}
html[lang="ko"] h1, html[lang="ko"] h2, html[lang="ko"] h3, html[lang="ko"] h4 {
  font-weight: 700; letter-spacing: -.02em; line-height: 1.24;
}

/* ─── 捲動顯示 ─── */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.reveal.in { opacity: 1; transform: none; }
/* 整組觸發：容器進視窗後，子項依 --i 階梯淡入 */
.reveal-group > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.reveal-group.in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-group > * { opacity: 1; transform: none; transition: none; }
}

/* ─── 導覽列：捲過品牌區後滑入 ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg2) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .4s var(--ease), opacity .3s ease;
}
.nav.is-shown { transform: translateY(0); opacity: 1; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; }
/* 標誌素材左緣約 5px 透明邊，對齊時往回拉 */
.brand-logo { height: 32px; width: auto; margin-left: -4px; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a { color: var(--muted); font-size: 13.5px; font-weight: 500; transition: color .18s; }
.nav nav a:hover { color: var(--text); }

/* ─── 語言選單 ─── */
.lang { position: relative; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.lang-ic { width: 15px; height: 15px; opacity: .55; }
@media (prefers-color-scheme: dark) { .lang-ic { filter: invert(1); } }
.lang select {
  appearance: none; -webkit-appearance: none;
  background: transparent; color: var(--muted);
  border: 1px solid var(--line-strong); border-radius: 8px;
  padding: 5px 26px 5px 10px; font-size: 12.5px; font-family: inherit; cursor: pointer;
  transition: color .18s, border-color .18s, box-shadow .18s;
}
/* 自繪下拉箭頭（appearance:none 會拿掉原生箭頭） */
.lang::after {
  content: ""; position: absolute; right: 11px; top: 50%;
  width: 7px; height: 7px; pointer-events: none;
  border-right: 1.5px solid var(--faint); border-bottom: 1.5px solid var(--faint);
  transform: translateY(-70%) rotate(45deg);
  transition: border-color .18s;
}
.lang:hover::after { border-color: var(--text); }
.lang select:hover { color: var(--text); border-color: var(--sel-border); }
.lang select:focus-visible {
  outline: none; color: var(--text);
  border-color: var(--sel-border);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent);
}
.lang select option { background: var(--card); color: var(--text); }

/* ─── 按鈕 ─── */
.btn {
  display: inline-block; background: var(--btn-grad); color: var(--btn-text) !important;
  border: 1px solid var(--sel-border);
  border-radius: 999px; font-weight: 700; padding: 10px 24px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-accent); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-sm { padding: 5px 15px; font-size: 13px; }
.btn-lg { padding: 13px 32px; font-size: 16px; }
.btn-ghost {
  background: transparent; border: 1px solid var(--line-strong); color: var(--text) !important;
}
.btn-ghost:hover { border-color: var(--text); box-shadow: none; }

/* ─── Hero ─── */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(520px, 74vh, 700px);
  display: flex; flex-direction: column;
}
.hero::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 58%; z-index: 0;
  background:
    repeating-conic-gradient(var(--stage-a) 0% 25%, var(--stage-b) 0% 50%)
    50% / 44px 44px;
  opacity: .5;
  mask-image: linear-gradient(115deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.3) 55%, transparent 85%);
  -webkit-mask-image: linear-gradient(115deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.3) 55%, transparent 85%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.hero-top {
  position: relative; z-index: 3;
  display: flex; justify-content: flex-end;
  max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 18px 24px 0;
}
.hero-grid {
  position: relative; z-index: 2; flex: 1;
  display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.3fr);
  gap: 16px 40px; align-items: center;
  width: 100%; padding-block: 24px 72px;
}
.hero-copy { min-width: 0; max-width: 430px; }
.hero-intro { display: flex; flex-direction: column; align-items: flex-start; }
.hero-brand { display: block; margin: 0 0 18px -5px; }
.hero-logo {
  height: clamp(74px, 11vw, 106px); width: auto;
}
.hero-intro h1 {
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 500; color: var(--muted);
  letter-spacing: .01em; line-height: 1.5;
  max-width: 15em;
}
html[lang="zh-Hant-TW"] .hero-intro h1,
html[lang="zh-Hans-CN"] .hero-intro h1 { font-weight: 500; }
.hero-intro .badge { margin-bottom: 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--accent-ink); font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--sel-border) 60%, transparent);
  border-radius: 999px; padding: 5px 13px;
  background: color-mix(in srgb, var(--accent-soft) 65%, transparent);
}
.cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

/* Hero 進場動態：載入時依序浮現 */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-shot-in {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: none; }
}
.hero .badge { animation: hero-rise .55s var(--ease) both .05s; }
.hero-brand { animation: hero-rise .55s var(--ease) both .15s; }
.hero-intro h1 { animation: hero-rise .55s var(--ease) both .27s; }
.cta { animation: hero-rise .55s var(--ease) both .4s; }
.hero-visual { animation: hero-shot-in .75s var(--ease) both .25s; }
@media (prefers-reduced-motion: reduce) {
  .hero .badge, .hero-brand, .hero-intro h1, .cta, .hero-visual { animation: none; }
}

/* Hero 介面圖：右側破圖，左緣淡出融入 */
.hero-visual {
  margin: 0 max(-9vw, -110px) 0 0; min-width: 0;
  will-change: transform;
}
.hero-shot {
  display: block; width: 118%; max-width: none; height: auto;
  margin-left: -4%;
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-soft), 0 40px 90px rgba(15, 17, 21, .18);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 16%);
  mask-image: linear-gradient(to right, transparent 0%, #000 16%);
}

/* ─── 區塊共通 ─── */
main > section:not(.hero) { padding-block: var(--sec-y); }
.eyebrow {
  font-size: 12.5px; font-weight: 700; color: var(--accent-ink);
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 14px;
}
.sec-head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2, .sponsor h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  letter-spacing: .01em;
}
.sec-lead {
  color: var(--muted); font-size: clamp(14.5px, 1.8vw, 16.5px);
  max-width: 540px; margin: 14px auto 0; line-height: 1.75;
  text-wrap: balance;
}
.sec-head-left { text-align: left; margin-bottom: 0; }
.sec-head-left .sec-lead { margin-inline: 0; }

/* ─── 定位帶：比 PNGTuber 豐富、比綁骨架簡單 ─── */
.pillars { background: var(--bg2); border-block: 1px solid var(--line); }
/* 定位帶比一般區塊窄一點（蓋過共通的 --sec-y） */
main > section.pillars { padding-block: clamp(48px, 7vw, 76px); }
.pillars-inner { display: grid; grid-template-columns: 1fr 1fr; }
.pillar {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 8px clamp(20px, 4vw, 56px);
}
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar-ic {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink);
}
.pillar h3 { font-size: clamp(19px, 2.2vw, 24px); margin-bottom: 8px; letter-spacing: .01em; }
.pillar p { color: var(--muted); font-size: 13.5px; line-height: 1.75; max-width: 26em; }

/* ─── 兩種模式：固定高度；compact 欄尺寸固定，只有細節欄 0fr→1fr 展開 ─── */
.mode-deck { display: flex; gap: 14px; height: 300px; }
/* 卡片永遠等寬，避免兩張卡互搶空間；展開只發生在卡片內部 */
.mode-deck .mode {
  flex: 1 1 0; min-width: 0; height: 100%; cursor: pointer; outline: none;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 20px;
  display: grid; grid-template-columns: 176px 0fr;
  justify-content: center; align-items: center;
  transition:
    grid-template-columns .45s var(--ease),
    border-color .28s, box-shadow .28s, opacity .28s;
}
.mode-deck .mode[aria-expanded="true"] {
  grid-template-columns: 176px 1fr;
  border-color: color-mix(in srgb, var(--mode-ink) 40%, var(--line));
  box-shadow: var(--shadow-soft);
}
.mode-deck[data-active] .mode:not([aria-expanded="true"]) { opacity: .55; }
.mode-deck .mode:focus-visible {
  border-color: var(--sel-border);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent);
}
/* compact 欄固定寬度與尺寸，展開／收合過程不變形 */
.mode-compact {
  width: 176px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 8px;
}
.mode-visual {
  position: relative; flex: none;
  width: 112px; height: 112px; border-radius: 28px;
  background: var(--mode-soft);
}
.mode-pic { position: absolute; inset: 14%; color: var(--mode-ink); }
.mode-pic svg { width: 100%; height: 100%; display: block; }
.mode-deck .mode h3 { font-size: 21px; letter-spacing: .01em; margin-top: 4px; }
.mode-tag {
  font-size: 12px; font-weight: 600; color: var(--mode-ink);
  background: var(--mode-soft); border-radius: 999px; padding: 3px 11px;
  white-space: nowrap;
}
/* 細節欄：由 grid 欄寬帶動展開，內容只做淡入 */
.mode-detail {
  min-width: 0; overflow: hidden; opacity: 0;
  transition: opacity .22s ease;
}
.mode-deck .mode[aria-expanded="true"] .mode-detail {
  opacity: 1; transition: opacity .3s ease .18s;
}
/* 固定文字排版寬度：展開／收合過程不重新換行，內容不會被擠壓 */
.mode-detail-inner { width: min(300px, calc(50vw - 245px)); padding-left: 22px; }
.mode-desc { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-bottom: 12px; }
.mode-detail ul { list-style: none; display: grid; gap: 6px; }
.mode-detail li {
  position: relative; padding-left: 19px;
  font-size: 13px; line-height: 1.5;
}
.mode-detail li::before {
  content: ""; position: absolute; left: 2px; top: .58em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--mode-dot);
}
/* 模式色票 */
.mode-warm { --mode-ink: #b97f14; --mode-soft: #FBEED3; --mode-dot: #d4980f; }
.mode-cool { --mode-ink: #2b76b4; --mode-soft: #E2F0FA; --mode-dot: #3f8ecb; }
@media (prefers-color-scheme: dark) {
  .mode-warm { --mode-ink: #ffd28a; --mode-soft: rgba(255, 184, 70, .13); --mode-dot: #e0a040; }
  .mode-cool { --mode-ink: #9fd0ff; --mode-soft: rgba(90, 170, 240, .13); --mode-dot: #6eb6ef; }
}
/* ─── 功能：極簡格線 ─── */
.features { background: var(--bg2); border-block: 1px solid var(--line); }
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-l);
  overflow: hidden;
}
.feat {
  background: var(--bg2); padding: 26px 24px;
  transition: background .25s ease;
}
.feat:hover { background: var(--card); }
.feat-ic {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--accent-soft); color: var(--accent-ink);
  margin-bottom: 14px;
  transition: transform .3s var(--ease);
}
.feat:hover .feat-ic { transform: translateY(-2px); }
.feat h4 { font-size: 15px; margin-bottom: 6px; line-height: 1.4; }
.feat p { color: var(--muted); font-size: 13px; line-height: 1.68; }

/* ─── 軟體資訊：左標題右清單 ─── */
.specs-grid {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 32px 72px; align-items: start;
}
.spec-list { border-top: 1px solid var(--line-strong); }
.spec-row {
  display: grid; grid-template-columns: 32% 1fr; gap: 18px;
  padding: 15px 4px; border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.spec-row:hover { background: color-mix(in srgb, var(--card) 60%, transparent); }
.spec-row dt { font-size: 13.5px; font-weight: 600; }
.spec-row dd { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ─── FAQ：左標題右清單 ─── */
.faq { background: var(--bg2); border-block: 1px solid var(--line); }
.faq-grid {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 32px 72px; align-items: start;
}
.faq-list { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  cursor: pointer; font-weight: 600; font-size: 14.5px;
  padding: 17px 4px; list-style: none;
  transition: color .18s;
}
.faq summary:hover { color: var(--accent-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq-chevron {
  position: relative; flex: none; width: 14px; height: 14px;
  transition: transform .28s var(--ease);
}
.faq-chevron::before, .faq-chevron::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.6px; border-radius: 2px; background: var(--faint);
  transform: translate(-50%, -50%);
  transition: transform .28s var(--ease), background .2s;
}
.faq-chevron::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq summary:hover .faq-chevron::before,
.faq summary:hover .faq-chevron::after { background: var(--accent-ink); }
.faq details[open] .faq-chevron { transform: rotate(180deg); }
.faq details[open] .faq-chevron::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-body { overflow: hidden; }
.faq-body p {
  color: var(--muted); font-size: 13.5px; line-height: 1.8;
  padding: 0 4px 18px; max-width: 52em;
}
@media (prefers-reduced-motion: reduce) {
  .faq-chevron, .faq-chevron::before, .faq-chevron::after { transition: none; }
}

/* ─── 即將登場 ─── */
.sponsor { text-align: center; position: relative; overflow: hidden; }
.sponsor::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 100%;
  background: radial-gradient(640px 300px at 50% 108%, color-mix(in srgb, var(--accent-soft) 80%, transparent), transparent 75%);
  pointer-events: none;
}
.sponsor .wrap { position: relative; }
.sp-lead { margin-top: 16px; }
.soon-actions { display: flex; justify-content: center; margin-top: 30px; }
.sp-donate { margin-top: 20px; font-size: 13px; color: var(--faint); }
.sp-donate a {
  color: var(--muted); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
  transition: color .18s, text-decoration-color .18s;
}
.sp-donate a:hover { color: var(--accent-ink); text-decoration-color: var(--accent); }

/* ─── 頁尾 ─── */
footer { border-top: 1px solid var(--line); background: var(--bg2); }
.foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 24px; flex-wrap: wrap; gap: 14px;
}
.foot > div { display: flex; align-items: center; gap: 12px; }
.foot-logo { height: 22px; width: auto; margin-left: -3px; opacity: .9; }
.foot span { color: var(--faint); font-size: 12.5px; }
.foot nav { display: flex; gap: 20px; }
.foot nav a { color: var(--muted); font-size: 12.5px; transition: color .18s; }
.foot nav a:hover { color: var(--text); }
.foot-tm {
  padding: 0 24px 24px; margin-top: -8px;
  color: var(--faint); font-size: 11px; line-height: 1.7;
}

/* ─── RWD ─── */
@media (max-width: 900px) {
  :root { --r-l: 14px; --r-m: 11px; }
  .hero { min-height: auto; }
  .hero-grid {
    grid-template-columns: 1fr; gap: 36px;
    padding-block: 12px 48px;
  }
  .hero-copy { max-width: none; }
  .hero-intro { align-items: center; text-align: center; }
  .hero-brand { margin-left: 0; }
  .hero-intro h1 { max-width: none; }
  .cta { justify-content: center; }
  .hero-visual { margin-right: 0; }
  .hero-shot { width: 100%; margin-left: 0; mask-image: none; -webkit-mask-image: none; border-radius: 12px; }
  .hero::before { width: 100%; }

  .pillars-inner { grid-template-columns: 1fr; gap: 28px; }
  .pillar + .pillar { border-left: none; border-top: 1px solid var(--line); padding-top: 28px; }

  /* 行動版：直向堆疊，細節列 0fr→1fr 向下展開 */
  .mode-deck { flex-direction: column; height: auto; }
  .mode-deck .mode {
    /* 直向排列時不參與 flex 分配，高度由內容決定，避免 overflow:hidden 讓卡片塌陷 */
    flex: none;
    height: auto; padding: 24px 20px;
    grid-template-columns: 1fr; grid-template-rows: auto 0fr;
    justify-items: center;
    transition:
      grid-template-rows .5s var(--ease),
      border-color .28s, box-shadow .28s, opacity .28s;
  }
  .mode-deck .mode[aria-expanded="true"] {
    grid-template-rows: auto 1fr;
    grid-template-columns: 1fr;
  }
  .mode-compact { width: auto; }
  .mode-visual { border-radius: 22px; }
  .mode-detail-inner { width: auto; min-width: 0; padding-left: 0; padding-top: 18px; }

  .feat-grid { grid-template-columns: repeat(2, 1fr); }

  .specs-grid, .faq-grid { grid-template-columns: 1fr; gap: 26px; }
  .sec-head-left { text-align: center; }
  .sec-head-left .sec-lead { margin-inline: auto; }
}
@media (max-width: 600px) {
  .feat-grid { grid-template-columns: 1fr; }
  .nav nav { gap: 12px; }
  .nav nav a:not(.btn) { display: none; }
  .spec-row { grid-template-columns: 1fr; gap: 3px; }
}
