/* ==========================================================================
   M & D 全台大車隊
   材質：MOMO＝黑曜／黑鉻玻璃（night），DiDi＝銀白玻璃（day）
   顏色：黑曜、白金、墨；方向燈琥珀只給尖峰與狀態燈；LINE 綠只當 LINE 的小圓點；
   「禁」的紅取自車卡原本的設計，只出現在禁止標記。
   真正的 backdrop-filter 只用在：試算面板、選擇面板的遮罩。其他玻璃都是預先算好的漸層＋倒角。
   ========================================================================== */

:root {
  --obsidian: #0a0a0c;
  --platinum: #e7e9ed;
  --ink: #0f1014;
  --signal: #ffb224;
  --no: #e5484d;
  --line: #06c755;

  --f-display: "Archivo", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --f-cjk: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  /* 等寬字只給英數；中文落到黑體，不要掉到細明體 */
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.83, 0, .17, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --nav-h: 68px;

  /* night（預設） */
  --bg: var(--obsidian);
  --fg: #f3f4f6;
  --fg-2: #a6abb3;
  --fg-3: #8a8f98;
  --hair: rgba(255, 255, 255, .1);
  --hair-2: rgba(255, 255, 255, .18);
  --glass: rgba(255, 255, 255, .05);
  --glass-2: rgba(255, 255, 255, .09);
  --glass-edge: rgba(255, 255, 255, .16);
  color-scheme: dark;
}

html[data-tone="day"] {
  --bg: var(--platinum);
  --fg: var(--ink);
  --fg-2: #4d525b;
  --fg-3: #5c616a;
  --hair: rgba(15, 16, 20, .1);
  --hair-2: rgba(15, 16, 20, .2);
  --glass: rgba(255, 255, 255, .5);
  --glass-2: rgba(255, 255, 255, .78);
  --glass-edge: #fff;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--nav-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-cjk);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .6s var(--ease-out), color .4s var(--ease-out);
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
p, li, dd { text-wrap: pretty; }
::selection { background: var(--fg); color: var(--bg); }
[hidden] { display: none !important; }

/* 對焦框跟著元素所在的材質走：夜用白、晝用墨 */
:focus-visible { outline: 2px solid var(--focus, var(--fg)); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
.section[data-theme="night"], .stage, .foot, .dock, .chooser__panel, .face--momo, .member--momo, .calc { --focus: #f3f4f6; }
.section[data-theme="day"], .face--didi, .member--didi, .template, .cap--didi { --focus: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--fg); color: var(--bg); transition: top .2s; }
.skip:focus { top: 12px; }
.nw { white-space: nowrap; }

.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: .02em; }
.eyebrow { font-size: 13px; letter-spacing: .06em; color: var(--fg-3); font-weight: 500; }
.eyebrow.mono { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
sup { font-family: var(--f-mono); font-size: .62em; margin-left: 2px; opacity: .7; }

.h2 {
  font-family: var(--f-cjk);
  font-weight: 300;
  font-size: clamp(32px, 5.4vw, 76px);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin-top: 16px;
  font-feature-settings: "palt";
}
.head > .h2:first-child, .head--split > .h2 { margin-top: 0; }
.h2 b { font-weight: 800; }
.h2--solid { font-weight: 800; letter-spacing: -.02em; }
.h2--sm { font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; letter-spacing: .02em; }
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; white-space: nowrap; }
.ln > span { display: block; }
.h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }

.section { position: relative; padding: clamp(96px, 13vw, 176px) 0; }
.head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 84px); }
.head__lead { margin-top: 22px; color: var(--fg-2); font-size: clamp(15px, 1.2vw, 17px); max-width: 500px; }
.head--split { max-width: none; display: grid; grid-template-columns: 1.75fr 1fr; gap: 40px; align-items: end; }
.head--split .head__lead { margin-top: 0; }

/* 同一種材質的區段相接：留白收緊，中間畫一條內容寬度的髮絲線（大留白只留給換材質的地方） */
.section[data-theme="night"]:has(+ .section[data-theme="night"]) { padding-bottom: clamp(56px, 7vw, 96px); }
.section[data-theme="night"] + .section[data-theme="night"] { padding-top: clamp(56px, 7vw, 96px); }
.section[data-theme="night"] + .section[data-theme="night"] > .wrap:first-child::before {
  content: ""; display: block; height: 1px; background: var(--hair); margin-bottom: clamp(56px, 7vw, 96px); grid-column: 1 / -1;
}

.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 小圓點、藥丸 ---------- */
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); box-shadow: 0 0 0 3px color-mix(in srgb, var(--line) 20%, transparent); flex: none; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 20px 0 16px; border-radius: 999px;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .5s var(--ease-out), background-color .3s, border-color .3s;
}
.pill .mono { font-size: 12px; font-weight: 400; opacity: .6; }
.pill:active { transform: scale(.97); }
.pill--glass {
  background: linear-gradient(180deg, var(--glass-2), var(--glass));
  border: 1px solid var(--hair);
  box-shadow: inset 0 1px 0 var(--glass-edge);
}
.pill--glass:hover { border-color: var(--hair-2); }

/* ---------- 鍵帽按鈕（照海報上的厚玻璃按鈕） ---------- */
.cap {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  height: 64px; padding: 0 20px 0 14px; border-radius: 20px;
  text-align: left;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.cap::before { content: ""; position: absolute; inset: 5px; border-radius: 15px; border: 1px solid; pointer-events: none; }
.cap img { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.cap__txt { display: grid; line-height: 1.25; flex: 1; }
.cap__txt b { font-size: 16px; font-weight: 800; }
.cap__txt .mono { font-size: 11.5px; opacity: .65; font-weight: 400; }
.cap--momo {
  color: #f5f6f8;
  background: linear-gradient(180deg, #34363d 0%, #16171b 52%, #0c0c0f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), inset 0 0 0 1px rgba(255, 255, 255, .07), 0 6px 0 -1px #030304, 0 22px 34px -14px rgba(0, 0, 0, .9);
}
.cap--momo::before { border-color: rgba(255, 255, 255, .07); }
.cap--didi {
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #e8eaee 52%, #cdd1d8 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, .08), 0 6px 0 -1px #8e949d, 0 22px 34px -14px rgba(0, 0, 0, .7);
}
.cap--didi::before { border-color: rgba(15, 16, 20, .07); }
@media (hover: hover) { .cap:hover { transform: translateY(-3px); } }
.cap:active { transform: translateY(4px); transition-duration: .09s; }
.cap--momo:active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), inset 0 0 0 1px rgba(255, 255, 255, .07), 0 2px 0 -1px #030304, 0 10px 20px -10px rgba(0, 0, 0, .9); }
.cap--didi:active { box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, .08), 0 2px 0 -1px #8e949d, 0 10px 20px -10px rgba(0, 0, 0, .7); }

/* ---------- 導覽列（不用 backdrop-filter，用實色） ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  color: var(--fg);
  transition: transform .5s var(--ease-out), background-color .5s, border-color .5s, color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: color-mix(in srgb, var(--bg) 94%, transparent); border-bottom-color: var(--hair); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__pair { display: flex; align-items: center; }
.nav__pair img { width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 0 0 2px var(--bg); transition: transform .5s var(--ease-out), box-shadow .5s; }
.nav__pair img + img { margin-left: -9px; }
.nav__brand:hover .nav__pair img + img { transform: translateX(5px); }
.nav__name { font-size: 15px; font-weight: 500; letter-spacing: .04em; white-space: nowrap; }
.nav__name b { font-family: var(--f-display); font-variation-settings: "wdth" 118; font-weight: 800; letter-spacing: 0; margin-right: 6px; }
.nav__x { font-style: normal; font-weight: 300; font-variation-settings: "wdth" 100; font-size: .82em; margin: 0 .28em; position: relative; top: -.06em; opacity: .8; }
.nav__links { display: flex; gap: 2px; }
.nav__links a { position: relative; font-size: 14px; color: var(--fg-2); padding: 8px 12px; border-radius: 999px; transition: color .25s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--fg); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.nav__cta { display: flex; align-items: center; gap: 8px; }
.nav__line { display: inline-flex; flex: none; white-space: nowrap; align-items: center; gap: 9px; height: 40px; padding: 0 16px 0 13px; border-radius: 999px; font-size: 14px; font-weight: 700; background: var(--fg); color: var(--bg); transition: transform .4s var(--ease-out), background-color .4s, color .4s; }
.nav__line:active { transform: scale(.96); }
.nav__menu { display: none; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; font-size: 22px; border: 1px solid var(--hair); }
.sheet { position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 49; padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--hair); color: var(--fg); }
.sheet nav { display: grid; }
.sheet a { padding: 14px 2px; font-size: 20px; font-weight: 700; border-bottom: 1px solid var(--hair); }

/* ==========================================================================
   舞台
   ========================================================================== */
.stage { position: relative; color: #f3f4f6; }
.stage__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.stage__bg { position: absolute; inset: 0; background: var(--obsidian); overflow: hidden; }

/* 鉻弧光：在導覽列高度淡出、在標語和按鈕那一帶壓暗，不壓在字上 */
.arcs-wrap {
  position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 140px), radial-gradient(ellipse 38% 20% at 50% 74%, rgba(0, 0, 0, .1) 55%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 140px), radial-gradient(ellipse 38% 20% at 50% 74%, rgba(0, 0, 0, .1) 55%, #000 100%);
  mask-composite: intersect;
}
.arcs-rot { position: absolute; inset: -4%; }
.arcs-rot--a { animation: arc-drift 26s var(--ease-io) infinite alternate; }
.arcs-rot--b { animation: arc-drift 34s var(--ease-io) infinite alternate-reverse; }
.stage.is-idle .arcs-rot { animation-play-state: paused; }
@keyframes arc-drift { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
.arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arcs circle { fill: none; }
.floor { /* 展間地板的反光，很淡的一層 */
  position: absolute; left: 0; right: 0; top: 70%; bottom: 0;
  background: radial-gradient(60% 70% at 50% 100%, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 70%);
}
.stage__day {
  --sx: 140vw;
  position: absolute; left: 0; top: 50%; width: 300vmax; height: 300vmax; margin-top: -150vmax;
  transform-origin: 0 50%; transform: rotate(-12deg) translateX(var(--sx));
  overflow: hidden; pointer-events: none;
}
.stage__day::before { /* 接縫上的那道反光 */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; z-index: 1;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), -14px 0 30px rgba(0, 0, 0, .35);
}
.stage__day-in { position: absolute; inset: 0; transform-origin: 0 50%; transform: translateX(calc(var(--sx) * -1)) rotate(12deg); }
.stage__day-bg {
  position: absolute; left: 0; top: 50%; width: 100vw; height: 100vh; margin-top: -50vh; overflow: hidden;
  background:
    radial-gradient(110% 80% at 72% 18%, #fbfbfc 0%, rgba(251, 251, 252, 0) 62%),
    linear-gradient(180deg, #eef0f3 0%, #dde0e5 100%);
}
.stage__day-bg::after { /* 底部漸變成服務區的白金色，接起來不會有一條硬邊 */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28vh;
  background: linear-gradient(rgba(231, 233, 237, 0), var(--platinum));
}
.window { /* DIDI OPEN 主視覺的窗框斜光 */
  position: absolute; inset: -30% -10%; transform: rotate(-24deg);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4vw; pointer-events: none; opacity: .85;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 62%, transparent 96%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 62%, transparent 96%);
}
.window i { display: block; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .9) 32%, rgba(255, 255, 255, .55) 70%, rgba(255, 255, 255, 0)); filter: blur(16px); }

.hero {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: calc(var(--nav-h) + 8px) var(--gutter) 40px;
}
.hero__kicker { font-size: 12px; letter-spacing: .22em; color: #9ea3ac; display: flex; align-items: center; gap: 10px; }
.hero__kicker em { font-style: normal; font-family: var(--f-display); font-weight: 300; color: #f3f4f6; font-size: 15px; letter-spacing: 0; }
.hero__kicker .sep { width: 26px; height: 1px; background: #3a3d44; }
.sig { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); animation: blink 1s steps(1, end) 3 forwards; }
@keyframes blink { 0% { opacity: 1; } 45% { opacity: .2; } 100% { opacity: 1; } }
.hero__title { margin: 2.2vh 0 0; width: 100%; line-height: 1; }
/* 標誌：momo 徽章 × DiDi 徽章。兩個格子只負責佔位，真正的立體徽章由 JS 疊上去 */
.mark {
  --mark: clamp(118px, 19vw, 280px);
  display: flex; align-items: center; justify-content: center;
}
.mark__slot { display: block; width: var(--mark); height: var(--mark); flex: none; }
.mark__x {
  display: block; width: calc(var(--mark) * .42); text-align: center;
  font-family: var(--f-display); font-weight: 200; font-variation-settings: "wdth" 100;
  font-size: calc(var(--mark) * .3); line-height: 1; color: #b9bdc6;
}
.hero__sub {
  display: block; margin-top: 1.8vh;
  font-family: var(--f-cjk); font-weight: 300; font-size: clamp(20px, 2.4vw, 34px);
  letter-spacing: .5em; text-indent: .5em; color: #dadde2;
}
.hero__lead { margin-top: 3vh; max-width: 600px; font-size: clamp(17px, 1.5vw, 21px); font-weight: 700; color: #f3f4f6; }
.hero__cta { margin-top: 3.4vh; display: flex; gap: 14px; justify-content: center; }
.hero__cta .cap { width: 230px; }
.hero__hint { margin-top: 16px; font-size: 13px; color: #8a8f98; }

/* 開場前先藏好，避免字體載入時閃一下（JS 失效時會加 .no-motion，內容照樣顯示）
   手機不藏標語和按鈕：從 LINE 點進來第一眼就要能按 */
html.js:not(.no-motion):not(.intro-go):not(.intro-late) .hero__kicker,
html.js:not(.no-motion):not(.intro-go):not(.intro-late) .hero__sub,
html.js:not(.no-motion):not(.touch):not(.intro-go):not(.intro-late) .hero :is(.hero__lead, .hero__cta, .hero__hint) { opacity: 0; }
html.js:not(.no-motion):not(.intro-go):not(.intro-late) .mark__x { opacity: 0; }
html.js:not(.no-motion):not(.coin-go) .coin-wrap { opacity: 0; }

/* 徽章 */
.coin-wrap { position: absolute; left: 0; top: 0; z-index: 2; width: 0; height: 0; perspective: 1600px; pointer-events: none; }
.coin-wrap--b { z-index: 1; }
.coin-tilt, .coin-sway { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.coin {
  --d: 300px; --t: calc(var(--d) * .07); --sheen: 0;
  position: absolute; left: calc(var(--d) / -2); top: calc(var(--d) / -2);
  width: var(--d); height: var(--d);
  transform-style: preserve-3d;
}
.coin__face { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.coin__face img { width: 100%; height: 100%; }
.coin__face--front { transform: translateZ(calc(var(--t) / 2)); }
.coin__face--back { transform: rotateY(180deg) translateZ(calc(var(--t) / 2)); }
.coin__face::after { /* 鏡面反光：只跟著實際轉動角度移動，不會自己跑 */
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: linear-gradient(112deg, transparent 32%, rgba(255, 255, 255, .5) 47%, rgba(255, 255, 255, .08) 53%, transparent 64%);
  background-size: 300% 100%;
  background-position: calc(50% + var(--sheen) * 1%) 0;
  mix-blend-mode: soft-light;
}
.coin__edge { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; }
.coin__edge i {
  position: absolute; left: 0; top: 0; display: block;
  width: var(--w); height: var(--t);
  margin-left: calc(var(--w) / -2); margin-top: calc(var(--t) / -2);
  transform: rotateZ(var(--a)) translateY(calc(var(--d) / -2 + .6px)) rotateX(90deg);
  background: rgb(var(--g, 140), var(--g, 140), calc(var(--g, 140) + 6));
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.coin-shadow {
  position: absolute; left: -120px; top: 0; width: 240px; height: 30px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
  filter: blur(4px);
  transform: translateY(var(--sy, 170px));
}
/* 手機：徽章的微幅擺動交給 CSS（不用每幀跑 JS） */
html.touch:not(.no-motion) .coin-sway { animation: coin-sway 6s var(--ease-io) infinite alternate; }
@keyframes coin-sway { from { transform: rotateX(4deg) rotateY(-7deg); } to { transform: rotateX(4deg) rotateY(7deg); } }
html.touch .coin-wrap { z-index: 4; }
html.touch .coin-wrap--b { z-index: 4; }
html.touch .coin { cursor: pointer; }

/* 兩面的文字（桌機：疊在舞台右側；用透明度切換，螢幕閱讀器一直讀得到） */
.faces { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.face {
  position: absolute; top: 50%;
  left: calc(50% + 2vw); width: min(460px, 40vw);
  transform: translateY(-50%);
  opacity: 0;
}
.face.is-on { pointer-events: auto; }
.face .eyebrow { color: currentColor; opacity: .75; }
.face__logo { display: none; }
.face--momo { color: #f3f4f6; }
.face--didi { color: var(--ink); }
.face__title {
  margin-top: 18px;
  font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 120;
  font-size: clamp(56px, 6.8vw, 104px); line-height: .9; letter-spacing: -.035em;
}
.face__title small { display: block; margin-top: 14px; font-family: var(--f-cjk); font-size: clamp(17px, 1.6vw, 22px); font-weight: 700; letter-spacing: .02em; opacity: .75; }
.face__stat { margin-top: 30px; display: flex; align-items: baseline; gap: 12px; }
.face__stat b { font-family: var(--f-display); font-variation-settings: "wdth" 110; font-weight: 700; font-size: clamp(40px, 4.2vw, 60px); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.face__stat span { font-size: 15px; opacity: .75; }
.face__quote { margin-top: 16px; position: relative; display: inline-block; }
.face__quote span { display: inline-block; font-family: "LXGW WenKai TC", var(--f-cjk); font-size: clamp(17px, 1.6vw, 21px); transform: rotate(-2deg); transform-origin: 0 50%; opacity: .85; }
.brush { position: absolute; left: -2%; right: -4%; bottom: -10px; width: 106%; height: 12px; transform: rotate(-2deg); transform-origin: 0 50%; overflow: visible; }
.brush path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; opacity: .45; }
.face__list { margin-top: 26px; display: grid; grid-template-columns: repeat(3, max-content); gap: 8px; }
.face__list li { font-size: 14px; padding: 6px 13px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); background: color-mix(in srgb, currentColor 4%, transparent); }
.face__id { position: relative; margin-top: 30px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent); padding-bottom: 4px; transition: gap .3s var(--ease-out); }
.face__id::after { content: ""; position: absolute; inset: -10px -4px; }
.face__id:hover { gap: 14px; }

/* ==========================================================================
   服務：清透厚玻璃（照兩張海報的六宮格；沒有 backdrop-filter）
   ========================================================================== */
.services { overflow: hidden; }
/* 玻璃後面的光（比照試算面板：毛玻璃要有東西可以糊，才看得出是玻璃） */
.glassfield { position: relative; isolation: isolate; }
.glassfield__bg {
  position: absolute; inset: -90px calc(var(--gutter) * -1 - 4vw) -70px; z-index: -1; overflow: hidden; pointer-events: none;
  /* 四邊淡進背景，看不出是一塊矩形 */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent), linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent), linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-composite: intersect;
}
.gf-move { /* 底下一層銀色金屬漸層（DiDi 海報的底），光帶疊在上面 */
  position: absolute; inset: -12% 0;
  background: linear-gradient(115deg, #dde0e6 0%, #f6f7f9 26%, #c9ced6 50%, #eef0f3 70%, #d3d7de 100%);
}
.gf-band { position: absolute; top: -20%; height: 140%; transform: rotate(26deg); transform-origin: 50% 50%; }
.gf-band--glow { left: 6%; width: 18%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 50%, rgba(255, 255, 255, 0)); filter: blur(6px); }
.gf-band--steel { left: 30%; width: 13%; background: linear-gradient(90deg, rgba(80, 88, 102, 0), rgba(80, 88, 102, .55) 50%, rgba(80, 88, 102, 0)); filter: blur(10px); }
.gf-band--line { left: 47%; width: 3px; background: #fff; box-shadow: 0 0 22px 6px rgba(255, 255, 255, .95); }
.gf-band--glow2 { left: 60%; width: 24%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .95) 45%, rgba(255, 255, 255, 0)); filter: blur(10px); }
.gf-band--steel2 { left: 84%; width: 10%; background: linear-gradient(90deg, rgba(80, 88, 102, 0), rgba(80, 88, 102, .45) 50%, rgba(80, 88, 102, 0)); filter: blur(8px); }
.gf-arcs { position: absolute; inset: 0; width: 100%; height: 100%; }

.keys { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); perspective: 1200px; }
/* 清透厚玻璃：真的毛玻璃＋上亮下暗的邊緣＋內側第二道倒角（海報六宮格的做法） */
.key {
  position: relative;
  padding: 26px 26px 28px;
  border-radius: 26px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .16) 46%, rgba(255, 255, 255, .34) 100%);
  border: 1px solid rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(16px) saturate(170%) brightness(1.04);
  backdrop-filter: blur(16px) saturate(170%) brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .98),
    inset 1px 0 0 rgba(255, 255, 255, .55),
    inset 0 -1px 0 rgba(80, 88, 102, .22),
    inset 0 0 0 6px rgba(255, 255, 255, .06),
    inset 0 0 0 7px rgba(255, 255, 255, .42),
    inset 0 -18px 30px -12px rgba(120, 128, 142, .22),
    0 2px 6px rgba(30, 38, 54, .06),
    0 34px 54px -30px rgba(30, 38, 54, .5);
  display: flex; flex-direction: column;
  color: var(--ink);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.key::before, .badges::before { /* 游標在玻璃上時的一點反光 */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px circle at var(--gx, 30%) var(--gy, 0%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%);
  opacity: 0; transition: opacity .5s;
}
.key.is-lit::before, .badges.is-lit::before { opacity: 1; }
.key::after { /* 左上角的一點亮光，海報玻璃方塊上都有 */
  content: ""; position: absolute; left: 12px; top: 8px; width: 54px; height: 54px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0));
}
@media (hover: hover) {
  .key:hover { transform: translateY(-6px); }
  .key:hover .key__icon svg { animation: draw 1s var(--ease-out); }
}
.key:active { transform: translateY(2px); transition-duration: .09s; }
@keyframes draw { from { stroke-dasharray: 80; stroke-dashoffset: 80; } to { stroke-dasharray: 80; stroke-dashoffset: 0; } }
.key__icon { /* 銀色實心徽片 */
  position: relative; z-index: 1;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-size: 25px; color: #2a2d33;
  background: radial-gradient(circle at 32% 26%, #ffffff 0%, #e4e7ec 45%, #b9bec7 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 4px rgba(90, 96, 108, .25), 0 0 0 1px rgba(255, 255, 255, .9), 0 8px 16px -8px rgba(28, 34, 48, .45);
}
.key__icon svg { stroke-width: 1.9; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .9)); }
.key__name {
  position: relative; z-index: 1; margin-top: 24px; font-size: 22px; font-weight: 900; letter-spacing: -.01em; line-height: 1.35;
  min-height: calc(22px * 1.35 + 2px + 12.5px * 1.35);
}
.key__name small { display: block; font-size: 12.5px; font-weight: 500; color: #4d525b; letter-spacing: 0; margin-top: 2px; }
.key p { position: relative; z-index: 1; margin-top: 10px; color: #3d4149; font-size: 15px; line-height: 1.7; }

/* 底部四個保證：照海報做成一條分四格的玻璃長條 */
.badges {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .2));
  border: 1px solid rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(16px) saturate(170%) brightness(1.04);
  backdrop-filter: blur(16px) saturate(170%) brightness(1.04);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(80, 88, 102, .2), inset 0 0 0 5px rgba(255, 255, 255, .06), inset 0 0 0 6px rgba(255, 255, 255, .4), 0 26px 44px -28px rgba(30, 38, 54, .45);
}
.badges li { position: relative; display: flex; align-items: center; gap: 14px; padding: 20px 22px; color: var(--ink); }
.badges li + li { border-left: 1px solid rgba(15, 16, 20, .08); }
.badges svg { font-size: 26px; flex: none; color: #2a2d33; }
.badges span { display: grid; line-height: 1.4; font-size: 13px; color: #3d4149; }
.badges b { color: var(--ink); font-weight: 800; font-size: 15px; }

/* ==========================================================================
   怎麼叫車
   ========================================================================== */
.how { padding-top: clamp(24px, 4vw, 56px); }
.how__grid {
  display: grid; grid-template-columns: 1fr 1.05fr; column-gap: clamp(32px, 6vw, 96px); row-gap: 36px;
  grid-template-areas: "phone steps" "phone tpl"; align-items: start;
}
.how__phone { grid-area: phone; position: sticky; top: calc(var(--nav-h) + 3vh); display: flex; flex-direction: column; align-items: center; }
.steps { grid-area: steps; }
.template { grid-area: tpl; }
.phone {
  width: min(360px, 100%); height: min(620px, 74vh);
  border-radius: 46px; padding: 9px;
  background: linear-gradient(160deg, #fdfdfe, #d2d5db 42%, #f3f4f6 58%, #b7bbc3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px rgba(15, 16, 20, .12), 0 50px 90px -40px rgba(28, 34, 48, .6);
  display: flex; flex-direction: column; overflow: hidden;
}
.phone__bar { display: flex; align-items: center; gap: 10px; padding: 22px 14px 12px; border-radius: 38px 38px 0 0; background: #1c1d22; color: #fff; }
.phone__bar img { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.phone__who { flex: 1; min-width: 0; }
.phone__who b { display: block; font-size: 13.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone__who span { font-size: 10.5px; opacity: .6; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 11px; border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .9); white-space: nowrap; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: #6c717a; transition: background-color .3s; }
.chip.is-busy i { background: var(--signal); }
.chip.is-here i { background: var(--line); }
.chat { flex: 1; position: relative; overflow: hidden; padding: 14px 12px 10px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; background: linear-gradient(180deg, #9aa7b8, #8593a6); }
.chat__day { align-self: center; font-size: 10.5px; color: #fff; background: rgba(0, 0, 0, .18); padding: 2px 10px; border-radius: 999px; margin-bottom: auto; }
.msg { display: flex; max-width: 84%; transform-origin: 0 100%; }
.msg > p { padding: 8px 12px; border-radius: 18px; font-size: 13.5px; line-height: 1.5; }
.msg--me { align-self: flex-end; transform-origin: 100% 100%; }
.msg--me > p { background: #92e05c; color: #10210a; border-bottom-right-radius: 6px; }
.msg--them { align-self: flex-start; }
.msg--them > p { background: #fff; color: #15171b; border-bottom-left-radius: 6px; }
.msg--receipt > p { font-size: 12.5px; line-height: 1.6; }
html.js:not(.no-motion) .msg { display: none; }
html.js:not(.no-motion) .msg.is-in { display: flex; animation: msg-in .5s var(--ease-out) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(12px) scale(.94); } }
.phone__input { padding: 9px 12px 18px; background: #f5f6f7; border-radius: 0 0 38px 38px; }
.phone__input span { display: block; padding: 8px 14px; border-radius: 999px; background: #e7e9ec; color: #8a9098; font-size: 13px; }
.how__note { margin-top: 16px; font-size: 12px; color: var(--fg-3); }

.carcard { width: 230px; padding: 13px 13px 11px; border-radius: 16px; color: #f2f3f5; background: linear-gradient(160deg, #2b2d34, #111216 70%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 24px -10px rgba(0, 0, 0, .6); }
.carcard__top { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.carcard__top b { font-family: var(--f-display); font-variation-settings: "wdth" 120; font-weight: 800; font-size: 15px; letter-spacing: .03em; }
.carcard__top span { font-size: 10px; opacity: .6; }
.carcard dl { display: grid; gap: 7px; padding: 10px 0; }
.carcard dl div { display: grid; grid-template-columns: 38px 1fr; align-items: center; font-size: 12px; }
.carcard dt { opacity: .6; }
.carcard dd i { display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .18); transform-origin: 0 50%; }
html.js:not(.no-motion) .msg.is-in .carcard dd i { animation: bar-in .7s var(--ease-out) both; }
.carcard dl div:nth-child(2) dd i { animation-delay: .07s !important; }
.carcard dl div:nth-child(3) dd i { animation-delay: .14s !important; }
.carcard dl div:nth-child(4) dd i { animation-delay: .21s !important; }
@keyframes bar-in { from { transform: scaleX(0); } }
.carcard__rules { display: grid; gap: 6px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 11.5px; }
.carcard__rules p { display: flex; align-items: center; gap: 8px; }
.tag { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: 12px; font-weight: 900; flex: none; color: #fff; }
.tag--no { background: var(--no); }
.tag--ok { background: #3b3e46; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; }

.steps { position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 40px; width: 1px; background: var(--hair); }
.steps::after { background: var(--fg); bottom: auto; height: calc(var(--p, 0) * (100% - 80px)); transition: height .6s var(--ease-out); }
.step { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 20px; padding: 22px 0; }
/* 還沒輪到的步驟：只讓標題和編號變淡，說明文字維持清楚 */
.step h3, .step .step__n { transition: opacity .5s var(--ease-out), background-color .4s, color .4s, border-color .4s; }
html.js:not(.no-motion) .step:not(.is-on) h3 { opacity: .5; }
html.js:not(.no-motion) .step:not(.is-on) .step__n { opacity: .6; }
.step__n { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: var(--bg); border: 1px solid var(--hair-2); }
.step.is-on .step__n { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.step h3 { font-size: 20px; font-weight: 900; line-height: 36px; letter-spacing: -.01em; }
.step p { margin-top: 2px; color: var(--fg-2); font-size: 15px; }

.template { padding: 20px 22px 22px; border-radius: 22px; background: linear-gradient(180deg, #fff, #f2f3f5); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(15, 16, 20, .07), 0 24px 40px -26px rgba(28, 34, 48, .45); color: var(--ink); }
.template__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.template__title { font-weight: 800; font-size: 16px; }
.template__copy { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: var(--ink); color: #fff; transition: transform .3s var(--ease-out); }
.template__copy:active { transform: scale(.95); }
.template__copy svg { font-size: 15px; }
.template__copy.is-done svg path { stroke-dasharray: 24; animation: draw-check .35s var(--ease-out); }
@keyframes draw-check { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
.template__body { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #e9ebef; font-family: var(--f-cjk); font-size: 14px; line-height: 1.85; color: #2a2d33; white-space: pre-wrap; }
.template__send { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.template__btn { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 14px; font-size: 14.5px; font-weight: 700; transition: transform .3s var(--ease-out); }
.template__btn:active { transform: translateY(2px); }
.template__btn--momo { background: linear-gradient(180deg, #34363d, #121317); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 4px 0 -1px #030304; }
.template__btn--didi { background: linear-gradient(180deg, #fff, #d9dce1); color: var(--ink); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(15, 16, 20, .12), 0 4px 0 -1px #a2a7b0; }

/* ==========================================================================
   車資
   ========================================================================== */
.fare { overflow: clip; }
.calc-wrap { position: relative; isolation: isolate; }
.calc-arcs { /* 試算玻璃面板後面的一道鉻光，讓毛玻璃有東西可以糊 */
  position: absolute; inset: -12% -6%; width: auto; height: auto; z-index: -1; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent);
  mask-image: radial-gradient(closest-side, #000 72%, transparent);
}
.calc { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; border-radius: 28px; }
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -1px 0 rgba(0, 0, 0, .4), 0 30px 70px -30px rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: #16171b; } }
.calc::after { /* 游標在面板上時，玻璃表面的一點反光 */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 60%);
  opacity: 0; transition: opacity .5s;
}
.calc.is-lit::after { opacity: 1; }
.calc__result { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; border-right: 1px solid rgba(255, 255, 255, .08); }
.calc__label { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fg-3); }
.calc__mode { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--hair); color: var(--fg-2); font-size: 12.5px; }
.calc__mode.is-peak { color: var(--signal); border-color: color-mix(in srgb, var(--signal) 40%, transparent); }
.calc__mode.is-peak::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.calc__total { margin-top: 12px; display: flex; align-items: flex-start; gap: 8px; font-family: var(--f-display); font-variation-settings: "wdth" 112; font-weight: 800; line-height: .9; letter-spacing: -.04em; }
.calc__total .cur { font-size: 20px; letter-spacing: 0; margin-top: .5em; color: var(--fg-2); font-weight: 600; }
.odo { display: inline-flex; font-variant-numeric: tabular-nums; }
.calc__total .odo { font-size: clamp(80px, 9vw, 136px); }
.odo__col { display: inline-block; height: 1em; overflow: hidden; }
.odo__strip { display: flex; flex-direction: column; transition: transform .8s var(--ease-out); }
.odo__strip span { display: block; height: 1em; line-height: 1; }
.calc__lines { margin-top: 26px; display: grid; font-size: 13.5px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.calc__lines li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--hair); }
.calc__lines li span:last-child { color: var(--fg); white-space: nowrap; font-family: var(--f-mono); }
.calc__lines s { opacity: .6; }
.calc__fine { margin-top: 16px; font-size: 13px; color: var(--fg-3); }
.calc__cta { margin-top: 26px; align-self: flex-start; color: var(--bg); background: var(--fg); }

.calc__controls { padding: clamp(22px, 3vw, 40px); display: grid; gap: 24px; align-content: start; }
.calc__group { display: grid; gap: 24px; transition: opacity .4s; }
.calc__group.is-off { opacity: .28; pointer-events: none; }
.calc__row { display: flex; flex-wrap: wrap; gap: 10px; }
.calc__now { font-size: 13px; color: var(--fg-3); margin-top: -10px; }
.calc__drive-note { font-size: 13.5px; color: var(--fg-2); }
.calc__bar { display: none; }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--hair); }
.seg button { height: 40px; padding: 0 18px; border-radius: 10px; font-size: 15px; font-weight: 700; color: var(--fg-2); transition: color .3s, background-color .3s, box-shadow .3s; }
.seg button[aria-checked="true"] { color: var(--fg); background: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .06)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 4px 12px -4px rgba(0, 0, 0, .6); }
.seg--sm button { height: 36px; padding: 0 12px; font-size: 13.5px; }
.seg button[data-k="peak"][data-v="1"][aria-checked="true"]::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); margin-right: 7px; vertical-align: middle; transform: translateY(-1px); }

.range { display: grid; gap: 10px; }
.range__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--fg-2); }
.range__top output { color: var(--fg); font-size: 15px; }
.km-in { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-2); }
.km-in input {
  width: 5.2em; height: 40px; padding: 0 10px; text-align: right; font-size: 16px; color: var(--fg);
  background: rgba(0, 0, 0, .3); border: 1px solid var(--hair); border-radius: 10px; -moz-appearance: textfield; appearance: textfield;
}
.km-in input::-webkit-inner-spin-button, .km-in input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.range__row { display: flex; align-items: center; gap: 12px; }
.step-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--hair-2); font-size: 18px; line-height: 1; flex: none; display: grid; place-items: center; color: var(--fg); transition: background-color .2s; }
.step-btn:active { background: var(--glass-2); }
.range input[type="range"] { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; height: 32px; background: transparent; margin: 0; cursor: grab; --p: 40%; }
.range input[type="range"]:active { cursor: grabbing; }
.range input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--fg) var(--p), rgba(255, 255, 255, .14) var(--p)); }
.range input::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.range input::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--fg); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #c9ccd3 60%, #8d929b); box-shadow: 0 0 0 4px rgba(255, 255, 255, .08), 0 4px 10px rgba(0, 0, 0, .5); transition: transform .2s var(--ease-out); }
.range input::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #c9ccd3 60%, #8d929b); box-shadow: 0 0 0 4px rgba(255, 255, 255, .08), 0 4px 10px rgba(0, 0, 0, .5); }
.range input:active::-webkit-slider-thumb { transform: scale(1.12); }

.rates { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.dial__svg { width: 100%; height: auto; overflow: visible; }
.dial__track { fill: none; stroke: var(--hair); stroke-width: 9; }
.dial__peak { fill: none; stroke: var(--signal); stroke-width: 9; }
.dial__ticks line { stroke: var(--fg-3); stroke-width: .8; }
.dial__ticks line.major { stroke: var(--fg-2); stroke-width: 1.4; }
.dial__ticks text { fill: var(--fg-3); font-family: var(--f-mono); font-size: 8.5px; text-anchor: middle; dominant-baseline: central; }
.dial__hand { stroke: var(--fg); stroke-width: 2; stroke-linecap: round; }
.dial__hub { fill: var(--fg); }
.dial__now { margin-top: 14px; display: grid; justify-items: center; gap: 2px; font-size: 12.5px; color: var(--fg-3); }
.dial__now .mono { font-size: 20px; color: var(--fg); letter-spacing: .04em; }
.dial__now .is-peak { color: var(--signal); }
.rate-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hair); }
.rate { padding: 22px 0 24px; border-bottom: 1px solid var(--hair); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 26px; }
.rate:nth-child(odd) { padding-right: 24px; }
.rate:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--hair); }
.rate dt { width: 100%; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.rate dt .mono { font-size: 11.5px; color: var(--signal); font-weight: 500; }
.rate dd { display: flex; align-items: baseline; gap: 6px; }
.rate dd b { font-family: var(--f-display); font-variation-settings: "wdth" 110; font-weight: 700; font-size: 34px; letter-spacing: -.03em; line-height: 1; display: inline-block; }
.rate dd span { font-size: 13px; color: var(--fg-3); }
.rate .rate__note { font-size: 13.5px; color: var(--fg-2); flex: 1 1 200px; line-height: 1.6; }

/* ==========================================================================
   乘車須知
   ========================================================================== */
.notes__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.bigcard { perspective: 1400px; }
.bigcard__glass {
  position: relative; padding: clamp(24px, 3vw, 36px); border-radius: 28px; overflow: hidden;
  background: linear-gradient(155deg, #2b2d34 0%, #16171b 55%, #0d0e11 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 50px 90px -40px rgba(0, 0, 0, .9);
  transform-origin: 50% 100%;
}
.bigcard__glass::before { content: ""; position: absolute; inset: 7px; border-radius: 21px; border: 1px solid rgba(255, 255, 255, .06); pointer-events: none; }
.bigcard__glass::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .07) 50%, transparent 65%); background-size: 250% 100%; background-position: var(--shine, 100%) 0; }
.bigcard__top { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.bigcard__top img { width: 44px; height: 44px; border-radius: 50%; }
.bigcard__top b { display: block; font-size: 18px; color: #fff; }
.bigcard__top span { font-size: 13px; color: #9ea3ac; }
.bigcard__rules { display: grid; gap: 20px; padding-top: 24px; }
.bigcard__rules li { display: flex; gap: 14px; align-items: flex-start; }
.bigcard__rules .tag { width: 36px; height: 36px; font-size: 17px; border-radius: 10px; }
.bigcard__rules .tag--ok { border-radius: 50%; }
.bigcard__rules b { display: block; font-size: clamp(19px, 1.9vw, 24px); color: #fff; font-weight: 900; line-height: 1.4; }
.bigcard__rules small { font-size: 13px; color: #9ea3ac; }

.extras .h3 { margin-bottom: 12px; }
.extras__table { width: 100%; border-collapse: collapse; }
.extras__table th, .extras__table td { padding: 15px 0; border-bottom: 1px solid var(--hair); font-size: 16px; }
.extras__table th { text-align: left; font-weight: 500; color: var(--fg-2); }
.extras__table td { text-align: right; font-size: 16px; color: var(--fg); }
.extras__table td.mono { font-size: 17px; }

.promise { margin-top: clamp(64px, 8vw, 110px); }
.promise .h3 { margin-bottom: 12px; }
.promise__list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(28px, 4vw, 64px); }
.promise__list li { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 16px; align-items: start; padding: 22px 0; }
.promise__list li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hair); transform-origin: 0 50%; transform: scaleX(var(--s, 1)); }
.promise__list svg { font-size: 24px; color: var(--fg-2); margin-top: 3px; }
.promise__list p { color: var(--fg-2); font-size: 15px; line-height: 1.75; }
.promise__list b { display: block; color: var(--fg); font-size: clamp(17px, 1.6vw, 20px); font-weight: 800; margin-bottom: 4px; }
.promise__fine { margin-top: 18px; font-size: 13px; color: var(--fg-3); display: inline-block; }

/* ==========================================================================
   加入司機
   ========================================================================== */
.members { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); perspective: 1600px; }
.member {
  --gx: 50%; --gy: 50%;
  position: relative; overflow: hidden;
  min-height: 360px; padding: clamp(24px, 3vw, 36px);
  border-radius: 28px;
  display: flex; flex-direction: column; gap: 26px;
}
.member::before { content: ""; position: absolute; inset: 7px; border-radius: 21px; border: 1px solid; pointer-events: none; }
.member--momo { color: #f3f4f6; background: linear-gradient(150deg, #34363d 0%, #18191d 38%, #0b0b0d 70%, #232429 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .07), 0 50px 90px -40px rgba(0, 0, 0, .95); }
.member--momo::before { border-color: rgba(255, 255, 255, .06); }
.member--didi { color: var(--ink); background: linear-gradient(150deg, #ffffff 0%, #e6e9ed 40%, #cbcfd6 72%, #f1f2f5 100%); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255, 255, 255, .6), 0 50px 90px -40px rgba(0, 0, 0, .8); }
.member--didi::before { border-color: rgba(15, 16, 20, .07); }
.member__shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--gx) var(--gy), rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 60%); mix-blend-mode: soft-light; opacity: 0; transition: opacity .5s; }
.member:hover .member__shine { opacity: 1; }
.member header { display: flex; align-items: center; gap: 14px; position: relative; }
.member header img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6); }
.member header b { display: block; font-size: 20px; font-weight: 900; }
.member header span { font-size: 10.5px; letter-spacing: .16em; opacity: .7; }
.member__price { display: flex; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; position: relative; }
.member__price dt { font-size: 13px; opacity: .75; margin-bottom: 8px; }
.member__price dd { display: flex; align-items: flex-start; font-family: var(--f-display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: clamp(44px, 4vw, 60px); line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.member__price .cur { font-size: .22em; letter-spacing: 0; margin: .5em 6px 0 0; opacity: .6; font-weight: 600; }
.member__ref { font-size: 14px; opacity: .8; position: relative; }
.member__ref b { font-weight: 900; }
.member .pill { margin-top: auto; align-self: flex-start; position: relative; }
.member--momo .pill--glass { --glass: rgba(255, 255, 255, .05); --glass-2: rgba(255, 255, 255, .1); --hair: rgba(255, 255, 255, .14); --hair-2: rgba(255, 255, 255, .3); --glass-edge: rgba(255, 255, 255, .2); color: #fff; }
.member--didi .pill--glass { --glass: rgba(255, 255, 255, .4); --glass-2: rgba(255, 255, 255, .9); --hair: rgba(15, 16, 20, .12); --hair-2: rgba(15, 16, 20, .3); --glass-edge: #fff; color: var(--ink); }

.school { margin-top: clamp(48px, 6vw, 84px); display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 4vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--hair); }
.school__price { position: relative; }
.pages { position: relative; height: 120px; margin-bottom: 22px; }
.pages i { position: absolute; left: 6px; bottom: 0; width: 1px; height: 116px; background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .06)); transform-origin: 50% 100%; }
.pages__n { position: absolute; left: 100px; bottom: 6px; font-family: var(--f-mono); font-size: 12px; color: var(--fg-3); }
.school__num { margin: 12px 0 10px; display: flex; align-items: flex-start; font-family: var(--f-display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: 64px; letter-spacing: -.04em; line-height: 1; }
.school__num .cur { font-size: 16px; letter-spacing: 0; margin: .6em 6px 0 0; color: var(--fg-2); font-weight: 600; }
.school__desc { color: var(--fg-2); font-size: 15px; }
.school__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: start; counter-reset: ch; }
.school__list li { counter-increment: ch; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 14px; border: 1px solid var(--hair); font-size: 15px; font-weight: 500; white-space: nowrap; }
.school__list li::before { content: counter(ch, decimal-leading-zero); font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--hair); }
.school__fine { margin-top: 18px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-3); }

.kit { margin-top: clamp(48px, 6vw, 84px); }
.kit .h3 { margin-bottom: 20px; display: flex; align-items: baseline; gap: 12px; }
.kit__count { font-size: 13px; color: var(--fg-3); font-weight: 500; }
.kit__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kit__list button { width: 100%; min-height: 54px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--hair); text-align: left; font-size: 15px; color: var(--fg-2); transition: background-color .3s, color .3s, border-color .3s; }
.kit__list button:hover { border-color: var(--hair-2); color: var(--fg); }
.kit__list i { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--fg-3); display: grid; place-items: center; flex: none; font-size: 14px; color: transparent; transition: background-color .3s, border-color .3s, color .3s, transform .4s var(--ease-out); }
.kit__list button[aria-pressed="true"] { color: var(--fg); background: var(--glass); }
.kit__list button[aria-pressed="true"] i { background: var(--fg); border-color: var(--fg); color: var(--bg); transform: scale(1.08); }

.principles { margin-top: clamp(48px, 6vw, 84px); padding: clamp(24px, 3vw, 40px); border-radius: 24px; border: 1px solid var(--hair); }
.principles .h3 { margin-bottom: 22px; }
.principles__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.principles__list li { display: grid; gap: 12px; font-size: 16px; font-weight: 700; line-height: 1.5; }
.principles__list span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; border: 1px solid var(--hair-2); color: var(--fg-2); }
.principles__fine { margin-top: 22px; font-size: 13px; color: var(--fg-3); }

/* ==========================================================================
   常見問題
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .head { position: sticky; top: calc(var(--nav-h) + 40px); }
.qa { border-top: 1px solid var(--hair); }
.qa details { border-bottom: 1px solid var(--hair); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: clamp(17px, 1.5vw, 20px); font-weight: 700; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hair-2); display: grid; place-items: center; font-size: 16px; flex: none; transition: transform .5s var(--ease-out), background-color .3s, color .3s; }
.qa details[open] summary i { transform: rotate(45deg); background: var(--fg); color: var(--bg); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 52px 26px 0; color: var(--fg-2); font-size: 16px; }

/* ==========================================================================
   頁尾
   ========================================================================== */
.foot { position: relative; padding: clamp(80px, 10vw, 130px) 0 calc(28px + env(safe-area-inset-bottom)); background: var(--obsidian); color: #f3f4f6; overflow: hidden; }
.foot__call { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.foot__title { font-size: clamp(30px, 4vw, 54px); font-weight: 300; letter-spacing: .02em; line-height: 1.1; }
.foot__links { display: flex; gap: 14px; }
.foot__link {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 10px; align-items: center;
  min-width: 260px; padding: 16px 22px 16px 16px; border-radius: 24px;
  transition: transform .5s var(--ease-out);
}
.foot__link img { width: 52px; height: 52px; border-radius: 50%; grid-row: 1; }
.foot__link-txt { display: grid; line-height: 1.3; }
.foot__link b { font-size: 22px; font-weight: 900; }
.foot__link .mono { font-size: 13px; opacity: .65; }
.foot__go { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.foot__link:hover { transform: translateY(-4px); }
.foot__link--momo { background: linear-gradient(180deg, #2e3036, #121317); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .07), 0 6px 0 -1px #000; }
.foot__link--didi { --focus: var(--ink); color: var(--ink); background: linear-gradient(180deg, #fff, #d4d8de); box-shadow: inset 0 1px 0 #fff, 0 6px 0 -1px #6f7580; }
.foot__mark {
  --fm: clamp(96px, 17vw, 240px);
  margin: clamp(56px, 7vw, 96px) 0 clamp(28px, 4vw, 48px);
  display: flex; justify-content: center; align-items: center; user-select: none;
}
.foot__mark img { width: var(--fm); height: var(--fm); border-radius: 50%; filter: grayscale(1) brightness(.6); opacity: .3; }
.foot__mark span { width: calc(var(--fm) * .42); text-align: center; font-family: var(--f-display); font-weight: 200; font-size: calc(var(--fm) * .3); line-height: 1; color: #2a2c31; }
.foot__meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #8a8f98; }
.foot__note { margin-top: 12px; font-size: 12px; color: #8a8f98; }

/* ---------- 手機底部常駐（實色，不用 blur） ---------- */
.dock { display: none; }

/* ---------- 選擇 LINE ---------- */
.chooser { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.chooser__scrim { position: absolute; inset: 0; background: rgba(5, 5, 7, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.chooser__panel { position: relative; width: min(420px, 100%); padding: 22px; display: grid; gap: 10px; color: #f3f4f6; border-radius: 28px; background: linear-gradient(180deg, #1d1e23, #111215); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 40px 80px -30px rgba(0, 0, 0, .9); }
.chooser__title { font-size: 20px; font-weight: 900; margin-bottom: 6px; }
.chooser__title span { display: block; font-size: 13px; font-weight: 500; color: #9ea3ac; }
.chooser__opt { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 20px; transition: transform .4s var(--ease-out); }
.chooser__opt:hover { transform: translateX(4px); }
.chooser__opt--momo { background: linear-gradient(180deg, #34363d, #121317); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 5px 0 -1px #030304; }
.chooser__opt--didi { --focus: var(--ink); background: linear-gradient(180deg, #fff, #d4d8de); color: var(--ink); box-shadow: inset 0 1px 0 #fff, 0 5px 0 -1px #8e949d; margin-top: 4px; }
.chooser__opt img { width: 48px; height: 48px; border-radius: 50%; }
.chooser__opt > span { flex: 1; display: grid; }
.chooser__opt b { font-size: 18px; }
.chooser__opt .mono { font-size: 13px; opacity: .65; }
.chooser__opt svg { font-size: 20px; opacity: .7; }
.chooser__close { margin-top: 8px; height: 44px; border-radius: 14px; color: #9ea3ac; }

.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 90; transform: translate(-50%, 20px); padding: 10px 16px; border-radius: 999px; background: #f3f4f6; color: var(--ink); font-size: 13.5px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease-out); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 審稿模式 ?review=1：把待確認的內容框出來 ---------- */
html.review [data-verify] { outline: 1.5px dashed var(--signal); outline-offset: 4px; position: relative; }
html.review [data-verify]::after {
  content: "待確認 #" attr(data-verify);
  position: absolute; left: 0; top: 100%; margin-top: 8px; z-index: 30;
  max-width: 280px; width: max-content;
  font: 500 11px/1.45 var(--f-cjk); letter-spacing: 0; text-transform: none;
  color: #1a1200; background: var(--signal); padding: 4px 7px; border-radius: 5px;
  pointer-events: none; white-space: normal; text-align: left;
}
html.review details[data-verify]::after { top: 4px; left: auto; right: 52px; margin-top: 0; }
html.review body::before { content: "審稿模式：虛線框是待確認的內容"; position: fixed; left: 50%; top: calc(var(--nav-h) + 10px); transform: translateX(-50%); z-index: 70; padding: 6px 12px; border-radius: 999px; background: var(--signal); color: #1a1200; font: 600 12px/1.4 var(--f-cjk); }

/* ==========================================================================
   觸控／窄螢幕：舞台不釘住，照順序往下排；第一屏一定看得到兩顆 LINE
   ========================================================================== */
html.touch .stage__pin, html.no-motion .stage__pin { height: auto; overflow: visible; }
html.touch .stage__bg, html.no-motion .stage__bg { bottom: auto; height: 100svh; min-height: 560px; }
html.touch .stage__day, html.no-motion .stage__day { display: none; }
html.touch .hero, html.no-motion .hero { position: relative; inset: auto; min-height: 100svh; }
html.touch .faces, html.no-motion .faces { position: relative; inset: auto; pointer-events: auto; }
html.touch .face, html.no-motion .face { position: relative; top: auto; left: auto; width: auto; transform: none; opacity: 1; padding: 64px var(--gutter) 68px; }
html.touch .face__logo, html.no-motion .face__logo { display: block; width: 76px; height: 76px; border-radius: 50%; margin-bottom: 26px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .7); }
html.touch .face--momo, html.no-motion .face--momo { background: var(--obsidian); border-top: 1px solid rgba(255, 255, 255, .08); }
html.touch .face--didi, html.no-motion .face--didi { background: linear-gradient(180deg, #eef0f3, var(--platinum)); overflow: hidden; }
html.touch .face--didi::before, html.no-motion .face--didi::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 85% 0%, #fff, rgba(255, 255, 255, 0) 70%); pointer-events: none; }
html.touch .face--didi > *, html.no-motion .face--didi > * { position: relative; }
/* 手機上兩面的服務標籤跟下一區重複，拿掉 */
html.touch .face__list { display: none; }
@media (min-width: 761px) {
  html.no-motion .faces { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; }
  .keys { grid-template-columns: repeat(2, 1fr); }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .badges li:nth-child(3) { border-left: 0; }
  .badges li:nth-child(n+3) { border-top: 1px solid rgba(15, 16, 20, .08); }
  .rates { grid-template-columns: 220px 1fr; }
  .principles__list { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .school { grid-template-columns: 1fr; }
  .foot__call { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --nav-h: 58px; }
  html { scroll-padding-bottom: 84px; }
  body { font-size: 15px; }
  .nav__line { height: 44px; font-size: 13.5px; padding: 0 14px 0 12px; }
  .nav__menu { width: 44px; height: 44px; }
  .nav__brand { gap: 9px; min-width: 0; }
  .nav__pair img { width: 24px; height: 24px; }
  .nav__pair img + img { margin-left: -8px; }
  .nav__name { font-size: 13px; letter-spacing: .02em; }
  .nav__name b { margin-right: 3px; }
  .nav__cta { flex: none; }
  .head--split { grid-template-columns: 1fr; gap: 0; }
  .head--split .head__lead { margin-top: 18px; }
  .h2 { font-size: clamp(30px, 8.6vw, 44px); }
  .h2--sm { font-size: 30px; }
  .section { padding: 64px 0; }
  .section[data-theme="night"] + .section[data-theme="night"] { padding-top: 48px; }
  .section[data-theme="night"]:has(+ .section[data-theme="night"]) { padding-bottom: 48px; }
  .section[data-theme="night"] + .section[data-theme="night"] > .wrap:first-child::before { margin-bottom: 48px; }

  .hero { padding: calc(var(--nav-h) + 18px) var(--gutter) calc(28px + env(safe-area-inset-bottom)); justify-content: center; }
  .hero__kicker { font-size: 11px; letter-spacing: .18em; }
  .hero__title { margin-top: 18px; }
  .mark { --mark: clamp(104px, 31vw, 150px); }
  .hero__sub { font-size: 18px; margin-top: 12px; letter-spacing: .42em; text-indent: .42em; }
  .hero__lead { margin-top: 20px; font-size: 16.5px; }
  .hero__cta { margin-top: 22px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__cta .cap { width: auto; height: 58px; padding: 0 10px 0 9px; gap: 9px; border-radius: 17px; }
  .hero__cta .cap::before { inset: 4px; border-radius: 13px; }
  .hero__cta .cap img { width: 30px; height: 30px; }
  .hero__cta .cap__txt b { font-size: 14.5px; }
  .hero__cta .cap__txt .mono { font-size: 10.5px; }
  .hero__cta .dot { display: none; }
  .hero__hint { margin-top: 12px; font-size: 12.5px; }

  .face__title { font-size: 56px; }
  .face__stat b { font-size: 40px; }

  .keys { grid-template-columns: 1fr 1fr; gap: 12px; }
  .key { padding: 16px 14px 18px; border-radius: 20px; -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%); }
  .glassfield__bg { inset: -60px calc(var(--gutter) * -1) -40px; }
  .key::after { left: 10px; top: 8px; width: 34px; height: 34px; }
  .key__icon { width: 42px; height: 42px; font-size: 21px; }
  .key__name { margin-top: 14px; font-size: 17px; min-height: calc(17px * 1.35 + 2px + 11.5px * 1.35); }
  .key__name small { font-size: 11.5px; }
  .key p { font-size: 13px; line-height: 1.6; margin-top: 6px; }
  .badges li { padding: 16px 14px; gap: 10px; }
  .badges svg { font-size: 22px; }
  .badges b { font-size: 14px; }
  .badges span { font-size: 12px; }

  /* 怎麼叫車：手機上示意手機排在步驟後面，不黏住、不蓋字，捲到時自動播一遍 */
  .how__grid { grid-template-columns: 1fr; grid-template-areas: "steps" "phone" "tpl"; row-gap: 28px; }
  .how__phone { position: relative; top: auto; }
  .phone { width: 100%; max-width: 340px; height: min(440px, 62svh); min-height: 360px; border-radius: 34px; padding: 7px; }
  .phone__bar { padding: 14px 12px 10px; border-radius: 28px 28px 0 0; }
  .phone__input { border-radius: 0 0 28px 28px; padding-bottom: 12px; }
  .how__note { margin-top: 10px; }
  .step { padding: 16px 0; }
  html.js:not(.no-motion) .step:not(.is-on) h3, html.js:not(.no-motion) .step:not(.is-on) .step__n { opacity: 1; }
  .template__copy { height: 44px; padding: 0 16px; }

  .calc { grid-template-columns: 1fr; }
  .calc__result { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .calc__total .odo { font-size: 76px; }
  .calc__lines { margin-top: 14px; }
  .calc__lines li { padding: 6px 0; }
  .calc__cta { display: none; }
  .seg button { height: 44px; }
  .seg--sm button { height: 44px; padding: 0 13px; font-size: 13.5px; }
  .step-btn { width: 44px; height: 44px; }
  .range input[type="range"] { height: 44px; }
  .km-in input { height: 44px; }
  .calc__bar {
    display: flex; align-items: center; gap: 10px; grid-column: 1 / -1;
    position: sticky; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 3;
    margin: 0 10px 10px; height: 62px; padding: 0 7px 0 16px; border-radius: 20px;
    background: rgba(16, 17, 20, .96); border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 16px 40px -12px rgba(0, 0, 0, .6);
  }
  .calc__bar > span { font-size: 13px; color: var(--fg-3); }
  .calc__bar b { flex: 1; font: 800 26px/1 var(--f-display); font-variation-settings: "wdth" 112; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
  .calc__bar .pill { height: 48px; background: var(--fg); color: var(--bg); }
  .rates { grid-template-columns: 1fr; }
  .dial { width: 230px; margin: 0 auto; }
  .rate-list { grid-template-columns: 1fr; }
  .rate:nth-child(n) { padding-left: 0; padding-right: 0; border-left: 0; }
  .rate dd b { font-size: 30px; }

  .notes__grid { grid-template-columns: 1fr; }
  .promise__list { grid-template-columns: 1fr; }

  .members { grid-template-columns: 1fr; }
  .member { min-height: 0; }
  .pages { height: 72px; }
  .pages i { height: 68px; }
  .school__list { grid-template-columns: 1fr 1fr; }
  .school__list li { font-size: 14px; }
  .kit__list { grid-template-columns: 1fr; }
  .principles__list { grid-template-columns: 1fr; gap: 12px; }
  .principles__list li { grid-template-columns: 30px 1fr; align-items: center; gap: 14px; font-size: 15px; }

  .faq__grid { grid-template-columns: 1fr; }
  .faq .head { position: static; }
  .qa__a p { padding-right: 0; }

  .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .foot__links { display: grid; grid-template-columns: 1fr; }
  .foot__link { min-width: 0; }

  .dock {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 20px;
    background: rgba(16, 17, 20, .96); border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 16px 40px -12px rgba(0, 0, 0, .6);
    transform: translateY(150%); visibility: hidden;
    transition: transform .5s var(--ease-out), visibility 0s linear .5s;
  }
  .dock.is-on { transform: none; visibility: visible; transition-delay: 0s; }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 14px; color: #f3f4f6; }
  .dock a > span { display: grid; line-height: 1.15; }
  .dock b { font-size: 14.5px; }
  .dock small { font-size: 10.5px; opacity: .65; }
  .dock a:first-child { background: linear-gradient(180deg, #34363d, #16171b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
  .dock a:last-child { --focus: var(--ink); background: linear-gradient(180deg, #fff, #d9dce1); color: var(--ink); box-shadow: inset 0 1px 0 #fff; }
  .dock img { width: 26px; height: 26px; border-radius: 50%; }
}

/* ---------- 減少動態 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
