/* 泰坦智能科技 — 共用樣式
   深底是預設；淺色段落（data-ground="light"）自己帶底色，交界跟著內容捲動，不再整片換色 */
:root {
  --dark: #0B0B0D;
  --light: #F2F0EC;
  --red: #ED1C24;
  --red-ground: #C4161C;
  --bg: #0B0B0D;
  --ink: #F2F0EC;
  --ink-2: #C9C6BE;
  --mute: #9C998F;
  --line: rgba(242, 240, 236, .14);
  --line-2: rgba(242, 240, 236, .3);
  --red-text: #FF4A4F;
  --panel: rgba(255, 255, 255, .03);
  --field: rgba(242, 240, 236, .04);
  --pad: clamp(20px, 5vw, 80px);
  --max: 1320px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --zh: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --wide: "Archivo", "Noto Sans TC", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --color-bg: #0B0B0D;
  --color-text: #F2F0EC;
  --color-accent: #ED1C24;
  --ditto-accent: #ED1C24;
  --ditto-accent-fg: #fff;
  --ditto-consent-bg: #141416;
  --ditto-consent-fg: #F2F0EC;
  --ditto-consent-radius: 0;
  --ditto-button-radius: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background-color: var(--dark);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0; font-family: var(--zh); font-size: 17px; line-height: 1.8; letter-spacing: .01em;
  line-break: strict; word-break: normal; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 300; text-wrap: balance; letter-spacing: 0; }
h1 b, h2 b { font-weight: 900; }
h3 { font-weight: 700; text-wrap: balance; }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.mt { margin-top: 28px; } .mt-s { margin-top: 20px; } .mt-xs { margin-top: 14px; } .mt-l { margin-top: 36px; }

/* ---------- 淺色段落 ---------- */
[data-ground="light"] {
  --bg: #EEF0F3; --ink: #0E0F12; --ink-2: #363A42; --mute: #5C616B;
  --line: rgba(14, 15, 18, .12); --line-2: rgba(14, 15, 18, .26); --red-text: #C8141B;
  --panel: rgba(255, 255, 255, .6); --field: rgba(255, 255, 255, .7);
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%),
    radial-gradient(900px 600px at 6% 108%, rgba(237, 28, 36, .06), rgba(237, 28, 36, 0) 70%),
    var(--bg);
  color: var(--ink);
}

/* ---------- 每一段自己的畫布 ---------- */
.fx { position: absolute; pointer-events: none; }
[data-fx] canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fx-hero, .fx-fill { inset: 0; }
.sec > .wrap { z-index: 1; }

/* ---------- 頁首（永遠是深色條） ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30; color: #F2F0EC;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--pad);
  transition: background-color .5s var(--ease), padding .5s var(--ease);
}
.hdr.is-scrolled { background: #0B0B0D; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand-txt { font-weight: 900; letter-spacing: .2em; font-size: 15px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a { font-size: 14px; text-decoration: none; color: rgba(242, 240, 236, .78); letter-spacing: .04em; padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--red); transition: right .4s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: #F2F0EC; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .btn { padding: 10px 18px; }
/* 語言切換：中文／EN 兩格，現在的語言是亮的；螢幕閱讀器讀完整語言名稱 */
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(242, 240, 236, .16); border-radius: 999px; }
.nav .lang a, .t-bar .lang a { font-size: 0; line-height: 0; padding: 0 8px; min-width: 34px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: rgba(242, 240, 236, .62); text-decoration: none; transition: color .25s var(--ease), background-color .25s var(--ease); }
.nav .lang a::after, .t-bar .lang a::after { position: static; height: auto; background: none; transition: none; font: 500 11px/1 var(--mono); letter-spacing: .08em; }
.lang a[lang^="zh"]::after { content: "中文"; font-family: var(--zh); letter-spacing: .04em; }
.lang a[lang="en"]::after { content: "EN"; }
.lang a:hover { color: #F2F0EC; }
.lang a[aria-current="true"] { color: #0B0B0D; background: #F2F0EC; }
.nav .btn::after { display: none; }
/* 英文選單字比較長：不准折行，筆電寬度收緊間距 */
.nav a, .nav .btn, .lang a { white-space: nowrap; }
@media (min-width: 1081px) and (max-width: 1380px) {
  html[lang="en"] .nav { gap: clamp(12px, 1.35vw, 20px); }
  html[lang="en"] .nav a:not(.btn) { font-size: 13px; letter-spacing: .02em; }
  html[lang="en"] .hdr .brand img { width: 132px; height: auto; }
}
.menu-btn { display: none; }

/* ---------- 按鈕 ---------- */
/* 第三版：一塊乾淨的實色、12px 圓角、頂端一道細亮邊；文字靠左、箭頭靠右不框起來。
   滑過去時深一階的色從左推滿，箭頭往右滑出、從左邊回來。不發光、不呼吸 */
.btn {
  --fill: rgba(255, 255, 255, .08); --arr: currentColor;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  font: 700 16px/1 var(--zh); letter-spacing: .03em; text-decoration: none; white-space: nowrap;
  min-height: 58px; padding: 0 22px 0 26px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--ink); background: transparent; cursor: pointer;
  transition: border-color .35s var(--ease), color .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill); transform: scaleX(0); transform-origin: left center; transition: transform .55s cubic-bezier(.7, 0, .2, 1); pointer-events: none; }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:not(:has(.arr)) { justify-content: center; padding: 0 28px; }
.btn .arr {
  display: inline-block; width: 22px; flex: none; text-align: center; font: 400 19px/1.3 var(--mono); overflow: hidden; padding-block: 1px;
  color: transparent; text-shadow: 0 0 0 var(--arr), -30px 0 0 var(--arr);
  transition: text-shadow .5s cubic-bezier(.7, 0, .2, 1);
}
.btn:hover .arr, .btn:focus-visible .arr { text-shadow: 30px 0 0 var(--arr), 0 0 0 var(--arr); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn-red, .nav .btn-red { --fill: #A30F15; --arr: #fff; color: #fff; background: #D3141B; border-color: #D3141B; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-red:hover, .nav .btn-red:hover { border-color: #A30F15; color: #fff; }
/* 次要：深色玻璃 */
.btn-ghost { --fill: rgba(255, 255, 255, .1); --arr: #F2F0EC; background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .26); color: #F2F0EC; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .55); }
[data-ground="light"] .btn-ghost { --fill: rgba(17, 17, 19, .06); --arr: var(--ink); background: rgba(255, 255, 255, .6); border-color: var(--line-2); color: var(--ink); }
.nav .btn { min-height: 42px; font-size: 14px; padding: 0 16px 0 18px; gap: 16px; border-radius: 10px; }
.nav .btn .arr { width: 16px; font-size: 15px; }
/* 首屏兩顆一樣長 */
.hero .more { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 12px; }
html[lang="en"] .hero .more { grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 330px)); }
.hero .more .btn { width: 100%; }
@media (max-width: 640px) { .hero .more, html[lang="en"] .hero .more { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .btn::before, .btn .arr { transition: none; } }

/* ---------- 版面共用 ---------- */
.wrap { width: min(var(--max), 100% - var(--pad) * 2); margin-inline: auto; }
.sec { position: relative; min-height: 100vh; padding: clamp(110px, 16vh, 180px) 0; display: flex; align-items: center; }
.sec > .wrap { position: relative; }
.eyebrow { font: 400 12px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 28px; }
.eyebrow b { color: var(--red-text); font-weight: 400; margin-right: 10px; }
.eyebrow.center { text-align: center; }
/* 大字標誌旁的註記：貼著大字的底線，不放在標題上方 */
.wm-row { display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: clamp(18px, 2.4vw, 36px); row-gap: 14px; margin-bottom: 40px; }
.wm-row > .ditto-word, .wm-row > .echo-word, .wm-row > .cad-word { margin-bottom: 0; }
.wm-row:has(> .echo-word) { margin: 18px 0 36px; }
.wm-row:has(> .echo-word) > .echo-word { margin-top: 0; }
.wm-row:has(> .cad-word) { margin-bottom: 28px; }
.wm-tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 .5em; font: 400 12px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.wm-tag::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--red); }
.h2 { font-size: clamp(36px, 4.8vw, 76px); line-height: 1.2; }
.h2-s { font-size: clamp(30px, 3.4vw, 52px); font-weight: 300; }
.h3 { font-size: clamp(21px, 1.9vw, 27px); line-height: 1.4; }
.lead { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.85; color: var(--ink-2); max-width: 34em; }
.red { color: var(--red-text); }
.col-l { width: min(100%, 640px); }
.col-r { width: min(100%, 640px); margin-left: auto; }
.src { font: 400 11px/1.5 var(--mono); letter-spacing: .06em; color: var(--mute); }
.more { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 首屏 ---------- */
.hero { min-height: 100vh; min-height: 100svh; padding: 130px 0 110px; overflow: clip; }
.hero .wrap { position: relative; z-index: 2; pointer-events: none; }
.hero .col-l > * { pointer-events: auto; }
.hero h1 { font-size: clamp(48px, 6.6vw, 112px); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; margin-bottom: 30px; }
.hero h1 em { font-style: normal; font-weight: 300; color: rgba(242, 240, 236, .42); }
.hero h1 b { font-weight: 900; }
.hero h1 .ln { transform: translate3d(calc(var(--hp, 0) * var(--dx, 0px)), 0, 0); }
.hero h1 .ln:nth-child(1) { --dx: -90px; }
.hero h1 .ln:nth-child(2) { --dx: 60px; }
.hero h1 .ln:nth-child(3) { --dx: -40px; }
.hero .col-l { opacity: calc(1 - var(--hp, 0) * 1.15); width: min(100%, 52vw); }
.hero-k { font: 400 12px/1.4 var(--mono); letter-spacing: .16em; color: rgba(242, 240, 236, .7); margin-bottom: 28px; animation: fade 1.2s var(--ease) both; }
.hero-k i { font-style: normal; color: #FF4A4F; margin: 0 10px; }
.world { translate: 0 calc(var(--hp, 0) * -70px); scale: calc(1 + var(--hp, 0) * .18); }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.07em; white-space: nowrap; }
.hero h1 .ln > span { display: inline-block; animation: rise 1.3s var(--ease) both; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .ln:nth-child(3) > span { animation-delay: .24s; }
.hero .lead { animation: fade 1.2s var(--ease) .55s both; max-width: 30em; }
.hero .more { animation: fade 1.2s var(--ease) .7s both; }
/* 首屏的字跟光環「點燃」對拍：光環 0.85 秒點燃，字在那一刻升起，Ditto. 從模糊散開收成一個字 */
@media (prefers-reduced-motion: no-preference) {
  .hero-k { animation-delay: .7s; }
  .hero h1 .ln > span { animation-delay: .82s; }
  .hero h1 .ln:nth-child(2) > span { animation-delay: .94s; }
  .hero h1 .ln:nth-child(3) > span { animation-delay: 1.06s; }
  .hero .lead { animation-delay: 1.3s; }
  .hero .more { animation-delay: 1.45s; }
  .w-word { animation: ignite 1.5s var(--ease) 1.2s both; }
}
@keyframes ignite { from { opacity: 0; letter-spacing: .32em; filter: blur(14px); } to { opacity: 1; letter-spacing: -.035em; filter: blur(0); } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }

/* 首屏右側：光環就是體檢器。--S 是這一塊的邊長，光環畫在畫布上、跟著它走 */
.world {
  --S: min(78vh, 46vw);
  position: absolute; z-index: 1; top: 50%; right: 4vw; width: var(--S); height: var(--S);
  transform: translateY(-46%);
}
/* 沒有程式時：用 CSS 畫一圈靜態的光環代替 */
.world::before, .orb::before, .fin-orb::before {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; transition: opacity .8s var(--ease);
  background: radial-gradient(circle closest-side, transparent 72%, rgba(237, 28, 36, .14) 86%, rgba(240, 92, 74, .38) 96%, transparent 100%);
  box-shadow: inset 0 0 0 1px rgba(236, 226, 220, .22);
}
.world::before { inset: 14%; }
.orb::before { inset: 16.5%; }
.fin-orb::before { inset: 16.5%; }
.fx-on .world::before, .fx-on .orb::before, .fx-on .fin-orb::before { opacity: 0; }
/* 光環正中央：Ditto（正式標誌檔到之前，先用寬體字排） */
.w-logo {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; color: #F2F0EC;
  animation: appear 1.6s var(--ease) 1.5s both;
}
.w-word { font-family: var(--wide); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; font-size: clamp(44px, calc(var(--S) * .13), 96px); line-height: .9; letter-spacing: -.035em; }
.w-word span { color: var(--red); }
.w-logo:focus-visible { outline: 1px solid #fff; outline-offset: 10px; }

/* ---------- Ditto：AI 光環（固定在右欄） ---------- */
.ditto-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ditto-grid > .m-panel { grid-column: 1; grid-row: 1; max-width: 640px; }
.orb-col { grid-column: 2; grid-row: 1; align-self: stretch; }
/* 光環靠右、從大字下方開始，不壓到「Ditto.」 */
.orb-col { padding-top: clamp(160px, 17vw, 280px); }
/* Ditto app 操作模擬：見 assets/css/dapp.css */

.orb { position: sticky; top: calc(50vh - min(22vw, 36vh)); width: min(44vw, 72vh, 100%); aspect-ratio: 1; margin-left: auto; margin-right: calc(var(--pad) * -0.6); }

/* ---------- 卡大師：大字＋工程圖 ---------- */
.cad-word { font-size: clamp(64px, 11vw, 190px); margin-bottom: 8px; }
.fx-drawing { position: relative; height: clamp(280px, 44vh, 440px); margin: 0 0 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* 卡大師：左邊工程圖（像一張圖紙），右邊一句話＋六個功能名稱＋補助 */
/* 合作方式：一條路線，紅線一站站畫過去，經過的站亮起來 */
.route { --g: clamp(20px, 3vw, 48px); list-style: none; margin: clamp(56px, 8vh, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--g); }
.route li { position: relative; }
.r-n { font-family: var(--wide); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; font-size: clamp(64px, 7.4vw, 124px); line-height: .85; letter-spacing: -.04em; color: var(--ink); -webkit-text-stroke: 1px var(--ink); transition: color .6s var(--ease); }
.r-track { position: relative; display: block; height: 2px; width: calc(100% + var(--g)); margin: 30px 0 30px; background: var(--line-2); }
.route li:last-child .r-track { width: 100%; }
.r-track::before { content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: left; transition: transform .8s linear; }
.r-track::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: var(--red); border: 2px solid var(--red); transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.route h3 { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; margin-bottom: 10px; }
.route li > p:not(.r-n):not(.r-key) { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }
.r-key { margin-top: 18px; font: 400 12px/1 var(--mono); letter-spacing: .12em; color: var(--red-text); }
.fx-on .route[data-reveal]:not(.in) .r-n { color: transparent; -webkit-text-stroke-color: rgba(17, 17, 19, .25); }
.fx-on .route[data-reveal]:not(.in) .r-track::before { transform: scaleX(0); }
.fx-on .route[data-reveal]:not(.in) .r-track::after { background: var(--bg); border-color: rgba(17, 17, 19, .3); }
.route li:nth-child(2) .r-n, .route li:nth-child(2) .r-track::after { transition-delay: .8s; }
.route li:nth-child(2) .r-track::before { transition-delay: .8s; }
.route li:nth-child(3) .r-n, .route li:nth-child(3) .r-track::after, .route li:nth-child(3) .r-track::before { transition-delay: 1.6s; }
.route li:nth-child(4) .r-n, .route li:nth-child(4) .r-track::after, .route li:nth-child(4) .r-track::before { transition-delay: 2.4s; }
.route li:nth-child(4) .r-n { color: var(--red); -webkit-text-stroke-color: var(--red); }

.cad { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: stretch; margin-top: 8px; }
.cad .fx-drawing { height: auto; min-height: 460px; margin: 0; border: 1px solid var(--line-2); background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 32px 32px; }
.cad-r { display: flex; flex-direction: column; justify-content: center; }
.cad-r .h2 { font-size: clamp(34px, 3.6vw, 56px); }
.cad-fn { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); counter-reset: c; }
.cad-fn li { counter-increment: c; display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.4vw, 20px); font-weight: 700; }

.cad-sub { margin-top: 36px; display: grid; gap: 20px; justify-items: start; }
.cad-sub p { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.cad-sub b { color: #FF4A4F; margin-right: 10px; }
.cad-r .src { margin-top: 22px; }

/* ---------- SEO／GEO：右半邊固定一顆知識球，可以拖著轉 ---------- */
.fx-side { top: 0; right: 0; bottom: 0; width: 52%; }
.fx-side .stick { position: sticky; top: 0; height: 100vh; }
.engines { overflow: hidden; }
.engines .eng, .engines .you { position: absolute; left: 0; top: 0; will-change: transform; }
.you { font: 500 13px/1 var(--zh); letter-spacing: .12em; color: rgba(242, 240, 236, .92); white-space: nowrap; z-index: 2; }
.eng {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; white-space: nowrap;
  background: rgba(22, 22, 26, .72); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
  font: 500 14px/1 var(--zh); color: #F2F1EE; transition: border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.eng img { width: 18px; height: 18px; filter: invert(1); opacity: .92; }
.eng em { font-style: normal; font-size: 12px; color: #FF7A7D; max-width: 0; overflow: hidden; opacity: 0; transition: max-width .6s var(--ease), opacity .5s var(--ease), margin .6s var(--ease); }
.eng.hit { border-color: rgba(255, 90, 94, .6); box-shadow: 0 0 0 4px rgba(237, 28, 36, .12), 0 0 30px rgba(237, 28, 36, .35), inset 0 1px 0 rgba(255, 255, 255, .08); }
.eng.hit em { max-width: 5em; opacity: 1; margin-left: 2px; }
.eng.hit em::before { content: "✓ "; }

/* ---------- 安靜的段落：比較、體檢、實績、常見問題 ---------- */
.quiet { min-height: 0; }
.narrow { max-width: 1000px; }
.split-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.split-head { position: sticky; top: 120px; }
.split-head .h2 { font-size: clamp(36px, 4vw, 64px); }

/* ---------- 轉向：整片公司流向 AI ---------- */
.shift { flex-direction: column; align-items: stretch; }
.shift .h2 { font-size: clamp(38px, 4.6vw, 76px); }
.shift-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.shift-body { margin-top: clamp(64px, 10vh, 112px); }
.shift-body .stats { margin-top: 0; }

/* AI 對話：深色視窗浮在淺底上，一輪輪自己演（s1 送出問題 → s2 讀網頁 → s3 挑出引用 → s4 回答 → s5 提問給你） */
.chat-col { position: relative; }
.chat-col::before { content: ""; position: absolute; inset: 8% -6% -4% 10%; background: radial-gradient(closest-side, rgba(237, 28, 36, .12), transparent); pointer-events: none; }
/* 捲動順暢：畫面外的段落先不繪製（記住實際高度，不會跳） */
.sec:not(.hero) { content-visibility: auto; contain-intrinsic-size: auto 1000px; }
.world, .hero .col-l { will-change: transform, opacity; }
.chat {
  --c-ink: #ECEAE4; --c-dim: rgba(236, 234, 228, .5); --c-line: rgba(236, 234, 228, .1);
  position: relative; background: #111113; color: var(--c-ink); border: 1px solid rgba(255, 255, 255, .06); border-radius: 18px;
  box-shadow: 0 40px 80px -30px rgba(20, 8, 8, .45), 0 2px 0 rgba(255, 255, 255, .04) inset; overflow: hidden;
  transition: opacity .6s var(--ease);
}
.chat.out { opacity: 0; }
.chat-top { display: flex; align-items: center; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--c-line); font: 400 12px/1 var(--mono); letter-spacing: .12em; color: var(--c-dim); }
.chat-k { margin-left: auto; border: 1px solid var(--c-line); padding: 4px 7px; border-radius: 4px; font-size: 10px; }
.chat-body { padding: 24px 22px 10px; display: flex; flex-direction: column; justify-content: flex-start; gap: 18px; }

/* AI 的頭像：一顆會呼吸的紅點 */
.ai-dot { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #FF4A4F; box-shadow: 0 0 0 4px rgba(237, 28, 36, .16), 0 0 16px rgba(255, 74, 79, .7); }
.m-ai > .ai-dot { margin: 6px 4px 0; }
.chat.s2:not(.s4) .m-ai > .ai-dot { animation: breathe 1.1s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 9px rgba(237, 28, 36, .1), 0 0 22px rgba(255, 74, 79, .9); } }

.m-user { align-self: flex-end; max-width: 82%; background: #ECEAE4; color: #121214; padding: 11px 16px; border-radius: 16px 16px 4px 16px; font-size: 15.5px; line-height: 1.55; }
.m-ai { display: flex; gap: 12px; align-items: flex-start; }
.m-ai-in { flex: 1; min-width: 0; }
.m-status { position: relative; height: 18px; font: 400 12px/18px var(--mono); letter-spacing: .06em; color: var(--c-dim); }
.m-status span { position: absolute; left: 0; top: 0; white-space: nowrap; transition: opacity .5s var(--ease); }
.st-a { color: rgba(236, 234, 228, .75); animation: pulse-t 1.4s ease-in-out infinite; }
@keyframes pulse-t { 50% { opacity: .35; } }
.chat.s3 .st-a, .chat:not(.s3) .st-b { opacity: 0; }

.srcs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.srcs li { position: relative; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; border: 1px solid var(--c-line); border-radius: 10px; background: rgba(255, 255, 255, .025); font-size: 13px; color: rgba(236, 234, 228, .78); white-space: nowrap; overflow: visible; transition: opacity .6s var(--ease), border-color .6s var(--ease), transform .6s var(--ease), background-color .6s var(--ease); }
.srcs i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, rgba(236, 234, 228, .55), rgba(236, 234, 228, .14)); }
.srcs li.cited::after { content: attr(data-n); position: absolute; top: -7px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: #D3141B; color: #fff; font: 500 10px/18px var(--mono); text-align: center; opacity: 0; transform: scale(.6); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.chat.s3 .srcs li:not(.cited) { opacity: .28; }
.chat.s3 .srcs li.cited { border-color: rgba(255, 90, 94, .55); background: rgba(237, 28, 36, .07); }
.chat.s3 .srcs li.cited::after { opacity: 1; transform: none; }
.srcs li.ping { border-color: rgba(255, 120, 116, .95); background: rgba(237, 28, 36, .18); }

.m-lead { margin-top: 16px; font-size: 15.5px; line-height: 1.6; min-height: 1.6em; }
.ans { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.ans li { display: grid; grid-template-columns: 4.6em 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; background: rgba(255, 255, 255, .035); font-size: 14.5px; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.ans .no { font-weight: 700; color: #fff; white-space: nowrap; }
.ans .why { color: rgba(236, 234, 228, .74); }
.ans .cite { font: 500 10px/1 var(--mono); color: #FF7A7D; border: 1px solid rgba(255, 90, 94, .45); border-radius: 5px; padding: 4px 6px; }
.ans .miss { grid-template-columns: 4.6em 1fr; background: transparent; border: 1px dashed rgba(255, 90, 94, .6); }
.ans .miss .no, .ans .miss .why { color: #FF6A6E; }
.ans .miss .why { font-weight: 700; }

.chat-input { display: flex; align-items: center; gap: 12px; margin: 10px 14px 14px; padding: 8px 8px 8px 18px; border: 1px solid var(--c-line); border-radius: 14px; background: rgba(255, 255, 255, .03); font-size: 15px; min-height: 52px; }
.typed { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--c-ink); }
.typed.empty { color: var(--c-dim); }
.typed.caret-on::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: #FF4A4F; animation: blink 1s steps(2) infinite; }
.send { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(236, 234, 228, .1); color: var(--c-dim); font: 500 16px/1 var(--mono); transition: background-color .3s var(--ease), color .3s var(--ease); }
.send.hot { background: #D3141B; color: #fff; }


/* 一輪裡還沒到的步驟先藏起來 */
.chat.run:not(.s1) .m-user, .chat.run:not(.s2) .m-ai { opacity: 0; transform: translateY(12px); }
.m-user, .m-ai { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.chat.run .srcs li:not(.in) { opacity: 0; transform: translateY(6px); }
.chat.run:not(.s4) .m-lead { opacity: 0; }
.chat.run .ans li:not(.in) { opacity: 0; transform: translateY(8px); }
.chat-col.run-note:not(.on) .chat-note { opacity: 0; transform: translateY(6px); }
.stats { margin-top: clamp(56px, 9vh, 96px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.stats > div { padding: 30px 24px 0; text-align: left; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stat-n { font-family: var(--wide); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 600; font-size: clamp(40px, 4.6vw, 72px); line-height: 1; color: var(--red-text); letter-spacing: -.01em; }
.stat-n small { font-family: var(--zh); font-size: .5em; font-weight: 700; margin-left: 4px; }
.stat-t { margin-top: 14px; font-size: 16px; line-height: 1.6; }

/* ---------- Ditto ---------- */
.ditto-word { font-family: var(--wide); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; font-size: clamp(88px, 15vw, 250px); line-height: .82; letter-spacing: -.035em; margin-bottom: 40px; color: var(--ink); }
.ditto-word span { color: var(--red); }
/* CADASU. 比 Ditto. 多三個字：用自己的字級，不吃 Ditto 的 */
.ditto-word.cad-word { font-size: clamp(64px, 11vw, 190px); margin-bottom: 8px; }
.feats { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid var(--line-2); counter-reset: f; }
.feats li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.feats h3 { font-size: 21px; line-height: 1.4; }
.feats p { color: var(--ink-2); font-size: 16px; line-height: 1.75; }
/* ---------- Ditto 比較：深色玻璃欄 ---------- */
.vs { flex-direction: column; align-items: stretch; }
.vs-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(44px, 7vh, 72px); }
.vs-head .h2 { font-size: clamp(36px, 4.4vw, 70px); font-weight: 300; }
/* 劃掉舊做法：每一列捲進來時，紅線劃過套版／外包，Ditto 的答案從左邊寫出來 */
.xs-h, .xs-row { display: grid; grid-template-columns: minmax(150px, .5fr) minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.xs-h { padding-bottom: 18px; border-bottom: 1px solid var(--ink); font: 400 12px/1.4 var(--mono); letter-spacing: .14em; color: var(--mute); align-items: end; }
.us-word { font-family: var(--wide); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; font-size: 34px; line-height: .9; letter-spacing: -.03em; color: var(--ink); }
.us-word span { color: var(--red); }
.xs { list-style: none; margin: 0; padding: 0; counter-reset: x; }
.xs > li { counter-increment: x; border-bottom: 1px solid var(--line-2); }
.xs-row { padding: clamp(24px, 3.4vh, 36px) 0; }
.xs-t { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.4; }

.xs-old { display: grid; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--mute); }
.xs-old span { display: flex; gap: 12px; align-items: baseline; }
.xs-old small { flex: none; width: 2.6em; font: 400 11px/1 var(--mono); letter-spacing: .1em; color: var(--mute); }
.xs-old s { text-decoration: none; background: linear-gradient(var(--red), var(--red)) no-repeat 0 58% / 100% 1.5px; padding-bottom: 1px; }
.xs-new { position: relative; padding-left: 26px; font-size: clamp(21px, 2vw, 30px); font-weight: 700; line-height: 1.4; color: var(--ink); letter-spacing: .01em; }
.xs-new::before { content: ""; position: absolute; left: 0; top: .52em; width: 10px; height: 10px; background: var(--red); }
.vs-more { justify-content: flex-end; }
.fx-on .xs-row[data-reveal] .xs-old s { background-size: 0 1.5px; transition: background-size .7s cubic-bezier(.7, 0, .2, 1); }
.fx-on .xs-row[data-reveal] .xs-old span:nth-child(2) s { transition-delay: .18s; }
.fx-on .xs-row[data-reveal] .xs-old { transition: color .6s var(--ease) .5s; }
.fx-on .xs-row[data-reveal] .xs-new { clip-path: inset(0 100% 0 0); transition: clip-path .9s cubic-bezier(.65, 0, .35, 1) .55s; }
.fx-on .xs-row[data-reveal].in .xs-old s { background-size: 100% 1.5px; }
.fx-on .xs-row[data-reveal].in .xs-old { color: rgba(17, 17, 19, .42); }
.fx-on .xs-row[data-reveal].in .xs-new { clip-path: inset(-4px -4px -4px 0); }

.panel { background: var(--panel); border: 1px solid var(--line); padding: clamp(24px, 3vw, 44px); }

/* ---------- GEO ---------- */
/* ---------- SEO／GEO：能見度報告（深色玻璃產品畫面） ---------- */
.geo { flex-direction: column; align-items: stretch; }
.geo-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vh, 64px); }
.dash { position: relative; background: linear-gradient(180deg, #17171B, #0F0F12); border: 1px solid rgba(255, 255, 255, .09); border-radius: 22px; overflow: hidden; color: #F2F1EE; box-shadow: 0 50px 110px -70px rgba(237, 28, 36, .4), inset 0 1px 0 rgba(255, 255, 255, .07); }
.dash::before { content: ""; position: absolute; left: 30%; right: -10%; top: -40%; height: 80%; background: radial-gradient(closest-side, rgba(237, 28, 36, .14), transparent); pointer-events: none; }
.dash-top { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.dash-t { display: flex; align-items: center; gap: 10px; font: 400 12px/1 var(--mono); letter-spacing: .14em; color: rgba(242, 241, 238, .75); }
.dash-t .ai-dot { width: 8px; height: 8px; }
.dash-t .chat-k { font-style: normal; margin-left: 4px; border: 1px solid rgba(255, 255, 255, .14); padding: 4px 7px; border-radius: 4px; font-size: 10px; color: rgba(242, 241, 238, .6); }
.dash-form { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.dash-form input { width: 230px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); color: #F2F1EE; border-radius: 10px; padding: 10px 14px; font: 400 14.5px/1.4 var(--zh); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.dash-form input[name="region"] { width: 150px; }
.dash-form input::placeholder { color: rgba(242, 241, 238, .5); }
.dash-form input:focus { outline: none; border-color: rgba(255, 90, 94, .75); box-shadow: 0 0 0 4px rgba(237, 28, 36, .16); }
.dash-form .btn { min-height: 44px; padding: 6px 22px; font-size: 14px; }
.engs { position: relative; list-style: none; margin: 0; padding: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.engs li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: center; padding: 18px; border-radius: 14px; border: 1px solid rgba(255, 90, 94, .5); background: rgba(237, 28, 36, .07); box-shadow: 0 0 34px -10px rgba(237, 28, 36, .6); transition: border-color .7s var(--ease), background-color .7s var(--ease), box-shadow .7s var(--ease); }
.engs img { width: 20px; height: 20px; filter: invert(1); }
.engs b { font-size: 15px; }
.engs .s0, .engs .s1 { grid-column: 1 / -1; grid-row: 2; font-size: 13.5px; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.engs .s0 { color: rgba(242, 241, 238, .6); opacity: 0; }
.engs .s1 { color: #FF8A8C; font-weight: 700; }
.engs .s1::before { content: "✓ "; }
.dash.run .engs li:not(.on) { border-color: rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .025); box-shadow: none; }
.dash.run .engs li:not(.on) .s0 { opacity: 1; }
.dash.run .engs li:not(.on) .s1 { opacity: 0; transform: translateY(4px); }
.dash-main { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); border-top: 1px solid rgba(255, 255, 255, .07); }
.dq { padding: 22px 24px 26px; border-right: 1px solid rgba(255, 255, 255, .07); }
.dash-h { font: 400 11px/1 var(--mono); letter-spacing: .16em; color: rgba(242, 241, 238, .55); margin-bottom: 12px; }
.qrows { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.qrows li { counter-increment: q; display: grid; grid-template-columns: 30px 1fr 10px; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 14.5px; line-height: 1.5; transition: color .5s var(--ease); }
.qrows li:last-child { border-bottom: 0; }
.qrows li::before { content: counter(q, decimal-leading-zero); font: 400 11px/1 var(--mono); color: rgba(242, 241, 238, .5); }
.qrows li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF4A4F; box-shadow: 0 0 10px rgba(255, 74, 79, .9); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.dash.run .qrows li:not(.on) { color: rgba(242, 241, 238, .62); }
.dash.run .qrows li:not(.on)::after { opacity: 0; transform: scale(.3); }
.dchart { padding: 22px 24px 26px; }
.dchart svg { display: block; width: 100%; height: 200px; overflow: visible; }
.dchart .grid { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.dchart .area { fill: url(#ga); transition: clip-path 1.9s var(--ease); clip-path: inset(0 0 0 0); }
.dchart .line { fill: none; stroke: #FF4A4F; stroke-width: 2.6; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 74, 79, .85)); stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset 1.9s var(--ease); }
.dash.run .dchart:not(.on) .line { stroke-dashoffset: 100; }
.dash.run .dchart:not(.on) .area { clip-path: inset(0 100% 0 0); }
.axis { display: flex; justify-content: space-between; margin-top: 8px; font: 400 11px/1 var(--mono); letter-spacing: .08em; color: rgba(242, 241, 238, .5); }
.cites { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.cites span { font-size: 13px; color: rgba(242, 241, 238, .6); }
.cites b { font-size: 13px; font-weight: 500; color: #FFB0B1; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 90, 94, .45); background: rgba(237, 28, 36, .09); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.dash.run .cites b:not(.on) { opacity: 0; transform: translateY(6px); }
.geo-foot { margin-top: clamp(56px, 9vh, 96px); }
.geo-foot .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); }
.svc { display: grid; gap: 22px; border-top: 1px solid var(--line-2); padding-top: 24px; }

/* Echo：自研 GEO 工具。紅點往外擴的回聲 */
.echo { margin-top: clamp(64px, 10vh, 120px); }
.echo-id { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.echo-emb { position: relative; width: min(100%, 62vh); aspect-ratio: 1; justify-self: end; }
.echo-emb::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 90, 94, .35), 0 0 0 40px rgba(255, 90, 94, .04), 0 0 0 80px rgba(255, 90, 94, .02); transition: opacity .8s var(--ease); }
.fx-on .echo-emb::before { opacity: 0; }
@media (max-width: 1080px) { .echo-emb { justify-self: center; width: min(86vw, 440px); } }
.echo-word { position: relative; display: inline-block; font-family: var(--wide); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; font-size: clamp(80px, 11vw, 180px); line-height: .82; letter-spacing: -.035em; color: var(--ink); margin: 18px 0 36px; }
.echo-word span { position: relative; display: inline-block; width: .2em; height: .2em; margin-left: .06em; background: var(--red); vertical-align: baseline; }
.echo-word span i { position: absolute; left: 50%; top: 50%; width: 2.6em; height: 2.6em; margin: -1.3em 0 0 -1.3em; border: 1px solid rgba(255, 74, 79, .7); border-radius: 50%; opacity: 0; transform: scale(.08); animation: echo 3.6s cubic-bezier(.2, .6, .3, 1) infinite; pointer-events: none; }
.echo-word span i:nth-child(2) { animation-delay: 1.2s; }
.echo-word span i:nth-child(3) { animation-delay: 2.4s; }
@keyframes echo { 0% { opacity: 0; transform: scale(.08); } 12% { opacity: .9; } 100% { opacity: 0; transform: scale(1); } }
.echo-h { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.55; font-weight: 500; color: var(--ink); }
.echo-m { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.echo-m li { font-size: 14px; line-height: 1; padding: 11px 16px; border: 1px solid rgba(255, 74, 79, .35); border-radius: 999px; color: var(--ink); background: rgba(237, 28, 36, .07); }
.echo-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); counter-reset: e; }
.echo-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 6px 20px; padding: 24px 0; border-bottom: 1px solid var(--line); counter-increment: e; }
.echo-steps li::before { content: counter(e, decimal-leading-zero); grid-row: span 2; font: 400 12px/2.1 var(--mono); letter-spacing: .1em; color: var(--red-text); }
.echo-steps h4 { font-size: 21px; line-height: 1.4; margin: 0; align-self: end; }
.echo-steps p { color: var(--ink-2); font-size: 16px; line-height: 1.75; margin: 0; }
.echo-steps li { grid-template-rows: auto auto; align-content: start; }
/* Echo 導覽：左步驟、右邊固定的 Echo 畫面（淺色，像真的工具） */
.echo-tour { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(56px, 8vh, 96px); align-items: start; }
.echo-tour .echo-steps { border-top: 0; }
.echo-tour .echo-steps li { min-height: 58vh; align-content: center; border-bottom: 0; padding: 24px 0; grid-template-columns: 48px 1fr; opacity: .35; transition: opacity .5s var(--ease); }
.echo-tour .echo-steps li::before { transition: scale .5s var(--ease); transform-origin: 0 50%; }
.echo-tour .echo-steps li.on { opacity: 1; }
.echo-tour .echo-steps li.on::before { scale: 1.5; }
.echo-tour .echo-steps h4 { font-size: clamp(24px, 2.2vw, 32px); }
.ea-col { position: sticky; top: calc(50vh - 250px); }
.ea { --ui: #FFFFFF; --ui2: #F5F5F7; --uline: #E7E7EA; --uink: #121214; --umute: #8A8A92;
  height: 500px; border-radius: 16px; overflow: hidden; background: var(--ui); color: var(--uink); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); display: flex; flex-direction: column; }
.ea-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; background: var(--ui2); border-bottom: 1px solid var(--uline); flex: none; }
.ea-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D9D9DE; }
.ea-bar span { margin-left: 12px; font: 600 13px/1 var(--zh); color: var(--uink); }
.ea-bar em { margin-left: auto; font: 400 11px/1 var(--mono); font-style: normal; letter-spacing: .1em; color: var(--umute); border: 1px solid var(--uline); padding: 4px 8px; border-radius: 6px; }
.ea-body { flex: 1; display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 0; }
.ea-side { padding: 18px 14px; border-right: 1px solid var(--uline); display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.ea-side b { font-size: 14px; margin-bottom: 10px; }
.ea-side span { padding: 8px 10px; border-radius: 8px; color: var(--umute); transition: background-color .4s var(--ease), color .4s var(--ease); }
.ea[data-state="0"] .s0, .ea[data-state="1"] .s1, .ea[data-state="2"] .s2, .ea[data-state="3"] .s3 { background: rgba(211, 20, 27, .08); color: #B3121A; font-weight: 700; }
.ea-main { position: relative; overflow: hidden; }
.ea-v { position: absolute; inset: 0; padding: 22px 24px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
.ea[data-state="0"] .ea-v0, .ea[data-state="1"] .ea-v1, .ea[data-state="2"] .ea-v2, .ea[data-state="3"] .ea-v3 { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease) .1s, transform .5s var(--ease) .1s, visibility 0s; }
.ea-h { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.ea .tx { display: block; height: 9px; border-radius: 5px; background: #E2E2E6; }
.ea .w1 { width: 82%; } .ea .w2 { width: 64%; } .ea .w3 { width: 74%; } .ea .w4 { width: 54%; }
/* 0 回應 */
.ea-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; background: var(--ui2); margin-bottom: 12px; font-size: 12.5px; }
.ea-tabs span { padding: 6px 12px; border-radius: 7px; color: var(--umute); }
.ea-tabs .on { background: #fff; color: var(--uink); font-weight: 700; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.ea-rows { list-style: none; margin: 0; padding: 0; }
.ea-rows li { display: grid; grid-template-columns: minmax(0, 1fr) 28px 84px; align-items: center; gap: 14px; height: 52px; border-bottom: 1px solid var(--uline); }
.ea-rows b { font-size: 16px; text-align: center; color: #C4C4CA; }
.ea-rows b.ok { color: #D3141B; }
.ea-rows em { font-style: normal; font-size: 12px; font-weight: 600; text-align: center; padding: 5px 0; border-radius: 999px; border: 1px solid #C9D7F5; color: #2D5BD3; background: #F2F6FF; }
/* 1 總覽 */
.ea-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ea-kpi div { padding: 14px 12px; border: 1px solid var(--uline); border-radius: 12px; }
.ea-kpi span { display: block; font-size: 12.5px; color: var(--umute); margin-bottom: 18px; }
.ea-kpi .m { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #D3141B, #D3141B) no-repeat 0 0 / var(--f) 100%, #EFEFF2; }
.ea-kpi .f1 { --f: 62%; } .ea-kpi .f2 { --f: 40%; } .ea-kpi .f3 { --f: 74%; } .ea-kpi .f4 { --f: 48%; }
.ea-chart { margin-top: 14px; padding: 14px; border: 1px solid var(--uline); border-radius: 12px; }
.ea-chart svg { display: block; width: 100%; height: 180px; overflow: visible; }
.ea-chart path { fill: none; vector-effect: non-scaling-stroke; }
.ea-chart .gd { stroke: #EEEEF1; stroke-width: 1; }
.ea-chart .c1, .ea-chart .c2 { stroke: #B9BCC6; stroke-width: 2; stroke-dasharray: 100; }
.ea-chart .me { stroke: #D3141B; stroke-width: 3; stroke-dasharray: 100; }
.ea-lg { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--umute); }
.ea-lg span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #B9BCC6; margin-right: 6px; }
.ea-lg .me { color: var(--uink); font-weight: 700; }
.ea-lg .me::before { background: #D3141B; }
/* 2 排名＋計劃 */
.ea-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ea-rank li { display: grid; grid-template-columns: 30px minmax(0, 1fr) 44px; align-items: center; gap: 12px; }
.ea-rank i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--zh); font-style: normal; background: #EDEDF0; color: var(--umute); }
.ea-rank b { height: 14px; border-radius: 7px; background: #D5D7DE; transform-origin: left; }
.ea-rank .r1 { width: 86%; } .ea-rank .r2 { width: 72%; } .ea-rank .r3 { width: 56%; } .ea-rank .r4 { width: 32%; }
.ea-rank .me i { background: #D3141B; color: #fff; }
.ea-rank .me b { background: #D3141B; }
.ea-rank em { font-style: normal; font-size: 11px; font-weight: 700; color: #2D5BD3; background: #EEF3FF; border-radius: 6px; padding: 4px 0; text-align: center; }
.ea-plan { margin-top: 20px; padding: 16px 18px; border-radius: 12px; background: #121214; color: #F2F1EE; }
.ea-plan p { font: 400 11px/1 var(--mono); letter-spacing: .14em; color: #FF7A7D; margin-bottom: 12px; }
.ea-plan ol { margin: 0; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 8px; }
.ea-plan li { counter-increment: p; font-size: 15px; font-weight: 700; display: flex; gap: 12px; align-items: baseline; }
.ea-plan li::before { content: counter(p, decimal-leading-zero); font: 400 11px/1 var(--mono); color: rgba(242, 241, 238, .5); }
/* 3 引用來源：缺口被補上 */
.ea-cite { list-style: none; margin: 0; padding: 0; }
.ea-cite li { display: grid; grid-template-columns: 26px minmax(0, 1fr) 76px; align-items: center; gap: 14px; height: 60px; border-bottom: 1px solid var(--uline); }
.ea-cite .gl { width: 26px; height: 26px; border-radius: 8px; background: #EDEDF0; }
.ea-cite em { font-style: normal; font-size: 12px; text-align: center; padding: 5px 0; border-radius: 999px; background: #F0F0F3; color: var(--umute); }
.ea-cite .gap { position: relative; }
.ea-cite .gap::after { content: ""; position: absolute; inset: 6px -8px; border: 1.5px dashed #D3141B; border-radius: 10px; }
.ea-cite .gap em { background: #D3141B; color: #fff; font-weight: 700; }
.ea-cite .gap .gl { background: #D3141B; }
.ea-cite .gap .tx { background: #F3C3C5; }
/* 切進每個畫面時的動作 */
.ea-rows li, .ea-cite li, .ea-rank li, .ea-plan li { opacity: 0; transform: translateX(-10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.ea[data-state="0"] .ea-v0 li, .ea[data-state="2"] .ea-v2 li, .ea[data-state="3"] .ea-v3 li { opacity: 1; transform: none; }
.ea-rows li:nth-child(2), .ea-cite li:nth-child(2), .ea-rank li:nth-child(2), .ea-plan li:nth-child(2) { transition-delay: .12s; }
.ea-rows li:nth-child(3), .ea-cite li:nth-child(3), .ea-rank li:nth-child(3), .ea-plan li:nth-child(3) { transition-delay: .24s; }
.ea-rows li:nth-child(4), .ea-cite li:nth-child(4), .ea-rank li:nth-child(4) { transition-delay: .36s; }
.ea-rows li:nth-child(5), .ea-cite li:nth-child(5) { transition-delay: .48s; }
.ea-rows li:nth-child(6) { transition-delay: .6s; }
.ea-plan li { transition-delay: .6s; }
.ea-plan li:nth-child(2) { transition-delay: .75s; } .ea-plan li:nth-child(3) { transition-delay: .9s; }
.ea-kpi .m { background-size: 0 100%, auto; transition: background-size 1s cubic-bezier(.2, .7, .1, 1) .2s; }
.ea[data-state="1"] .ea-kpi .m { background-size: var(--f) 100%, auto; }
.ea-chart .c1, .ea-chart .c2, .ea-chart .me { stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s cubic-bezier(.4, 0, .2, 1) .3s; }
.ea[data-state="1"] .ea-chart path { stroke-dashoffset: 0; }
.ea-rank b { transform: scaleX(0); transition: transform .9s cubic-bezier(.2, .7, .1, 1) .2s; }
.ea[data-state="2"] .ea-rank b { transform: none; }
.ea-cite .gap::after { opacity: 1; }
.ea-cite .gap em, .ea-cite .gap .gl { transition: background-color .5s var(--ease) 1.1s, color .5s var(--ease) 1.1s; }
.ea:not([data-state="3"]) .ea-cite .gap em { background: #F0F0F3; color: transparent; }
.ea:not([data-state="3"]) .ea-cite .gap .gl { background: #EDEDF0; }
@media (max-width: 1080px) {
  .echo-id, .echo-tour { grid-template-columns: minmax(0, 1fr); }
  .ea-col { position: relative; top: auto; order: -1; }
  .echo-tour .echo-steps li { min-height: 0; opacity: 1; }
  .ea { height: 460px; }
  .ea-body { grid-template-columns: minmax(0, 1fr); }
  .ea-side { display: none; }
}
@media (max-width: 1080px) { .echo-id { position: static; } }
@media (prefers-reduced-motion: reduce) {
  .echo-word span i { animation: none; opacity: .5; }
  .echo-word span i:nth-child(1) { transform: scale(.3); }
  .echo-word span i:nth-child(2) { transform: scale(.6); opacity: .3; }
  .echo-word span i:nth-child(3) { transform: scale(.95); opacity: .15; }
}
.svc .k { display: block; font: 400 12px/1 var(--mono); letter-spacing: .16em; color: var(--red-text); margin-bottom: 10px; }
.svc p { font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.svc i { font-style: normal; color: rgba(242, 240, 236, .25); margin: 0 8px; }

.twin { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 52px; }
.twin h3 { font-size: 20px; margin-bottom: 4px; }
.twin .k { font: 400 12px/1 var(--mono); letter-spacing: .18em; color: var(--red-text); margin-bottom: 14px; display: block; }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; }
.ticks li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.6; }
.qgen { margin-top: 56px; }
.qgen-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .lbl { font: 400 11px/1 var(--mono); letter-spacing: .14em; color: var(--mute); text-transform: uppercase; }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.5 var(--zh); color: var(--ink); background: var(--field);
  border: 1px solid var(--line-2); border-radius: 0; padding: 14px 16px; transition: border-color .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--mute); opacity: .7; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red-text); }
.qgen-form .btn { align-self: end; padding: 15px 22px; }
.qlist { list-style: none; margin: 26px 0 0; padding: 0; counter-reset: q; }
.qlist li { counter-increment: q; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; opacity: 0; transform: translateY(8px); animation: fade .8s var(--ease) forwards; }
.qlist li::before { content: "Q" counter(q); font: 400 12px/1 var(--mono); color: var(--red-text); letter-spacing: .1em; }
.qlist li:nth-child(2) { animation-delay: .08s; } .qlist li:nth-child(3) { animation-delay: .16s; } .qlist li:nth-child(4) { animation-delay: .24s; } .qlist li:nth-child(5) { animation-delay: .32s; }
.qnote { margin-top: 20px; color: var(--mute); font-size: 15px; }
.qgen[data-empty] .qout { display: none; }

/* ---------- 卡大師 ---------- */
.cadasu { flex-direction: column; align-items: stretch; }
.cad-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.fn { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); }
.fn li { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.fn b { display: block; font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.fn span { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; display: block; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; gap: 24px; }
.nums .stat-n { color: var(--ink); }
.nums .stat-t { font-size: 15px; color: var(--ink-2); }
.subsidy { margin-top: 52px; color: #fff; padding: 22px 22px 22px 52px; position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; border: 1px solid rgba(255, 90, 94, .4); border-radius: 16px; background: linear-gradient(90deg, rgba(237, 28, 36, .12), rgba(237, 28, 36, .02)); }
.subsidy::before { content: ""; position: absolute; left: 24px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #FF4A4F; box-shadow: 0 0 0 5px rgba(237, 28, 36, .18), 0 0 14px rgba(255, 74, 79, .9); }
.subsidy p { font-size: clamp(16px, 1.3vw, 19px); font-weight: 500; line-height: 1.6; max-width: 34em; }


/* ---------- 體檢：左邊掃描儀，右邊表單 ---------- */
html:not(.fx-on) .engines .you { left: 50%; top: 50%; transform: translate(-50%, -50%); }
html:not(.fx-on) .engines .eng:nth-of-type(1) { left: 8%; top: 34%; }
html:not(.fx-on) .engines .eng:nth-of-type(2) { right: 8%; left: auto; top: 30%; }
html:not(.fx-on) .engines .eng:nth-of-type(3) { left: 14%; top: 64%; }
html:not(.fx-on) .engines .eng:nth-of-type(4) { right: 12%; left: auto; top: 66%; }

.check { flex-direction: column; align-items: stretch; }
.check-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.check .h2 { font-size: clamp(36px, 4.2vw, 68px); }

/* 體檢：深色玻璃瀏覽器，紅色掃描線由上往下讀，右側五項一個個填滿 */
.device { position: relative; background: #111113; color: #F2F1EE; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .06); overflow: hidden; box-shadow: 0 50px 90px -40px rgba(20, 8, 8, .5), inset 0 1px 0 rgba(255, 255, 255, .05); }
.device-col { position: relative; }
.device-col::before { content: ""; position: absolute; inset: 10% 0 -6% 14%; background: radial-gradient(closest-side, rgba(237, 28, 36, .18), transparent); filter: blur(34px); pointer-events: none; }
.dv-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .07); font: 400 13px/1 var(--mono); }
.dv-lock { width: 9px; height: 9px; border-radius: 50%; background: rgba(242, 241, 238, .25); flex: none; transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
.dv-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(242, 241, 238, .45); padding: 8px 12px; background: rgba(255, 255, 255, .04); border-radius: 8px; }
.dv-state { flex: none; font-size: 11px; letter-spacing: .1em; color: rgba(242, 241, 238, .55); }
.device.live .dv-url { color: #F2F1EE; }
.device.live .dv-lock { background: #FF4A4F; box-shadow: 0 0 10px rgba(255, 74, 79, .9); }
.device.live .dv-state { color: #FF7A7D; }
@keyframes blink { 50% { opacity: .2; } }
/* 體檢遊戲的樣式在 game.css */
/* 留網址：一整條 */
.checker { margin-top: clamp(56px, 8vh, 88px); padding-top: 32px; border-top: 1px solid var(--ink); }
.c-h { font-size: clamp(19px, 1.6vw, 24px); font-weight: 700; margin-bottom: 22px; }
.c-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .9fr) auto; gap: 12px; align-items: end; }
.c-row input, .c-row .url-row input { height: 56px; padding: 0 16px; font-size: 16px; }
.c-row .btn { min-height: 56px; white-space: nowrap; }
.c-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; margin-top: 4px; }
.c-foot .fine { margin: 18px 0 0; }

.dv-body { position: relative; overflow: hidden; }
.dv-beam { position: absolute; left: 0; right: 0; top: -90px; height: 90px; pointer-events: none; z-index: 1; background: linear-gradient(180deg, rgba(237, 28, 36, 0), rgba(237, 28, 36, .12)); border-bottom: 1px solid rgba(255, 90, 94, .5); opacity: .35; animation: beam 5s cubic-bezier(.45, 0, .55, 1) infinite; }
.device.live .dv-beam { opacity: 1; animation-duration: 2.6s; border-bottom-color: rgba(255, 110, 106, .95); box-shadow: 0 6px 24px rgba(255, 74, 79, .35); }
@keyframes beam { 0% { top: -90px; } 100% { top: 100%; } }
.dv-checks { list-style: none; margin: 0; padding: 10px 12px 14px; }
.dv-checks li { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 16px; padding: 16px 12px; border-radius: 14px; border-bottom: 1px solid rgba(255, 255, 255, .05); transition: background-color .6s var(--ease); }
.dv-checks li:last-child { border-bottom: 0; }
.dv-checks svg { width: 46px; height: 46px; transform: rotate(-90deg); }
.dv-checks .tr { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 2.2; }
.dv-checks .pg { fill: none; stroke: #FF4A4F; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.1s var(--ease); filter: drop-shadow(0 0 4px rgba(255, 74, 79, .6)); }
.dv-checks .t { font-size: 17px; font-weight: 700; line-height: 1.35; }
.dv-checks .t small { display: block; font-size: 13px; font-weight: 400; color: rgba(242, 241, 238, .62); margin-top: 4px; line-height: 1.6; }
.dv-checks .st { font: 400 12px/1 var(--mono); font-style: normal; letter-spacing: .1em; color: rgba(242, 241, 238, .4); transition: color .6s var(--ease); }
.dv-checks .probe.on .st { color: #FF7A7D; }
.dv-checks .export:not(.on) .tr { stroke-dasharray: 3 4; }
.dv-checks .probe.on { background: rgba(237, 28, 36, .08); }
.dv-checks .probe.on .pg { stroke-dashoffset: 0; }
.dv-checks .probe.export:not(.on) svg { opacity: .4; }
.dv-checks .probe.export:not(.on) .t { color: rgba(242, 241, 238, .62); }
.url-row input { font-family: var(--mono); font-size: 17px; padding: 20px 18px; }
.switch { display: flex; align-items: center; gap: 14px; margin-top: 18px; cursor: pointer; user-select: none; position: relative; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 46px; height: 24px; border: 1px solid var(--line-2); position: relative; flex: none; transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: var(--ink); transition: transform .4s var(--ease); }
.switch input:checked + .track { background: var(--red); border-color: var(--red); }
.switch input:checked + .track::after { transform: translateX(22px); background: #fff; }
.switch input:focus-visible + .track { outline: 2px solid var(--red-text); outline-offset: 3px; }
.switch .s-t { font-size: 15.5px; line-height: 1.5; }
.switch .s-t small { display: block; color: var(--mute); font-size: 13px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.form-end { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.msg { font-size: 15px; line-height: 1.6; color: var(--mute); min-height: 1.6em; }
form[data-state="sending"] .btn[type="submit"] { opacity: .6; pointer-events: none; }
form[data-state="sent"] .msg { color: var(--ink); }
form[data-state="error"] .msg { color: var(--red-text); }
.done { display: none; }
form[data-state="sent"] .done { display: block; margin-top: 26px; border: 1px solid var(--red); padding: 22px 24px; }
form[data-state="sent"] .hide-sent { display: none; }
.done b { display: block; font-size: 19px; margin-bottom: 6px; }
.done p { color: var(--ink-2); font-size: 15px; }
.fine { margin-top: 16px; color: var(--mute); font-size: 13.5px; line-height: 1.7; }

/* ---------- 流程 ---------- */
/* 合作流程：四張深色玻璃卡，光環一張比一張完整 */
.process { flex-direction: column; align-items: stretch; }
.process .h2 { font-size: clamp(36px, 4.4vw, 70px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 118px; height: 1px; background: linear-gradient(90deg, rgba(237, 28, 36, 0), rgba(237, 28, 36, .5) 20%, rgba(237, 28, 36, .5) 80%, rgba(237, 28, 36, 0)); }
.steps li { position: relative; background: #111113; color: #F2F1EE; border-radius: 20px; padding: 0 26px 30px; border: 1px solid rgba(255, 255, 255, .06); box-shadow: 0 40px 70px -40px rgba(20, 8, 8, .55), inset 0 1px 0 rgba(255, 255, 255, .05); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.st-orb { position: relative; height: 210px; margin: 24px -8px 18px; }
.steps .no { font-family: var(--wide); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 600; font-size: 15px; letter-spacing: .1em; color: #FF6A6E; }
.steps h3 { font-size: 21px; margin: 10px 0 10px; color: #fff; }
.steps p { color: rgba(242, 241, 238, .7); font-size: 15px; line-height: 1.75; }
.steps li > * { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.fx-on .steps[data-reveal]:not(.in) li > * { opacity: 0; transform: translateY(16px); }
.steps.in li:nth-child(2) > * { transition-delay: .14s; }
.steps.in li:nth-child(3) > * { transition-delay: .28s; }
.steps.in li:nth-child(4) > * { transition-delay: .42s; }

/* ---------- 常見問題：左邊 AI 的聲音，右邊問答 ---------- */
.faq { flex-direction: column; align-items: stretch; }
.faq .vs-head .h2 { font-size: clamp(36px, 4.4vw, 70px); font-weight: 300; }
.console { position: relative; background: linear-gradient(180deg, #18181C, #0F0F12); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; overflow: hidden; color: #F2F1EE; box-shadow: 0 0 0 1px rgba(237, 28, 36, .05), 0 50px 110px -70px rgba(237, 28, 36, .4), inset 0 1px 0 rgba(255, 255, 255, .08); }
.console::before { content: ""; position: absolute; left: 40%; right: -10%; bottom: -40%; height: 80%; background: radial-gradient(closest-side, rgba(237, 28, 36, .16), transparent); pointer-events: none; }
.cs-top { position: relative; display: flex; align-items: center; gap: 10px; padding: 16px 22px; border-bottom: 1px solid rgba(255, 255, 255, .07); font: 400 12px/1 var(--mono); letter-spacing: .14em; color: rgba(242, 241, 238, .75); }
.cs-grid { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); min-height: 480px; }
.cs-qs { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-right: 1px solid rgba(255, 255, 255, .07); }
.cs-qs button { position: relative; text-align: left; background: none; border: 0; border-radius: 12px; padding: 14px 16px 14px 36px; font: 500 15.5px/1.5 var(--zh); color: rgba(242, 241, 238, .72); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.cs-qs button::before { content: ""; position: absolute; left: 17px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: rgba(242, 241, 238, .3); transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.cs-qs button:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.cs-qs button:focus-visible { outline: 2px solid #FF6A6E; outline-offset: -2px; }
.cs-qs button[aria-selected="true"] { background: rgba(237, 28, 36, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 90, 94, .35); }
.cs-qs button[aria-selected="true"]::before { background: #FF4A4F; box-shadow: 0 0 10px rgba(255, 74, 79, .9); }
.cs-a { position: relative; padding: 28px 30px 130px; }
.cs-panel + .cs-panel { margin-top: 30px; }
.cs-panel[hidden] { display: none; }
.cs-user { margin-left: auto; width: fit-content; max-width: 86%; background: #ECEAE4; color: #121214; padding: 11px 16px; border-radius: 16px 16px 4px 16px; font-size: 15.5px; font-weight: 500; line-height: 1.55; }
.cs-ai { display: flex; gap: 14px; margin-top: 20px; }
.cs-ai .ai-dot { margin-top: 10px; }
.cs-ai p { font-size: 16.5px; line-height: 1.9; color: rgba(242, 241, 238, .9); }
/* 常見問題：左欄標題＋問題清單，右欄「問泰坦」回答視窗（捲動時固定） */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-l .h2 { font-size: clamp(36px, 4vw, 64px); font-weight: 300; }
.faq-l .lead { margin-top: 18px; }
.faq-l .cs-qs { margin-top: 36px; padding: 0; gap: 0; border-right: 0; border-top: 1px solid rgba(255, 255, 255, .14); counter-reset: q; }
.faq-l .cs-qs button { border-radius: 0; padding: 17px 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 16px; }
.faq-l .cs-qs button::before { content: none; }
.faq-l .cs-qs button[aria-selected="true"] { background: none; box-shadow: none; color: #fff; }
.faq-l .cs-qs button[aria-selected="true"]::before { background: none; box-shadow: none; color: #FF4A4F; }
.faq-l .cs-qs button::after { content: "→"; position: absolute; right: 8px; top: 50%; transform: translate(-6px, -50%); opacity: 0; color: #FF4A4F; font-family: var(--mono); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.faq-l .cs-qs button[aria-selected="true"]::after, .faq-l .cs-qs button:hover::after { opacity: 1; transform: translate(0, -50%); }
/* 回答視窗跟左邊整欄（標題＋問題清單）垂直置中對齊 */
.faq-wrap .console { align-self: center; }
.faq-wrap .cs-a { padding: 28px 30px 36px; min-height: 300px; }
.voice { position: relative; margin-left: auto; width: 150px; height: 26px; }
@media (max-width: 1080px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } .faq-wrap .console { position: relative; top: auto; } }
/* 常見問題下面：最新三篇文章 */
.faq-more { margin-top: clamp(64px, 8vw, 112px); }
.fm-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.fm-t { font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; color: #F2F0EC; letter-spacing: .02em; }
.fm-all { color: rgba(242, 240, 236, .78); text-decoration: none; font-size: 14px; letter-spacing: .04em; padding: 10px 0; }
.fm-all span { color: #FF4A4F; display: inline-block; transition: transform .35s var(--ease); }
.fm-all:hover { color: #fff; } .fm-all:hover span { transform: translateX(4px); }
.fm-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fm-list li + li { border-left: 1px solid rgba(255, 255, 255, .08); }
.fm-list a { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 100%; padding: 28px 28px 30px; text-decoration: none; color: #F2F0EC; transition: background-color .35s var(--ease); }
.fm-list li:first-child a { padding-left: 0; }
.fm-cat { font: 400 12px/1 var(--mono); letter-spacing: .12em; color: #FF7A7D; text-transform: uppercase; }
.fm-title { font-size: 18px; font-weight: 500; line-height: 1.6; text-wrap: balance; }
.fm-arr { margin-top: auto; color: rgba(242, 240, 236, .5); font-family: var(--mono); transition: transform .35s var(--ease), color .35s var(--ease); }
.fm-list a:hover .fm-arr, .fm-list a:focus-visible .fm-arr { color: #FF4A4F; transform: translateX(6px); }
.fm-list a:hover .fm-title { color: #fff; }
@media (max-width: 860px) {
  .fm-list { grid-template-columns: minmax(0, 1fr); }
  .fm-list li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
  .fm-list a, .fm-list li:first-child a { padding: 24px 0; }
}
@media (prefers-reduced-motion: reduce) { .fm-arr, .fm-all span { transition: none; } }
.caret { display: inline-block; width: .5em; height: 1.05em; margin-left: 3px; vertical-align: -.15em; background: #FF4A4F; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- 聯絡 ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.info { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.info li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; gap: 16px; font-size: 16px; }
.info .lbl { line-height: 1.8; }
.info a { text-decoration: none; border-bottom: 1px solid var(--line-2); }
.info a:hover { border-color: var(--red-text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line-2); font-size: 14.5px; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.chips input:checked + span { background: #D3141B; border-color: #D3141B; color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--red-text); outline-offset: 2px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; }

/* ---------- 聯絡 ---------- */
/* 深色玻璃表單（淺底上的產品畫面） */
.glass-form {
  --ink: #F2F1EE; --mute: rgba(242, 241, 238, .62); --line-2: rgba(255, 255, 255, .16); --field: rgba(255, 255, 255, .045); --red-text: #FF6A6E;
  position: relative; background: linear-gradient(180deg, #17171B, #0F0F12); color: var(--ink); border: 1px solid rgba(255, 255, 255, .08); border-radius: 22px;
  padding: clamp(26px, 3vw, 40px); box-shadow: 0 60px 120px -50px rgba(237, 28, 36, .45), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.glass-form::before { content: ""; position: absolute; inset: -12% -8% auto 30%; height: 60%; background: radial-gradient(closest-side, rgba(237, 28, 36, .14), transparent); pointer-events: none; }
.gf-top { display: flex; align-items: center; gap: 10px; font: 400 12px/1 var(--mono); letter-spacing: .14em; color: rgba(242, 241, 238, .75); margin-bottom: 26px; }
.glass-form .field input, .glass-form .field textarea { border-radius: 10px; border-color: rgba(255, 255, 255, .13); }
.glass-form .field input:focus, .glass-form .field textarea:focus { border-color: rgba(255, 90, 94, .75); box-shadow: 0 0 0 4px rgba(237, 28, 36, .16); }
.glass-form .chips span { border-radius: 999px; border-color: rgba(255, 255, 255, .16); padding: 9px 16px; }
.glass-form .chips input:checked + span { box-shadow: 0 0 18px rgba(237, 28, 36, .5); }

.contact .info { border-top-color: var(--line-2); }

/* ---------- 終點：深色，大 Logo 立在紅色地平線上 ---------- */
/* 終點：一整屏。Ditto 光環從下面升起（--fp 由 site.js 依捲動寫入），標語一個字一個字亮 */
.finale { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding: 0 0 26px; color: #fff; background: #0B0B0D; }
.finale .wrap { position: relative; z-index: 1; }
.fin-in { flex: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: clamp(120px, 16vh, 170px); padding-bottom: clamp(60px, 10vh, 110px); }
.fin-orb { position: relative; width: min(100%, 62vh); aspect-ratio: 1; justify-self: end; transform: translateY(calc((1 - var(--fp, 1)) * 14vh)); opacity: calc(.3 + var(--fp, 1) * .7); pointer-events: none; }
.fin-k { font: 400 12px/1.4 var(--mono); letter-spacing: .2em; color: #FF6A6E; margin-bottom: 30px; }
.finale .slogan { font-size: clamp(34px, 4.9vw, 82px); line-height: 1.2; letter-spacing: .01em; }
.slogan .l1 { display: block; font-weight: 300; }
.slogan .l2 { font-weight: 800; }
.slogan .sl-ch { color: rgba(242, 241, 238, .14); transition: color .4s var(--ease); }
.slogan .l1 .sl-ch.is-lit { color: rgba(242, 241, 238, .78); }
.slogan .l2 .sl-ch.is-lit { color: #fff; }
@media (max-width: 1080px) { .fin-in { grid-template-columns: minmax(0, 1fr); } .fin-orb { justify-self: center; width: min(80vw, 420px); } }
.slogan .dot { display: inline-block; width: .16em; height: .16em; margin-left: .1em; background: var(--red); vertical-align: baseline; opacity: .25; transform: scale(.6); transition: opacity .4s var(--ease), transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.slogan.is-full .dot { opacity: 1; transform: none; }
.fin-txt .btn { margin-top: clamp(40px, 6vh, 56px); min-width: 300px; min-height: 62px; font-size: 17px; }
.foot { margin-top: 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; font-size: 13.5px; color: rgba(242, 241, 238, .8); }
.foot-co { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-co b { color: #fff; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot a { text-decoration: none; color: rgba(242, 241, 238, .85); }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.copy { font: 400 11px/1.4 var(--mono); letter-spacing: .12em; color: rgba(242, 241, 238, .6); }

/* ---------- 平板與手機 ---------- */
@media (max-width: 1080px) {
  .nav a:not(.btn) { display: none; }
  .nav { margin-left: auto; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1px solid rgba(242, 240, 236, .3); color: #F2F0EC; cursor: pointer; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .4s var(--ease), background-color .2s; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
  .menu-open .menu-btn span { background: transparent; }
  .menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
  .menu-open .nav { position: fixed; inset: 0; background: rgba(11, 11, 13, .97); flex-direction: column; justify-content: center; align-items: flex-start; padding: 100px var(--pad) 60px; gap: 6px; z-index: -1; }
  .menu-open .nav a:not(.btn) { display: block; font-size: 30px; font-weight: 300; color: #F2F0EC; padding: 10px 0; }
  .menu-open .nav .btn { margin-top: 24px; }
  /* 語言切換在平板和手機留在頁首（選單按鈕旁），打開選單時也一樣小 */
  .nav .lang a, .menu-open .nav .lang a { display: inline-flex; font-size: 0; line-height: 0; font-weight: 400; padding: 0 8px; color: rgba(242, 240, 236, .62); }
  .nav .lang a[aria-current="true"], .menu-open .nav .lang a[aria-current="true"] { color: #0B0B0D; }
  .nav { gap: 12px; }
  .menu-open .nav .lang { order: -1; margin-bottom: 18px; }
  .cad-grid, .contact-grid, .split-grid, .check-grid, .vs-head, .faq-grid, .shift-grid, .fin-top, .cad { grid-template-columns: minmax(0, 1fr); }
  .cad .fx-drawing { min-height: 72vw; }
  .route { grid-template-columns: 1fr; gap: 0; }
  .route li { padding: 0 0 44px 40px; }
  .route li:last-child { padding-bottom: 0; }
  .r-track, .route li:last-child .r-track { position: absolute; left: 6px; top: 8px; bottom: -8px; width: 2px; height: auto; margin: 0; }
  .route li:last-child .r-track { bottom: auto; height: 0; }
  .r-track::before { transform-origin: top; }
  .fx-on .route[data-reveal]:not(.in) .r-track::before { transform: scaleY(0); }
  .r-track::after { top: 0; left: -6px; margin-top: 0; }
  .r-n { font-size: 56px; margin-bottom: 14px; }
  .c-row { grid-template-columns: 1fr; }
  .device-col, .check-l { min-width: 0; }
  .vs-head { align-items: start; gap: 20px; }
  .split-head, .faq-head { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .foot { grid-template-columns: 1fr; }
  .geo-head, .geo-foot, .dash-main, .echo, .geo-foot .svc { grid-template-columns: 1fr; }
  .geo-head { gap: 20px; align-items: start; }
  .dq { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .engs { grid-template-columns: 1fr 1fr; }
  .dash-form { margin-left: 0; width: 100%; }
  .dash-form input, .dash-form input[name="region"] { width: auto; flex: 1 1 160px; }
  .fx-side { position: relative; width: 100%; height: min(100vw, 560px); margin-bottom: 8px; }
  .fx-side .stick { position: absolute; inset: 0; height: auto; }
  .hero { flex-direction: column; align-items: stretch; padding-bottom: 72px; }
  .hero .col-l { width: 100%; }
  .world { --S: min(92vw, 560px); position: relative; top: auto; right: auto; transform: none; margin: 32px auto 0; flex: none; }
  .ditto-grid { grid-template-columns: 1fr; }
  .orb-col { grid-column: 1; grid-row: 1; }
  .ditto-grid > .m-panel { grid-row: 2; }
  .orb-col { padding-top: 0; }
  .orb { position: relative; top: auto; width: min(84vw, 520px); margin-inline: auto; }
}
/* 麵包屑：內頁頂端、頁首正下方一行小字「首頁 ／ 頁名」，跟著頁面捲走；淺底首屏的頁面加 .crumbs--light */
.crumbs { position: absolute; top: 88px; left: 0; right: 0; z-index: 6; pointer-events: none; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font: 400 12px/1.5 var(--mono); letter-spacing: .08em; color: rgba(242, 240, 236, .5); }
.crumbs li + li::before { content: "／"; margin: 0 10px; color: #FF4A4F; }
.crumbs a { pointer-events: auto; color: inherit; text-decoration: none; transition: color .25s var(--ease); }
.crumbs a:hover, .crumbs a:focus-visible { color: #F2F0EC; }
.crumbs [aria-current] { color: rgba(242, 240, 236, .82); }
.crumbs--light ol { color: rgba(14, 15, 18, .5); }
.crumbs--light li + li::before { color: #C8141B; }
.crumbs--light a:hover, .crumbs--light a:focus-visible { color: #0B0B0D; }
.crumbs--light [aria-current] { color: rgba(14, 15, 18, .85); }
@media (max-width: 760px) {
  .crumbs { top: 78px; } .crumbs ol { font-size: 11.5px; }
  main > .crumbs + .sec { padding-top: 128px; }
}

/* 很窄的手機：標題裡的長句塞不下一行時，允許斷行，不要頂出畫面 */
@media (max-width: 350px) {
  .h2 .nw, h2 .nw, h1 .nw { white-space: normal; }
}
@media (max-width: 340px) {
  .btn { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav .btn { display: none; }
  .menu-open .nav .btn { display: inline-flex; }
  .brand img { height: 28px; }
  .sec { min-height: 0; padding: 96px 0 80px; align-items: flex-start; }
  .sec.shift, .sec.check { align-items: stretch; }
  .chat-body { padding: 20px 14px 8px; }
  .chat-top { padding: 14px 16px; }
  .typed { white-space: normal; overflow: visible; line-height: 1.5; }
  .m-user { font-size: 14.5px; }
  .srcs { grid-template-columns: 1fr 1fr; }
  .srcs li { padding: 0 8px; }
  .ans li { grid-template-columns: 4.4em 1fr auto; gap: 8px; padding: 10px 10px; font-size: 13.5px; }
  .ans .miss { grid-template-columns: 4.4em 1fr; }
  .cs-grid { grid-template-columns: 1fr; min-height: 0; }
  .cs-qs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .07); padding: 12px; scrollbar-width: none; }
  .cs-qs button { flex: none; white-space: nowrap; font-size: 14px; padding: 10px 14px 10px 30px; }
  .cs-qs button::before { left: 14px; }
  .cs-a { padding: 22px 18px 110px; min-height: 360px; }
  .cs-ai p { font-size: 15.5px; }
  .voice { left: 18px; right: 18px; height: 70px; }
  .foot-nav { grid-template-columns: repeat(2, 1fr); }
  .finale { padding-top: 96px; }
  .fx-drawing { height: 64vw; margin-bottom: 40px; }
  .hero { padding: 104px 0 56px; min-height: 100svh; }
  .hero h1 { font-size: clamp(40px, 11.4vw, 54px); margin-bottom: 18px; }
  .hero .lead { font-size: 15.5px; }
  .hero .more { margin-top: 26px; }
  .world { --S: min(100vw, 420px); margin: 8px auto 0; }
  .sec.ditto { padding-top: 96px; }
  .stats { grid-template-columns: 1fr; }
  .stats > div { border-left: 0; padding: 22px 0; border-bottom: 1px solid var(--line); }
  .twin, .fn, .nums, .two, .qgen-form { grid-template-columns: 1fr; }
  /* 手機：項目、舊做法、Ditto 由上往下 */
  .xs-h { grid-template-columns: 1fr auto; }
  .xs-h > span:first-child { display: none; }
  .xs-row { grid-template-columns: 1fr; gap: 14px; }
  .xs-new { font-size: 21px; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .st-orb { height: 190px; }
  .dv-checks { padding: 6px 6px 10px; }
  .dv-checks li { grid-template-columns: 38px 1fr; gap: 12px; padding: 14px 8px; }
  .dv-checks svg { width: 38px; height: 38px; }
  .dv-checks .st { display: none; }
  .dv-checks .t { font-size: 15.5px; }
  .eng { padding: 8px 12px 8px 10px; font-size: 13px; }
  .echo-steps li { grid-template-columns: 40px 1fr; }
  .echo-word { font-size: 22vw; }
  .ditto-word { font-size: 19vw; }
  .ditto-word.cad-word { font-size: 13vw; }
  .wm-row:has(> .cad-word) { margin-bottom: 32px; }

  .info li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- 全站動態：訊號線、段落掃描、標題寫出、游標光圈 ---------- */
/* 首頁主角：百變怪一路變身。全頁透明疊層，點不到、讀屏器略過；頁尾那顆改由主角落地，原本的藏起來 */
.morph { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 24; pointer-events: none; }
.morph-on .finale .fin-orb canvas { opacity: 0; }
/* 進度線：頁首最上緣一條 2px 的紅線，跟著捲動從左長到右 */
.sig-thread { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 31; pointer-events: none; }
.sig-fill { position: absolute; inset: 0; background: linear-gradient(90deg, #C4161C, #FF4A4F); transform-origin: 0 50%; transform: scaleX(0); }
/* 段落掃描：一段捲進來時，一道紅光從左掃過它的頂端，像訊號抵達 */
.sig-sweep { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 4; pointer-events: none; background: linear-gradient(90deg, rgba(237, 28, 36, .95), rgba(255, 74, 79, .5) 70%, rgba(255, 74, 79, 0)); clip-path: inset(0 100% 0 0); opacity: 0; }
.sig-sweep::after { content: ""; position: absolute; top: -9px; left: 0; width: 220px; height: 20px; background: radial-gradient(closest-side, rgba(255, 150, 140, .95), rgba(237, 28, 36, .35) 55%, transparent); transform: translateX(-220px); opacity: 0; }
.sig-in > .sig-sweep { animation: sig-sweep 1.6s cubic-bezier(.7, 0, .2, 1) both; }
.sig-in > .sig-sweep::after { animation: sig-head 1.1s cubic-bezier(.7, 0, .2, 1) both; }
@keyframes sig-sweep { 0% { clip-path: inset(0 100% 0 0); opacity: 1; } 65% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes sig-head { 0% { transform: translateX(-220px); opacity: 1; } 90% { opacity: 1; } 100% { transform: translateX(100vw); opacity: 0; } }
/* 標題寫出：捲到時，字從左到右被寫出來 */
/* 游標光圈：只在有滑鼠的電腦上；停在可以點的東西上會放大；在輸入框裡收起來 */
.tc-dot, .tc-ring { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; border-radius: 50%; transition: opacity .3s var(--ease); }
.tc-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #ED1C24; box-shadow: 0 0 10px rgba(255, 74, 79, .8); }
.tc-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255, 90, 94, .65); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), opacity .3s var(--ease); }
.tc-ring.tc-hot { width: 66px; height: 66px; margin: -33px 0 0 -33px; background: rgba(237, 28, 36, .1); border-color: rgba(237, 28, 36, .9); }
.tc-off .tc-dot, .tc-off .tc-ring { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .sig-thread, .sig-sweep, .tc-dot, .tc-ring { display: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .qlist li { opacity: 1; transform: none; }
}
