/* 首頁樣式。隱私權政策與支援頁各自內嵌較簡單的樣式。 */
:root {
  color-scheme: light dark;
  --fg: #111;
  --muted: #6b6b6b;
  --line: #e3e3e3;
  --bg: #fff;
  --soft: #f4f4f4;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root { --fg: #f2f2f2; --muted: #9a9a9a; --line: #262626; --bg: #000; --soft: #111; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.7 -apple-system, BlinkMacSystemFont, "PingFang TC", "Helvetica Neue", "Noto Sans TC", sans-serif;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--fg); }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }

/* 頂部導覽 */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 3.5rem; }
.brand { font-weight: 700; letter-spacing: .02em; text-decoration: none; }
.top nav { display: flex; align-items: center; gap: 1.25rem; font-size: .92rem; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--fg); }

/* 實機截圖：iPad Pro 11 吋橫向，已裁掉狀態列（2388×1620） */
.shot { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
/* 示範影片：捲到附近才載入，點一下可以暫停 */
.demo { background: var(--soft); cursor: pointer; }
.badge {
  display: inline-grid; place-items: center;
  width: 160px; height: 54px; border-radius: 10px;
  background: var(--fg); color: var(--bg);
  font-size: .75rem; text-decoration: none; text-align: center; line-height: 1.3;
}

/* 主視覺 */
.hero { text-align: center; padding: 6rem 0 3rem; }
.eyebrow { color: var(--muted); font-size: .95rem; margin: 0 0 1rem; letter-spacing: .04em; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.1; letter-spacing: -.02em;
  margin: 0 auto 1.25rem; max-width: 14ch;
}
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 34rem; margin: 0 auto 2rem; }
.hero .meta { color: var(--muted); font-size: .85rem; margin-top: .9rem; }
.hero-shot { display: block; max-width: 62rem; margin: 3.5rem auto 0; }

/* 區塊共用 */
section.block { padding: 6rem 0; border-top: 1px solid var(--line); }
.block-head { max-width: 40rem; margin-bottom: 3rem; }
.block-head h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .75rem; }
.block-head p { color: var(--muted); margin: 0; font-size: 1.1rem; }

/* 三步驟 */
/* 三步驟：橫向的 iPad 錄影要夠大才看得清楚，改成一列一步、左右交錯 */
.steps { counter-reset: step; }
.step {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: center;
  padding: 2.5rem 0;
}
.step:nth-child(even) { grid-template-columns: 1.6fr 1fr; }
.step:nth-child(even) .step-text { order: 2; }
.step h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.25; margin: 0 0 .6rem; }
.step h3::before {
  counter-increment: step; content: counter(step);
  display: block; color: var(--muted); font-size: .9rem; font-weight: 500; margin-bottom: .4rem;
}
.step p { color: var(--muted); margin: 0; }

/* 重點功能：圖文左右交錯 */
.feature {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: center;
  padding: 3rem 0;
}
.feature:nth-child(even) { grid-template-columns: 1.4fr 1fr; }
.feature:nth-child(even) .feature-text { order: 2; }
.feature h3 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; margin: 0 0 .75rem; }
.feature p { color: var(--muted); margin: 0 0 .75rem; }
.feature ul { color: var(--muted); padding-left: 1.2rem; margin: 0; }

/* 其他功能格狀列表 */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cell { background: var(--bg); padding: 1.75rem; }
.cell h3 { font-size: 1.05rem; margin: 0 0 .35rem; }
.cell p { color: var(--muted); margin: 0; font-size: .95rem; }

/* 隱私 */
.privacy { text-align: center; }
.privacy h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); margin: 0 0 1rem; }
.privacy .pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 1.75rem 0; }
.privacy .pills span { border: 1px solid var(--line); border-radius: 999px; padding: .35rem 1rem; font-size: .95rem; }
.privacy p { color: var(--muted); max-width: 36rem; margin: 0 auto; }

/* 結尾下載 */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 1.5rem; }
.cta .meta { color: var(--muted); font-size: .85rem; margin-top: .9rem; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; padding: 2rem 0 3rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
footer nav { display: flex; gap: 1.25rem; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .grid { grid-template-columns: 1fr; }
  .feature, .step, .feature:nth-child(even), .step:nth-child(even) { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature:nth-child(even) .feature-text, .step:nth-child(even) .step-text { order: 0; }
  .top nav .hide-sm { display: none; }
  .hero { padding-top: 4rem; }
  section.block { padding: 4rem 0; }
}
