/* ================================================================
   SayIt 產品頁改版樣張 v2（2026-12-01）
   v1 的木刻版畫語言（1px 墨線、四角框 .fc、圓角 ≤ 2px、不塗色塊）照舊用在文字、卡片、節點圖。
   v2 依 founder 回饋放寬三處：
   1. 背景改成「層層水墨山」：墨色暈染的面（遠淡近濃）＋山稜一條 1px 墨線，取代站上的線刻地景腳本。
   2. 第一屏的日／月是一顆實心訊號色圓（夜＝金、紙＝朱），接續「言」印章的朱紅；全頁只有這一顆。
   3. 影片的 Mac 視窗、iPhone 外框用貼近實物的圓角（8px／2rem），其餘元件仍 ≤ 2px。
   顏色只取 tokens.css 的墨色角色；水墨的濃淡＝同一個 --ink 疊不同透明度，深淺色自動跟著換。
   ================================================================ */

body { overflow-x: clip; }
.sv { --scape-k: 1; position: relative; max-width: 84rem; margin-inline: auto; padding: 1rem 1rem 6rem; color: var(--c-body); }
html.dark .sv { --scape-k: .85; } /* 夜色下墨＝月光色，同樣透明度看起來比紙上重，統一收一點 */
@media (min-width: 40rem) { .sv { padding-inline: 2.5rem; } }
@media (min-width: 64rem) { .sv { padding-inline: 5rem; } }

/* 紙紋：小塊平鋪的雜訊（不是整頁濾鏡），夜色用淡月光、紙色用淡墨 */
body { 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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .11 0 0 0 0 .1 0 0 0 0 .08 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
html.dark body { 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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .95 0 0 0 0 .93 0 0 0 0 .89 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.sv h1, .sv h2, .sv h3 { font-family: var(--font-serif); font-weight: var(--serif-weight); color: var(--c-title); line-height: var(--serif-leading); margin-top: 0; }
.sv a:not(.sv-btn):not(.sv-dl-item) { text-decoration: underline; text-decoration-color: var(--c-strong); text-underline-offset: .2em; }
.sv a:not(.sv-btn):not(.sv-dl-item):hover { color: var(--c-title); text-decoration-color: var(--c-title); }
.sv :focus-visible { outline: 2px solid var(--c-title); outline-offset: 3px; }
.sv kbd { font-family: var(--font-mono); font-size: .8em; border: 1px solid var(--c-strong); border-radius: 2px; padding: 0 .35em; color: var(--c-title); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.sv-langbar { display: flex; justify-content: flex-end; margin-bottom: 1rem; position: relative; z-index: 2; }
.sv-lang { display: inline-flex; gap: .5rem; align-items: center; font-size: var(--text-sm); color: var(--c-note); }
.sv-lang-tag { border: 1px solid var(--c-strong); padding: 0 .35rem; font-size: var(--text-xs); color: var(--c-title); }

/* 跟現行工具子頁一樣讓出「← 返回工具」的高度（scene-page.css 對 .sayit 的同一條規則） */
.pg-on[data-pg="tool"] .sv { margin-top: 7.375rem; padding-top: 0; }
@media (min-width: 64rem) { .pg-on[data-pg="tool"] .sv { margin-top: 6.5rem; } }
.pg-on .sv-langbar { min-height: 44px; align-items: center; }
@media (max-width: 39.99rem) { .pg-on[data-pg="tool"] .sv { margin-top: 6.25rem; } .pg-on .pg-back { top: 6.25rem; } .sv-langbar { margin-bottom: .25rem; } }

/* ================================================================
   水墨山（第一屏與區段轉場共用）
   每層一張獨立 SVG：路徑＝墨色漸層面（山稜濃、往下化成霧）＋山稜 1px 墨線。
   --d：深度（0 最遠、1 最近）；--a：這層的墨色濃度；JS 只寫 --px／--py 做視差。
   ================================================================ */
.sv-scape { position: absolute; pointer-events: none; overflow: hidden; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); } /* 山腳化進雲霧，跟下一段的紙面接起來，不留硬邊 */
.sv-layer { position: absolute; inset: 0 -2.5rem; width: calc(100% + 5rem); height: 100%; opacity: calc(var(--a) * var(--scape-k)); transform: translate3d(var(--px, 0px), var(--py, 0px), 0); }
.sv-layer path { fill: url(#sv-wash); stroke: var(--ink); stroke-opacity: .6; stroke-width: 1; vector-effect: non-scaling-stroke; }
.sv-layer:nth-of-type(1) { z-index: 10; } .sv-layer:nth-of-type(2) { z-index: 20; } .sv-layer:nth-of-type(3) { z-index: 30; }
.sv-layer:nth-of-type(4) { z-index: 40; } .sv-layer:nth-of-type(5) { z-index: 50; }
.sv-scape.is-live .sv-layer, .sv-scape.is-live .sv-sun { will-change: transform; }

/* 雲霧：底色的柔邊橢圓，蓋在兩層山之間，慢慢飄 */
.sv-mist { --fog: color-mix(in srgb, var(--bg) 70%, #fff); position: absolute; left: -15%; width: 130%; height: 26%; transform: translate3d(var(--mx, 0px), 0, 0); opacity: .55;
  background:
    radial-gradient(26% 50% at 18% 55%, var(--fog), transparent 70%),
    radial-gradient(20% 45% at 47% 45%, var(--fog), transparent 70%),
    radial-gradient(28% 50% at 80% 58%, var(--fog), transparent 70%); }
html.dark .sv-mist { --fog: color-mix(in srgb, var(--bg) 82%, var(--ink)); opacity: .6; } /* 夜裡的霧是被月光照亮的淡灰，不是比夜更黑的底色 */
.sv-mist-a { animation: sv-drift 70s ease-in-out infinite alternate; }
.sv-mist-b { animation: sv-drift 95s ease-in-out -40s infinite alternate-reverse; }
@keyframes sv-drift { from { translate: -4% 0; } to { translate: 4% 0; } }

/* 日／月：全頁唯一一顆訊號色，藏在最遠的山後面一半 */
.sv-sun { position: absolute; z-index: 5; width: clamp(1.75rem, 2.6vw, 2.5rem); aspect-ratio: 1; border-radius: 50%; background: var(--signal); opacity: .92; transform: translate3d(var(--px, 0px), var(--py, 0px), 0); }

/* 第一屏的山：鋪滿視窗寬、貼著第一屏底邊 */
.sv-scape-hero { z-index: 0; left: 50%; width: 100vw; translate: -50% 0; bottom: 0; height: min(78%, 40rem); }
.sv-scape-hero .sv-sun { left: 36%; top: 2%; }
@media (max-width: 63.99rem) { .sv-scape-hero .sv-sun { left: auto; right: 9%; top: 6%; } }
@media (max-width: 39.99rem) { .sv-scape-hero .sv-sun { display: none; } } /* 手機上會從影片框角落冒出來，像通知紅點，拿掉 */
.sv-scape-hero .sv-mist-a { top: 52%; z-index: 35; }
.sv-scape-hero .sv-mist-b { top: 30%; z-index: 15; opacity: .7; }

/* 區段轉場帶 */
.sv-scape-band { position: relative; display: block; width: 100vw; margin: 4rem 0 0 calc(50% - 50vw); height: clamp(8rem, 17vw, 16rem); }
.sv-scape-band .sv-mist-a { top: 42%; z-index: 25; }
.sv-after-band { border-top: 0 !important; padding-top: 1.5rem !important; margin-top: 0 !important; }

@media (prefers-reduced-motion: reduce) {
  .sv-mist { animation: none !important; }
}

/* ---------- 第一屏 ---------- */
.sv-hero { position: relative; display: grid; gap: 1.5rem; padding-bottom: 9rem; }
.sv-hero > :not(.sv-scape) { position: relative; z-index: 2; }
.sv-hero-copy { min-width: 0; }
@media (min-width: 64rem) {
  .sv-hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); grid-template-areas: "copy stage" "act stage"; column-gap: 4rem; row-gap: 2rem; align-content: start; min-height: calc(100svh - 9.25rem); padding-top: 2.5rem; padding-bottom: 13rem; }
  .sv-hero-copy { grid-area: copy; align-self: end; }
  .sv-stage { grid-area: stage; align-self: start; }
  .sv-hero-act { grid-area: act; align-self: start; }
}
.sv-eyebrow { display: flex; align-items: center; gap: .75rem; font-size: var(--text-sm); color: var(--c-note); letter-spacing: var(--tracking-wider); }
.sv-seal { width: 40px; height: 40px; border: 1px solid var(--c-strong); }
.sv-hero h1 { font-size: clamp(2.25rem, 7vw, 5rem); line-height: 1.12; margin-block: 1rem 1rem; letter-spacing: .04em; }
.sv-lead { font-size: var(--text-lg); line-height: 1.8; max-width: 30rem; }
.sv-lead b { color: var(--c-title); font-weight: var(--font-weight-medium); }
.sv-where { margin-top: 1rem; font-size: var(--text-sm); color: var(--c-note); letter-spacing: .04em; }
.sv-where span { color: var(--c-strong); margin-inline: .5rem; }
.sv-cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .75rem; } /* 三顆（Mac／Windows／iPhone）一樣大：放得下兩顆就兩欄，否則一顆一行 */
.sv-cta .sv-btn { white-space: nowrap; padding-inline: 1rem; }
.sv-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .6rem 1.25rem; border: 1px solid var(--c-strong); border-radius: 2px; background: var(--bg); color: var(--c-title); font-weight: var(--font-weight-medium); transition: border-color .15s; }
.sv-btn small { font-size: var(--text-xs); color: var(--c-note); font-weight: 400; }
.sv-btn:hover { border-color: var(--c-title); }
.sv-btn-main { border-width: 2px; border-color: var(--c-title); padding-inline: 1.4rem; } /* 線寬＝明暗：主按鈕只靠較粗的框線突出 */
.sv-ico { width: 1.15rem; height: 1.15rem; flex: none; }
.sv-cta-more { margin-top: 1rem; font-size: var(--text-sm); color: var(--c-note); display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- 示範影片 ---------- */
.sv-stage { margin: 0; padding: 0 0 2.5rem; }
.sv-stage-tabs { display: none; }
.sv-pending-tag { display: none; }
.sv-stage.has-pending .sv-pending-tag { display: block; position: absolute; z-index: 6; top: -.25rem; right: 0; padding: .1rem .55rem; border: 1px dashed var(--c-strong); background: var(--bg); color: var(--c-title); font-size: var(--text-xs); letter-spacing: .06em; }
.sv-dev { position: relative; background: var(--bg); }
.sv-dev-mac { width: 84%; border: 1px solid var(--c-strong); border-radius: 8px; }
.sv-dev-mac::before { content: ""; position: absolute; inset: 12px -12px -12px 12px; border: 1px solid var(--c-line); border-radius: 8px; z-index: -1; } /* 版畫的「錯版」第二道線，當作立體的厚度 */
.sv-mac-bar { display: flex; align-items: center; gap: 6px; height: 2rem; padding: 0 .75rem; border-bottom: 1px solid var(--c-line); font-size: var(--text-xs); color: var(--c-note); }
.sv-mac-bar i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--c-strong); }
.sv-mac-bar span { margin-inline: auto; padding-right: 33px; }
.sv-screen { position: relative; overflow: hidden; background: var(--bg); }
.sv-dev-mac .sv-screen { aspect-ratio: 16 / 10; border-radius: 0 0 7px 7px; }
.sv-screen video, .sv-screen .sv-poster { display: block; width: 100%; height: 100%; object-fit: cover; }
.sv-dev-ios { position: absolute; right: 0; bottom: 0; width: 26%; padding: .4rem; border: 1px solid var(--c-strong); border-radius: 2rem; z-index: 3; }
.sv-dev-ios::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; border: 1px solid var(--c-line); border-radius: 2rem; z-index: -1; }
.sv-dev-ios .sv-screen { aspect-ratio: 9 / 19.5; border-radius: 1.6rem; border: 1px solid var(--c-line); }
/* 截圖內容貼齊螢幕邊緣，直接套圓角會切掉角落的按鈕：螢幕內留一圈黑邊，畫面整張縮進去 */
.sv-dev-ios .sv-screen { padding: 7% 5%; background: #000; }
.sv-dev-ios .sv-screen video, .sv-dev-ios .sv-screen .sv-poster { object-fit: contain; border-radius: .7rem; }
.sv-stage[data-front="mac"] .sv-dev-mac { z-index: 1; }
.sv-stage figcaption { display: grid; gap: .4rem; margin-top: 1.75rem; max-width: 70%; font-size: var(--text-sm); color: var(--c-note); line-height: 1.7; }
.sv-stage figcaption b { color: var(--c-title); font-weight: var(--font-weight-medium); margin-right: .5rem; }

/* 播放／暫停鈕：播放中縮在左下角；暫停時（含減少動態效果）放大置中，就是「播放鈕」 */
.sv-vbtn { position: absolute; left: .6rem; bottom: .6rem; z-index: 2; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border: 1px solid var(--c-strong); border-radius: 50%; background: var(--bg); color: var(--c-title); cursor: pointer; transition: border-color .15s; }
.sv-vbtn:hover { border-color: var(--c-title); }
.sv-vbtn i { width: 10px; height: 12px; border-inline: 3px solid currentColor; } /* 暫停：兩條 */
.sv-dev.is-paused .sv-vbtn { left: 50%; top: 50%; bottom: auto; translate: -50% -50%; width: 3.75rem; height: 3.75rem; border-width: 2px; border-color: var(--c-title); }
.sv-dev.is-paused .sv-vbtn i { width: 0; height: 0; border: 0; border-left: 15px solid currentColor; border-block: 9px solid transparent; margin-left: 4px; } /* 播放：三角 */
.sv-dev.is-pending .sv-vbtn { display: none; }
.sv-dev-ios .sv-vbtn { left: 50%; translate: -50% 0; }
.sv-dev-ios.is-paused .sv-vbtn { translate: -50% -50%; }

@media (min-width: 40rem) and (max-width: 63.99rem) { .sv-stage { max-width: 42rem; } }
@media (max-width: 39.99rem) {
  .sv-hero { gap: 1rem; padding-bottom: 9rem; }
  .sv-br { display: none; }
  .sv-hero h1 { font-size: 2.375rem; margin-block: .5rem .5rem; }
  .sv-eyebrow img { width: 32px; height: 32px; }
  .sv-lead { font-size: var(--text-base); line-height: 1.75; }
  .sv-where { margin-top: .5rem; font-size: var(--text-xs); }
  .sv-stage { padding-bottom: 0; }
  .sv-stage-tabs { display: flex; gap: 0; margin-bottom: .75rem; }
  .sv-stage-tabs button { min-height: 2.5rem; min-width: 5.5rem; padding: 0 1rem; border: 1px solid var(--c-line); background: var(--bg); color: var(--c-note); font-size: var(--text-sm); cursor: pointer; }
  .sv-stage-tabs button + button { border-left: 0; }
  .sv-stage-tabs button[aria-pressed="true"] { border-color: var(--c-title); border-bottom-width: 2px; color: var(--c-title); }
  .sv-stage.has-pending .sv-pending-tag { top: .55rem; }
  .sv-dev { display: none; }
  .sv-stage[data-front="mac"] .sv-dev-mac, .sv-stage[data-front="ios"] .sv-dev-ios { display: block; }
  .sv-dev-mac { width: calc(100% - 8px); }
  .sv-dev-mac::before { inset: 8px -8px -8px 8px; }
  .sv-dev-ios { position: relative; width: 62%; margin-inline: auto; }
  .sv-stage figcaption { max-width: none; margin-top: 1.25rem; }
  .sv-stage[data-front="mac"] #sv-desc-ios, .sv-stage[data-front="ios"] #sv-desc-mac { display: none; }
  .sv-cta .sv-btn { flex: 1 1 100%; }
}

/* ---------- 共用區段 ---------- */
.sv-sec { position: relative; padding-top: 4rem; margin-top: 1rem; border-top: 1px solid var(--c-line); }
.sv-sec-first { border-top: 0; margin-top: 0; padding-top: 0; }
.sv-h2 { font-size: var(--serif-h2); margin-bottom: 1rem; max-width: 40rem; }
.sv-h3 { font-size: var(--serif-h3); margin-bottom: .75rem; }
@media (max-width: 39.99rem) { .sv-h2 { font-size: 1.625rem; } }
.sv-sub { font-size: var(--text-lg); line-height: 1.8; max-width: 40rem; margin-bottom: 2.5rem; }
.sv-small { font-size: var(--text-sm); color: var(--c-note); line-height: 1.8; margin-top: 1.25rem; max-width: 48rem; }
.sv-todo { display: inline-block; margin-inline: .25rem; padding: 0 .4rem; border: 1px dashed var(--c-strong); color: var(--c-title); font-size: var(--text-xs); }
.sv-link { display: inline-block; margin-top: 1rem; color: var(--c-title); }

.sv-steps { display: grid; gap: 1px; margin-top: 2rem; border: 1px solid var(--c-line); background: var(--bg); }
@media (min-width: 48rem) { .sv-steps { grid-template-columns: repeat(3, 1fr); } }
.sv-steps li { padding: 1.75rem 1.5rem; outline: 1px solid var(--c-line); }
.sv-steps h3 { font-size: var(--serif-h3); margin: .5rem 0 .5rem; }
.sv-steps p { line-height: 1.8; }
.sv-no { font-family: var(--font-serif); color: var(--c-note); font-size: var(--text-sm); }

.sv-feat { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 48rem) { .sv-feat { grid-template-columns: repeat(2, 1fr); } }
.sv-card { position: relative; padding: 1.6rem; border: 1px solid var(--c-line); background: var(--bg); }
.sv-card h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.35; margin-bottom: .6rem; }
.sv-card p { line-height: 1.8; }
/* 功能卡：第一張是主打（前後對照），橫跨整排；其餘四張「大字結果＋一句白話」 */
@media (min-width: 48rem) { .sv-card-hero { grid-column: 1 / -1; } }
@media (min-width: 64rem) { .sv-feat { grid-template-columns: repeat(4, 1fr); } }
.sv-card-hero h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.sv-ba { display: grid; gap: .75rem; align-items: center; margin-top: 1.5rem; }
@media (min-width: 48rem) { .sv-ba { grid-template-columns: 1fr auto 1fr; gap: 1.5rem; } }
.sv-ba p { margin: 0; padding: 1rem 1.2rem; border: 1px dashed var(--c-strong); line-height: 1.6; }
.sv-ba-tag { display: block; margin-bottom: .35rem; font-size: var(--text-xs); color: var(--c-note); letter-spacing: .08em; }
.sv-ba-said { font-size: var(--text-lg); color: var(--c-note); }
.sv-ba-said s { text-decoration-color: var(--c-title); text-decoration-thickness: 1.5px; color: var(--c-note); }
.sv-ba-got { border-style: solid !important; border-color: var(--c-title) !important; font-family: var(--font-serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: var(--c-title); }
.sv-ba-got .sv-ba-tag { font-family: var(--font-sans, inherit); }
.sv-ba-arrow { color: var(--c-title); font-size: 1.5rem; justify-self: center; }
@media (max-width: 47.99rem) { .sv-ba-arrow { rotate: 90deg; } }

/* ---------- iPhone：一張主圖＋三個重點 ---------- */
.sv-status { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--text-sm); color: var(--c-title); border: 1px solid var(--c-strong); padding: .15rem .65rem; margin-bottom: 1.25rem; background: var(--bg); }
.sv-status-dot { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--c-title); }
html.dark .t-light, html:not(.dark) .t-dark { display: none; }
.sv-ios-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 48rem) { .sv-ios-grid { grid-template-columns: minmax(14rem, 19rem) 1fr; gap: 4rem; } }
/* iPhone 外框：截圖內容貼齊螢幕邊緣，螢幕內留一圈黑邊（同第一屏 .sv-dev-ios .sv-screen 的做法），圓角不會切到畫面 */
.sv-iphone { position: relative; margin: 0 auto; width: min(100%, 17rem); padding: .45rem; border: 1px solid var(--c-strong); border-radius: 2.4rem; background: var(--bg); }
.sv-iphone::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; border: 1px solid var(--c-line); border-radius: 2.4rem; z-index: -1; }
.sv-iphone-screen { padding: 8% 5%; background: #000; border-radius: 2rem; border: 1px solid var(--c-line); }
.sv-iphone-screen img { display: block; width: 100%; height: auto; border-radius: .7rem; }
@media (max-width: 47.99rem) { .sv-iphone { order: 2; width: min(62%, 15rem); } } /* 窄螢幕先讀三個重點，圖放後面，不讓一張長圖把字推到下一屏 */
.sv-ios-copy .sv-h2 { margin-bottom: 1.75rem; }
.sv-ios-points { display: grid; gap: 1.25rem; }
.sv-ios-points li { display: grid; gap: .2rem; padding-left: 1.1rem; border-left: 2px solid var(--c-title); }
.sv-ios-points b { font-family: var(--font-serif); font-size: var(--text-xl); color: var(--c-title); font-weight: var(--serif-weight); line-height: 1.4; }
.sv-ios-points span { line-height: 1.7; }
.sv-ios-more { display: flex; flex-wrap: wrap; gap: .25rem 0; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--c-line); font-size: var(--text-sm); color: var(--c-note); line-height: 1.7; }
.sv-ios-more li:not(:last-child)::after { content: "・"; color: var(--c-strong); }
.sv-ios-follow { margin-top: .75rem; font-size: var(--text-sm); color: var(--c-note); }

/* ---------- 同步亮點：左 Mac、右 iPhone、中間箭頭 ---------- */
.sv-syncpic { display: grid; grid-template-columns: minmax(0, 3fr) minmax(4rem, 1.1fr) minmax(0, 1fr); align-items: end; gap: .75rem; max-width: 52rem; margin: 2rem 0 0; padding: 2rem 1.25rem 1.5rem; border: 1px solid var(--c-line); background: var(--bg); }
@media (min-width: 48rem) { .sv-syncpic { gap: 1.5rem; padding: 2.5rem 2.5rem 2rem; } }
.sv-sp-side { display: grid; justify-items: center; gap: .5rem; min-width: 0; }
.sv-sp-mac { width: 100%; padding: .35rem .35rem 0; border: 1px solid var(--c-strong); border-bottom-width: 6px; border-radius: 6px 6px 2px 2px; }
.sv-sp-mac img { display: block; width: 100%; height: auto; aspect-ratio: 960 / 680; }
.sv-sp-phone { width: min(100%, 7.5rem); padding: 5px; border: 1px solid var(--c-strong); border-radius: 1.1rem; }
.sv-sp-phone img { display: block; width: 100%; height: auto; padding: 8% 5%; background: #000; border-radius: .85rem; }
.sv-sp-name { margin-top: .25rem; font-family: var(--font-serif); font-size: var(--text-xl); color: var(--c-title); font-weight: var(--serif-weight); }
.sv-sp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; }
.sv-sp-chips i { font-style: normal; font-size: var(--text-xs); padding: .1rem .5rem; border: 1px solid var(--c-strong); color: var(--c-title); white-space: nowrap; }
.sv-sp-arrow { align-self: center; display: grid; justify-items: center; gap: .4rem; text-align: center; padding-bottom: 3.5rem; }
.sv-sp-arrow svg { width: 100%; height: 16px; overflow: visible; }
.sv-sp-arrow path { fill: none; stroke: var(--c-title); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.sv-sp-arrow path:first-child { stroke-dasharray: 5 4; }
.sv-sp-label { font-size: var(--text-xs); color: var(--c-title); line-height: 1.4; }
@media (min-width: 48rem) { .sv-sp-label { font-size: var(--text-sm); } }
@media (max-width: 39.99rem) { .sv-sp-chips i { font-size: .7rem; padding: .05rem .35rem; } .sv-sp-name { font-size: var(--text-base); } .sv-sp-arrow { padding-bottom: 3rem; } }
.sv-sync-pre { max-width: 52rem; margin: 1.5rem 0 0; line-height: 1.8; }
.sv-sync-pre b { color: var(--c-title); font-weight: var(--font-weight-medium); }
.sv-sync .sv-small { max-width: 52rem; margin-top: .5rem; }
.sv-nots { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.sv-nots li { border: 1px solid var(--c-strong); padding: .35rem .9rem; color: var(--c-title); font-size: var(--text-sm); background: var(--bg); }

.sv-two { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .sv-two { grid-template-columns: 1fr 1fr; } }
.sv-two .sv-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 10px; background: var(--hatch-dense); border-bottom: 1px solid var(--c-line); }
.sv-two .sv-card { padding-top: 2.1rem; }

/* ---------- 下載 ---------- */
.sv-dl { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
@media (min-width: 64rem) { .sv-dl { grid-template-columns: repeat(4, 1fr); } }
.sv-dl-item { display: flex; flex-direction: column; gap: .2rem; padding: 1.25rem; border: 1px solid var(--c-strong); border-radius: 2px; color: var(--c-body); background: var(--bg); }
a.sv-dl-item:hover { border-color: var(--c-title); }
.sv-dl-item b { font-family: var(--font-serif); font-size: var(--text-xl); color: var(--c-title); font-weight: 600; }
.sv-dl-item small { margin-top: .5rem; font-size: var(--text-xs); color: var(--c-small); }
.sv-dl-item.is-soon { border-style: dashed; border-color: var(--c-line); }
.sv-quick { counter-reset: q; display: grid; gap: .6rem; margin-top: 2rem; }
.sv-quick li { counter-increment: q; line-height: 1.8; }
.sv-quick li::before { content: counter(q) "．"; color: var(--c-note); font-family: var(--font-serif); }

/* ---------- FAQ ---------- */
.sv-faq { margin-top: 1.5rem; border-top: 1px solid var(--c-strong); max-width: 52rem; }
.sv-faq details { border-bottom: 1px solid var(--c-line); }
.sv-faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; color: var(--c-title); font-weight: var(--font-weight-medium); list-style: none; position: relative; }
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1rem; color: var(--c-note); font-size: 1.2rem; }
.sv-faq details[open] summary::after { content: "−"; }
.sv-faq p { padding-bottom: 1.25rem; line-height: 1.8; max-width: 44rem; }

/* 手機底部固定分頁列（mobile.css）會蓋住最後一段，留出空間 */
@media (max-width: 39.99rem) { .sv { padding-bottom: 8rem; } }

/* ---------- 節點圖（同步、資料流）：HTML 方框＋箭頭，寬螢幕橫排、手機直排 ---------- */
.sv-node-fig { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-top: 2rem; }
.sv-node { position: relative; padding: .9rem 1.1rem; border: 1px solid var(--c-title); background: var(--bg); }
.sv-node b { display: block; color: var(--c-title); font-weight: 500; }
.sv-node span { font-size: var(--text-sm); color: var(--c-note); }
.sv-node-dash { border-style: dashed; border-color: var(--c-strong); }
.sv-node-none { border: 1px dashed var(--c-line); margin-top: 1.25rem; }
.sv-node-none b { text-decoration: line-through; text-decoration-color: var(--c-strong); color: var(--c-note); }
.sv-arrow { position: relative; min-height: 3rem; display: flex; align-items: center; padding-left: 1.75rem; font-size: var(--text-xs); color: var(--c-note); }
.sv-arrow::before { content: ""; position: absolute; left: 1.1rem; top: 0; bottom: 6px; border-left: 1px dashed var(--c-title); }
.sv-arrow::after { content: ""; position: absolute; left: calc(1.1rem - 4px); bottom: 2px; width: 7px; height: 7px; border-right: 1px solid var(--c-title); border-bottom: 1px solid var(--c-title); rotate: 45deg; }
.sv-arrow span { background: var(--bg); padding: 0 .25rem; }
@media (min-width: 48rem) {
  .sv-node-fig { display: grid; grid-template-columns: 1fr 6.5rem 1fr 6.5rem 1fr; align-items: center; }
  .sv-node-none { grid-column: 3 / 4; }
  .sv-arrow { min-height: 0; height: 100%; padding: 1.1rem .4rem 0; justify-content: center; align-items: flex-start; text-align: center; }
  .sv-arrow::before { left: 0; right: 6px; top: 50%; bottom: auto; border-left: 0; border-top: 1px dashed var(--c-title); }
  .sv-arrow::after { left: auto; right: 2px; top: calc(50% - 3.5px); bottom: auto; rotate: -45deg; }
}
@media (prefers-reduced-motion: no-preference) { .sv-arrow::before { animation: sv-pulse 2.4s ease-in-out infinite; } }
@keyframes sv-pulse { 50% { opacity: .35; } }

/* 壓在山上的字：字後面墊一塊柔邊的「留白」（模糊過的紙色），像山水畫題字處的空白；字的對比回到紙面上的數字 */
.sv-hero-act, .sv-stage figcaption { position: relative; isolation: isolate; }
.sv-hero-act::before, .sv-stage figcaption::before { content: ""; position: absolute; inset: -1.25rem -2.5rem; z-index: -1; background: var(--bg); filter: blur(18px); border-radius: 2.5rem; } /* 柔邊放大，讀起來像山嵐散開的留白，不是一塊方形陰影；模糊不能再大，否則字底的紙色變薄、對比掉到 4.5 以下 */
/* 英文頁：英文大標題比中文長，同字級會排成三行、壓到太陽；縮到兩行、字距歸零 */
html[lang="en"] .sv-hero h1 { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: 0; }
/* 手機效能：頂部山景帶濾鏡＋遮罩，切換 Mac／iPhone 時版面高度改變會讓它整片重畫（iPhone 上明顯頓一下）→ 先畫成一張圖層，之後只搬動不重畫 */
.sv-scape-hero { will-change: transform; }
/* 手機：裝置框的「錯版」第二道線在窄螢幕看起來像破版，拿掉 */
@media (max-width: 39.99rem) { .sv-dev-mac::before, .sv-dev-ios::before { display: none; } }
/* 手機切換 Mac／iPhone：原本用 display:none 隱藏另一台，iPhone 的瀏覽器會丟掉隱藏圖片的解碼結果，切回來要重新解碼大圖而頓一下。
   改成兩台都保持畫好、只是看不見（不佔高度），切換時淡入 */
@media (max-width: 39.99rem) {
  .sv-stage { position: relative; }
  .sv-stage .sv-dev { display: block; transition: opacity .25s ease, visibility 0s; }
  .sv-stage[data-front="mac"] .sv-dev-ios, .sv-stage[data-front="ios"] .sv-dev-mac { position: absolute; top: 3.25rem; left: 0; right: 0; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .25s ease, visibility 0s .25s; }
  .sv-stage[data-front="ios"] .sv-dev-mac { width: calc(100% - 8px); }
}
@media (max-width: 39.99rem) and (prefers-reduced-motion: reduce) { .sv-stage .sv-dev { transition: none !important; } }
/* ---- 手機輕量版（2026-12-01 iPhone 實機回報：進頁與切換都頓）----
   iPhone 的瀏覽器畫 SVG 濾鏡、遮罩、大範圍模糊特別吃力，而滑入要一次畫整頁、切換又改變版面高度要重畫，每次都卡。
   手機上全部關掉：山的形狀保留、邊緣改平滑；紙紋、字底柔邊拿掉。 */
@media (max-width: 39.99rem) {
  .sv-layer path { filter: none; }
  .sv-scape { -webkit-mask-image: none; mask-image: none; }
  .sv-scape::after { content: ""; position: absolute; inset: auto 0 0; height: 22%; z-index: 60; background: linear-gradient(transparent, var(--bg)); }   /* 山腳化進紙面：遮罩改成一層漸層，便宜很多 */
  .sv-hero-act::before, .sv-stage figcaption::before { filter: none; background: none; }
  body, html.dark body { background-image: none; }
  .sv-scape-hero { will-change: auto; }
  /* iPhone 框：截圖直接填滿螢幕（原本螢幕內再留一圈黑邊，看起來像框中框） */
  .sv-dev-ios .sv-screen { padding: 0; background: #000; }
  .sv-dev-ios .sv-screen .sv-poster, .sv-dev-ios .sv-screen video { object-fit: cover; border-radius: 1.6rem; }
}
/* 切換鈕：原本第二顆拿掉左框線來共用中線，選到 iPhone 時左邊不會亮。改成各自有完整框線、往左疊 1px，被選中的浮到上層 */
@media (max-width: 39.99rem) {
  .sv-stage-tabs button { position: relative; }
  .sv-stage-tabs button + button { border-left: 1px solid var(--c-line); margin-left: -1px; }
  .sv-stage-tabs button[aria-pressed="true"] { z-index: 1; border-color: var(--c-title); }
}

/* 2026-12 iPhone 上架：iPhone 段的 App Store 按鈕、下載區的教學連結、推薦語 */
.sv-ios-get { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.75rem; }
.sv-ios-guide, .sv-first a { color: var(--c-title); }
.sv-first { margin-top: 1.25rem; }
.sv-quick a { margin-left: .4em; color: var(--c-title); white-space: nowrap; }
.sv-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; max-width: 72rem; }
.sv-q { display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; margin: 0; padding: 1.5rem 1.5rem 1.25rem; border: 1px solid var(--c-line); border-radius: 2px; background: var(--bg); }
.sv-q blockquote { margin: 0; }
.sv-q blockquote p { font-family: var(--font-serif); font-size: var(--text-lg); line-height: 1.7; color: var(--c-title); }
.sv-q blockquote p::before { content: "「"; }
.sv-q blockquote p::after { content: "」"; }
html[lang="en"] .sv-q blockquote p::before, .sv-q blockquote[lang="en"] p::before { content: "\201C"; }
html[lang="en"] .sv-q blockquote p::after, .sv-q blockquote[lang="en"] p::after { content: "\201D"; }
.sv-q-tr { margin-top: -.75rem; font-size: var(--text-xs); color: var(--c-small); }
.sv-q figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding-top: .9rem; border-top: 1px solid var(--c-line); font-size: var(--text-sm); color: var(--c-note); }
.sv-q figcaption a { color: var(--c-title); }
