/* ==========================================================================
   鑫貝斯 SBASE 官網 — 視覺概念稿
   設計概念：BLUEPRINT（藍圖）— 「先把地基打好」
   色彩一律使用下方 :root 變數，不要在頁面寫死色碼。
   ========================================================================== */

:root {
  /* 底色：暖紙白，不用純白，較有設計感 */
  --bg:          #F6F6F2;
  --bg-2:        #FFFFFF;
  --bg-soft:     #EFEFE9;

  /* 文字（--ink-3 為 #5F6673：舊值 #79808E 對紙白底僅 3.66:1，未達 AA 4.5:1） */
  --ink:         #10131A;
  --ink-2:       #444B58;
  --ink-3:       #5F6673;

  /* 品牌色：取自 2011 名片原稿 鑫貝斯.ai 的向量路徑（權威來源） */
  --brand:       #1E6FAF;   /* LOGO 的「e」與品牌藍 */
  --brand-dark:  #17578A;
  --brand-soft:  #E7F1F9;
  --brand-lite:  #7DC9EC;   /* 深色底上的品牌藍 */

  /* 品牌綠：僅用於圖形、標線、底紋等「不承載白字」的地方 */
  --accent:      #2DAC6F;   /* LOGO 的綠色勾勒 */
  --accent-soft: #E3F6EC;

  /* CTA 專用深綠：白字按鈕用。品牌綠 #2DAC6F 配白字僅 2.90:1，
     必須壓深才過 AA（#0A8052 = 4.97:1）。僅用於轉換按鈕。 */
  --cta:         #0A8052;
  --cta-dark:    #086A44;

  /* 深色區塊 */
  --dark:        #0C0E14;
  --dark-2:      #171B24;

  /* 線條 */
  --line:        #DEDED6;
  --line-2:      #C9C9BF;
  --grid:        rgba(16, 19, 26, .055);

  --r:           6px;
  --r-lg:        12px;
  --maxw:        1200px;

  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  /* 藍圖網格底 */
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .6em; letter-spacing: -.01em; font-weight: 800; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 技術標註感的小標籤（藍圖語彙） ---------- */
.tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 600;
}
.tag::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--brand);
  display: inline-block;
}
.tag.on-dark { color: var(--brand-lite); }
.tag.on-dark::before { background: var(--brand-lite); }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-2px); }
.btn-cta      { background: var(--cta); color: #fff; box-shadow: 0 6px 20px rgba(10,128,82,.30); }
.btn-cta:hover{ background: var(--cta-dark); color: #fff; }
.btn-line     { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); background: rgba(0,0,0,.02); }
.btn-line.on-dark { color: #fff; border-color: rgba(255,255,255,.3); }
.btn-line.on-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); color:#fff; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ==========================================================================
   頁首（由 js/layout.js 注入）
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  /* 不透明底色：頁首固定，避免捲動時 LOGO 底下透出內容 */
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 74px; display: flex; align-items: center; gap: 28px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* LOGO：向量，由 2011 名片原稿 鑫貝斯.ai 抽出路徑重建（7KB SVG）。
   深色底改用整體反白版 sbase-logo-white.svg，不再需要白色底板。 */
.logo-img { height: 28px; width: auto; }
.logo-img.on-dark { height: 30px; }

/* 品牌大圖橫幅 */
.brand-band { line-height: 0; border-block: 1px solid var(--line); }
.brand-band img {
  width: 100%; height: clamp(150px, 20vw, 250px);
  object-fit: cover; object-position: center;
}
.logo-txt   { font-weight: 800; font-size: 19px; letter-spacing: .06em; color: var(--ink); }
.logo-txt small { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .18em; color: var(--ink-3); font-family: var(--mono); }

.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  padding: 8px 14px; border-radius: var(--r);
  color: var(--ink-2); font-size: 15px; font-weight: 600;
}
.nav a:hover { background: rgba(0,0,0,.045); color: var(--ink); }
.nav a.active { color: var(--brand); background: var(--brand-soft); }
.header-cta { margin-left: 10px; }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line-2); border-radius: var(--r);
  width: 42px; height: 40px; cursor: pointer; color: var(--ink);
  font-size: 19px; line-height: 1;
}

/* ==========================================================================
   區塊通用
   ========================================================================== */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section.dark {
  background: var(--dark); color: #E9EBF0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
}
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: #A9B1C2; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h1,
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-head p  { color: var(--ink-2); font-size: 17px; margin: 0; }
.section.dark .section-head p { color: #A9B1C2; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: 84px 0 96px; position: relative; overflow: hidden; }
.hero-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 62px);
  letter-spacing: -.028em;
  margin-bottom: .35em;
}
.hero h1 .u {
  background: linear-gradient(transparent 62%, var(--accent-soft) 62%);
  box-shadow: inset 0 -3px 0 var(--accent);
}
.hero-lead { font-size: 18px; color: var(--ink-2); max-width: 30em; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px dashed var(--line-2);
  font-size: 14px; color: var(--ink-3);
}
.hero-meta b { display: block; font-size: 26px; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }

/* 藍圖線框插圖 */
.blueprint { position: relative; }
.blueprint svg { width: 100%; height: auto; display: block; }
.bp-note {
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-3);
  text-align: right; margin-top: 12px; letter-spacing: .05em;
}

/* ==========================================================================
   信任列
   ========================================================================== */
.trustbar { border-block: 1px solid var(--line); background: var(--bg-2); }
.trustbar .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
}
.trust-item { background: var(--bg-2); padding: 30px 22px; text-align: center; }
.trust-item b {
  display: block; font-size: 32px; font-weight: 800; color: var(--brand);
  letter-spacing: -.03em; line-height: 1.2;
}
.trust-item span { font-size: 13.5px; color: var(--ink-3); }

/* ==========================================================================
   卡片格
   ========================================================================== */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(16,19,26,.07);
}
.card h3 { font-size: 19px; margin-bottom: .5em; }
.card p  { color: var(--ink-2); font-size: 15px; margin: 0; }
.card .num {
  font-family: var(--mono); font-size: 12px; color: var(--brand);
  letter-spacing: .1em; font-weight: 600; display: block; margin-bottom: 16px;
}
.card .price {
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2);
  font-family: var(--mono); font-size: 14px; color: var(--ink); font-weight: 600;
}
.card .price em { font-style: normal; color: var(--ink-3); font-size: 12.5px; }

.compare-col { border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--line); }
.compare-col.bad  { background: var(--bg-soft); }
.compare-col.good { background: var(--bg-2); border-color: var(--brand); box-shadow: 0 10px 34px rgba(30,111,175,.13); }
.compare-col h3 { font-size: 17px; display: flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.compare-col ul { list-style: none; padding: 0; margin: 0; }
.compare-col li {
  padding: 11px 0 11px 30px; position: relative;
  border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2);
}
.compare-col li:first-child { border-top: 0; }
.compare-col.bad  li::before { content: "✕"; position: absolute; left: 4px; color: var(--ink-3); font-weight: 700; }
.compare-col.good li::before { content: "✓"; position: absolute; left: 2px; color: var(--brand); font-weight: 800; }

/* ==========================================================================
   作品案例
   ========================================================================== */
.work {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.work:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(16,19,26,.10); border-color: var(--line-2); }
.work-thumb {
  aspect-ratio: 16 / 10; position: relative;
  background: var(--dark); display: grid; place-items: center; overflow: hidden;
}
.work-thumb svg { width: 100%; height: 100%; }
.work-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.work-cat {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em;
  color: var(--ink-3); text-transform: uppercase; margin-bottom: 8px;
}
.work-body h3 { font-size: 18px; margin-bottom: .35em; }
.work-body p { font-size: 14.5px; color: var(--ink-2); margin: 0 0 16px; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.chip {
  font-size: 12px; padding: 4px 10px; border-radius: 999px;
  background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line);
}

/* ==========================================================================
   流程
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 0 26px 0 0; position: relative; }
.step-n {
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--brand);
  width: 40px; height: 40px; border: 1.5px solid var(--brand); border-radius: 50%;
  display: grid; place-items: center; background: var(--bg-2); margin-bottom: 20px; position: relative; z-index: 2;
}
.step::after {
  content: ""; position: absolute; top: 20px; left: 40px; right: 0;
  height: 1px; background: var(--line-2); z-index: 1;
}
.step:last-child::after { display: none; }
.step h3 { font-size: 17px; margin-bottom: .4em; }
.step p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
.step .dur { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-top: 10px; display: block; }

/* ==========================================================================
   CTA 區塊
   ========================================================================== */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: .4em; }
.cta-band p { font-size: 17px; max-width: 44em; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   表單（詢價 RFQ）
   ========================================================================== */
.form-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 44px; align-items: start; }
.form-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 38px;
}
.field { margin-bottom: 22px; }
.field > label {
  display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 8px; color: var(--ink);
}
.field .req { color: var(--accent); margin-left: 3px; }
.field .hint { font-weight: 400; color: var(--ink-3); font-size: 13px; margin-left: 6px; }
.field input[type=text], .field input[type=email], .field input[type=tel],
.field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line-2); border-radius: var(--r);
  font-size: 15px; font-family: var(--sans); color: var(--ink);
  background: var(--bg-2); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* 選項卡（預算 / 需求類別） */
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.opt {
  position: relative; border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 13px 15px; cursor: pointer; font-size: 14.5px; background: var(--bg-2);
  transition: all .16s ease; display: block;
}
.opt:hover { border-color: var(--ink-3); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: block; font-weight: 600; color: var(--ink); }
.opt em { font-style: normal; display: block; font-size: 12.5px; color: var(--ink-3); font-family: var(--mono); margin-top: 2px; }
/* 選中狀態：:has(input:checked) 為主要寫法。
   .is-checked 由 layout.js 同步，作為不支援 :has() 的舊瀏覽器
   （Firefox 121 以前、Safari 15.4 以前）的退路。 */
.opt.is-checked,
.opt:has(input:checked) {
  border-color: var(--brand); background: var(--brand-soft);
  box-shadow: 0 0 0 1px var(--brand);
}
.opt.is-checked span,
.opt:has(input:checked) span { color: var(--brand-dark); }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); }
.consent input { margin-top: 5px; flex-shrink: 0; }

/* 蜜罐欄位：真人看不到也 tab 不到，機器人填了就丟棄 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* 送出結果訊息 */
.form-status {
  border-radius: var(--r); padding: 16px 18px; margin-bottom: 18px;
  font-size: 14.5px; line-height: 1.7; border: 1px solid;
}
.form-status.busy { background: var(--bg-soft); border-color: var(--line-2); color: var(--ink-2); }
.form-status.ok   { background: var(--accent-soft); border-color: var(--accent); color: #0A5B3A; }
.form-status.err  { background: #FFF3DC; border-color: #D9930E; color: #7A4E08; }
.form-status code {
  font-family: var(--mono); font-size: 13.5px; font-weight: 700;
  background: rgba(0,0,0,.06); padding: 2px 7px; border-radius: 4px;
}
.form-status a.btn { text-decoration: none; }

.form-aside .aside-card {
  background: var(--dark); color: #E9EBF0;
  border-radius: var(--r-lg); padding: 30px; margin-bottom: 18px;
}
.form-aside h3 { color: #fff; font-size: 17px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 14.5px; }
.contact-list li:first-child { border-top: 0; }
.contact-list .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--brand-lite); display: block; text-transform: uppercase; }
.contact-list .v { color: #E9EBF0; }
.contact-list a { color: #E9EBF0; }
.contact-list a:hover { color: #fff; text-decoration: underline; }

.aside-note {
  border: 1px dashed var(--line-2); border-radius: var(--r-lg);
  padding: 22px 24px; font-size: 14px; color: var(--ink-2); background: var(--bg-2);
}
.aside-note h4 { font-size: 15px; margin-bottom: .5em; }
.aside-note ol { margin: 0; padding-left: 1.2em; }
.aside-note li { margin-bottom: 6px; }

/* ==========================================================================
   頁尾（由 js/layout.js 注入）
   ========================================================================== */
.site-footer { background: var(--dark); color: #99A1B2; padding: 64px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 44px; padding-bottom: 44px; }
.site-footer .logo-txt { color: #fff; }
.site-footer .logo-txt small { color: #6D7686; }
.footer-about { font-size: 14.5px; margin-top: 18px; max-width: 30em; line-height: 1.8; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .06em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: 14.5px; }
.site-footer a { color: #99A1B2; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #6D7686;
}

/* 浮動詢價鈕 */
.float-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  background: var(--cta); color: #fff;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 26px rgba(10,128,82,.42);
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .18s ease;
}
.float-cta:hover { transform: translateY(-3px); color: #fff; }

/* ==========================================================================
   機聯網 — 服務範圍雙欄（硬體 / 軟體）
   ========================================================================== */
.scope { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.scope-col {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg-2); padding: 34px 32px;
}
.scope-col.hw { border-top: 3px solid var(--brand); }
.scope-col.sw { border-top: 3px solid var(--accent); }
.scope-col > .kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 6px; display: block;
}
.scope-col.hw .kicker { color: var(--brand); }
.scope-col.sw .kicker { color: var(--accent); }
.scope-col h3 { font-size: 22px; margin-bottom: .45em; }
.scope-col > p { color: var(--ink-2); font-size: 15px; margin-bottom: 24px; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative; padding: 13px 0 13px 32px;
  border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2);
}
.checklist li:first-child { border-top: 0; }
.checklist li b { color: var(--ink); display: block; font-size: 15.5px; }
.checklist li::before {
  content: ""; position: absolute; left: 6px; top: 20px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--brand);
}
.scope-col.sw .checklist li::before { background: var(--accent); }

/* ==========================================================================
   規格 / 通訊協定支援表
   ========================================================================== */
.spec-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); }
table.spec { width: 100%; border-collapse: collapse; min-width: 660px; font-size: 14.5px; }
table.spec th, table.spec td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec thead th {
  background: var(--bg-soft); font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-weight: 600;
}
table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec tbody tr:hover { background: var(--brand-soft); }
table.spec td b { color: var(--ink); }
table.spec td.proto { font-family: var(--mono); font-size: 13px; color: var(--brand); white-space: nowrap; }
.badge {
  display: inline-block; font-size: 12px; padding: 3px 9px; border-radius: 999px;
  font-weight: 600; white-space: nowrap;
}
.badge.ok   { background: #E4F6EA; color: #17743C; }
.badge.warn { background: #FFF3DC; color: #8A5A00; }

/* ==========================================================================
   痛點 / 前後對照
   ========================================================================== */
.pain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-item {
  border-left: 3px solid var(--accent); padding: 4px 0 4px 22px;
}
.pain-item h3 { font-size: 17px; margin-bottom: .35em; }
.pain-item p { font-size: 15px; color: var(--ink-2); margin: 0; }
.section.dark .pain-item h3 { color: #fff; }
.section.dark .pain-item p { color: #A9B1C2; }

/* ==========================================================================
   導入階段 timeline（垂直）
   ========================================================================== */
.phases { position: relative; padding-left: 34px; }
.phases::before {
  content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px;
  width: 2px; background: var(--line-2);
}
.phase { position: relative; padding-bottom: 34px; }
.phase:last-child { padding-bottom: 0; }
.phase::before {
  content: ""; position: absolute; left: -28px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg-2); border: 2.5px solid var(--brand);
}
.phase .ph-k {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em;
  color: var(--brand); text-transform: uppercase; font-weight: 600;
}
.phase h3 { font-size: 18px; margin: 4px 0 .35em; }
.phase p { font-size: 15px; color: var(--ink-2); margin: 0; }
.phase .ph-out {
  margin-top: 10px; font-size: 13.5px; color: var(--ink-3);
  border-left: 2px solid var(--line-2); padding-left: 12px;
}

/* ==========================================================================
   看板示意
   ========================================================================== */
.dashboard-demo {
  background: var(--dark); border-radius: var(--r-lg); padding: 26px;
  border: 1px solid rgba(255,255,255,.1);
}
.dash-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px; font-family: var(--mono); font-size: 12px; color: var(--brand-lite); letter-spacing: .1em;
}
.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.dash-cell {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r); padding: 14px; text-align: center;
}
.dash-cell .m { font-family: var(--mono); font-size: 11.5px; color: #6D7686; letter-spacing: .08em; }
.dash-cell .st { font-size: 14px; font-weight: 700; margin-top: 8px; }
.dash-cell.run   { border-color: rgba(63,190,109,.45); } .dash-cell.run .st   { color: #4FD07E; }
.dash-cell.idle  { border-color: rgba(232,184,75,.4); }  .dash-cell.idle .st  { color: #E8B84B; }
.dash-cell.alarm { border-color: rgba(229,103,90,.5); }  .dash-cell.alarm .st { color: #FF7A6A; }
.dash-cell.off   { border-color: rgba(255,255,255,.1); } .dash-cell.off .st   { color: #5C6579; }
.dash-bars { display: flex; align-items: flex-end; gap: 5px; height: 74px; }
.dash-bars i { flex: 1; background: linear-gradient(180deg, #3FA5DC, var(--brand)); border-radius: 2px 2px 0 0; display: block; }
.dash-foot { display: flex; gap: 22px; margin-top: 14px; font-family: var(--mono); font-size: 11.5px; color: #6D7686; flex-wrap: wrap; }
.dash-foot b { color: #E9EBF0; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  padding: 20px 40px 20px 0; cursor: pointer; font-weight: 700; font-size: 16.5px;
  list-style: none; position: relative; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 17px;
  font-size: 24px; font-weight: 400; color: var(--brand); line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 40px 22px 0; margin: 0; color: var(--ink-2); font-size: 15px; }

/* ==========================================================================
   免責/補充說明（正式站樣式：低調，不是警告框）
   ========================================================================== */
.draft-note {
  border-left: 2px solid var(--line-2);
  padding: 2px 0 2px 14px; margin-top: 22px;
  font-size: 13px; color: var(--ink-3); line-height: 1.7;
}
.draft-note strong { color: var(--ink-2); font-weight: 600; }

/* ==========================================================================
   RWD
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .blueprint { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pain   { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .steps  { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step:nth-child(2)::after { display: none; }
  .form-layout { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 12px; gap: 2px; align-items: stretch;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }

  .section { padding: 64px 0; }
  .hero { padding: 52px 0 64px; }
  .trustbar .wrap { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .scope   { grid-template-columns: 1fr; }
  .pain    { grid-template-columns: 1fr; }
  .scope-col { padding: 26px 22px; }
  .dashboard-demo { padding: 18px; }
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .step::after { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .float-cta { right: 14px; bottom: 14px; padding: 12px 18px; font-size: 14px; }
  .hero-meta { gap: 20px; }
}
