/* 產品頁（ForgeBase）：沿用 v0.5 + v0.6 系統 */

.p-section { padding: 88px 0; }
.p-section.alt { background: #F7F7F6; }
.p-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--orange); }
.p-title { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.3; color: var(--navy); margin-top: 10px; }
.p-lead { font-size: 17px; font-weight: 300; color: var(--ink-2); margin-top: 14px; max-width: 36em; }
.p-head { margin-bottom: 44px; }
.p-head.center { text-align: center; }
.p-head.center .p-lead { margin-left: auto; margin-right: auto; }

/* 狀態標籤 */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.status.on { background: #E7F1EA; color: #1E6B3A; }
.status.on::before { background: #2E9A55; }
.status.soon { background: var(--orange-tint, #FDEDE8); color: var(--orange-dark); }
.status.soon::before { background: var(--orange); }

/* 1. 首屏 */
.p-hero { padding: 40px 0 96px; overflow: hidden; }
.p-hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.p-hero .crumb { font-size: 13px; color: var(--ink-3); }
.p-hero .kicker { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.p-hero .kicker b { font-size: 14px; letter-spacing: .1em; color: var(--navy); }
.p-hero .kicker span { font-size: 13px; color: var(--orange); font-weight: 700; }
.p-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.22; color: var(--navy); margin-top: 16px; }
.p-hero .sub { font-size: 18px; font-weight: 300; color: var(--ink-2); margin-top: 20px; max-width: 30em; }
.p-hero .acts { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.p-hero .note { margin-top: 18px; font-size: 13px; color: var(--ink-3); }
.stack { position: relative; height: 520px; }
.frame { position: absolute; border-radius: 12px; overflow: hidden; background: var(--white); box-shadow: 0 24px 60px rgba(14,26,48,.16); border: 1px solid var(--line); }
.frame .bar { height: 30px; background: #F1F2F4; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: #D6D8DD; }
.frame .bar span { margin-left: 10px; font-size: 11px; color: var(--ink-3); }
.frame img { width: 100%; display: block; }
.frame.back { right: -60px; top: 0; width: 82%; }
.frame.front { left: 0; bottom: 0; width: 60%; }
.frame-label { position: absolute; z-index: 3; font-size: 12px; font-weight: 700; color: var(--white); background: var(--navy); padding: 5px 10px; border-radius: 6px; }

/* 2. 痛點 */
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pain { border-top: 2px solid var(--navy); padding-top: 18px; }
.pain .n { font-family: var(--serif); font-size: 30px; font-weight: 300; color: var(--orange); }
.pain p { font-size: 16px; color: var(--ink); margin-top: 6px; line-height: 1.7; }

/* 3. 運作方式 */
.lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lane { border: 1px solid var(--line); border-radius: 14px; padding: 26px; background: var(--white); }
.lane-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.lane-head h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--navy); }
.flowline { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.flowline li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.55; padding: 10px 12px; border-radius: 10px; background: #F7F8FA; }
.flowline li b { display: block; color: var(--ink); }
.flowline li span { color: var(--ink-2); font-size: 13.5px; }
.flowline .k { width: 30px; height: 30px; border-radius: 8px; background: var(--navy); color: var(--white); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.flowline li.human { background: var(--orange-tint, #FDEDE8); }
.flowline li.human .k { background: var(--orange); }
.merge { margin-top: 20px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: center; }
.merge div { text-align: center; padding: 16px; border-radius: 12px; background: var(--navy); color: var(--white); }
.merge div b { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; }
.merge div span { font-size: 13px; color: #C9D6EC; }
.merge div.end { background: #F7F7F6; color: var(--ink); border: 1px dashed var(--gray); }
.merge div.end span { color: var(--ink-2); }
.merge i { font-style: normal; font-size: 22px; color: var(--orange); }

/* 4. 情境：對話示意 */
.scene { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.chat { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: 0 18px 40px rgba(14,26,48,.08); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--navy); color: var(--white); font-size: 14px; font-weight: 700; }
.chat-head small { font-weight: 400; color: #BFD0EC; margin-left: auto; font-size: 12px; }
.chat-body { padding: 18px; display: grid; gap: 12px; background: #F7F8FA; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: 14px; line-height: 1.6; }
.msg.buyer { justify-self: end; background: var(--navy); color: var(--white); border-bottom-right-radius: 4px; }
.msg.ai { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg .tr { display: block; font-size: 12px; opacity: .75; margin-top: 4px; }
.msg .unconfirmed { display: inline-block; font-size: 12px; font-weight: 700; color: var(--orange-dark); background: var(--orange-tint, #FDEDE8); padding: 1px 8px; border-radius: 6px; margin-top: 6px; }
.msg.rfq { justify-self: stretch; max-width: none; background: var(--white); border: 1.5px solid var(--navy); }
.msg.rfq b { color: var(--navy); }
.scene-steps { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: s; }
.scene-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.scene-steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--orange); color: var(--orange); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.scene-steps li.human::before { background: var(--orange); color: var(--white); }
.scene .note { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; }

/* 5. 功能模組 */
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mod { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: var(--white); display: flex; flex-direction: column; gap: 10px; }
.mod-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mod .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--navy); display: grid; place-items: center; }
.mod .ic svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mod.soon .ic { background: var(--sky); }
.mod h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--navy); }
.mod p { font-size: 14.5px; color: var(--ink-2); }
.mod ul { margin: 2px 0 0; padding-left: 1.1em; font-size: 14px; color: var(--ink-2); }
.mod li { margin-bottom: 4px; }
.mod li::marker { color: var(--orange); }
.mods-note { margin-top: 20px; font-size: 13px; color: var(--ink-3); }

/* 6. 範本 */
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tpl { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.tpl .shot { aspect-ratio: 16 / 10; overflow: hidden; }
.tpl .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.tpl:hover .shot img { transform: scale(1.03); }
.tpl div.t { padding: 14px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tpl b { font-family: var(--serif); font-weight: 400; font-size: 17px; color: var(--ink); }
.tpl span { font-size: 12.5px; color: var(--ink-3); }

/* 7. 共同驗證 */
.proof { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; border-radius: 16px; padding: 36px 40px; background: var(--white); border: 1px solid var(--line); position: relative; }
.proof .big { font-family: var(--serif); font-weight: 300; font-size: 64px; line-height: 1; color: var(--orange); }
.proof .big small { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.proof h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--navy); line-height: 1.4; }
.proof p { font-size: 15px; color: var(--ink-2); margin-top: 10px; }
.flag { position: absolute; top: -12px; right: 24px; font-size: 12px; font-weight: 700; color: var(--white); background: var(--orange-dark); padding: 4px 10px; border-radius: 6px; }

/* 8. 不會做的事＋安全 */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.nots { list-style: none; padding: 0; margin: 0; }
.nots li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--line); font-size: 16px; }
.nots li::before { content: "✕"; position: absolute; left: 2px; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: var(--orange-tint, #FDEDE8); color: var(--orange); font-size: 12px; display: grid; place-items: center; }
.nots li b { display: block; color: var(--ink); }
.nots li span { font-size: 14px; color: var(--ink-2); }
.safe { list-style: none; padding: 0; margin: 0; }
.safe li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--line); font-size: 16px; }
.safe li::before { content: "✓"; position: absolute; left: 2px; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 12px; display: grid; place-items: center; }
.safe li b { display: block; color: var(--ink); }
.safe li span { font-size: 14px; color: var(--ink-2); }

/* 9. 適合誰 */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fit div { border-radius: 14px; padding: 26px 28px; }
.fit .yes { background: var(--tint); }
.fit .no { background: #F7F7F6; }
.fit h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--navy); margin-bottom: 10px; }
.fit ul { margin: 0; padding-left: 1.1em; font-size: 15px; color: var(--ink); line-height: 1.85; }

/* 10. 導入步驟 */
.steps5 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.steps5 li { padding: 22px 18px 0 0; }
.steps5 .n { font-family: var(--serif); font-weight: 300; font-size: 34px; color: var(--orange); line-height: 1; }
.steps5 b { display: block; font-size: 16px; color: var(--navy); margin-top: 10px; }
.steps5 span { font-size: 14px; color: var(--ink-2); }

/* 11. 常見問題（沿用文章頁 .faq） */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq summary { font-size: 17px; }
.faq details > div { font-size: 15.5px; line-height: 1.85; }

/* 12. 收尾 */
.p-close { text-align: center; padding: 88px 0; background: var(--tint); }
.p-close h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); color: var(--navy); }
.p-close p { color: var(--ink-2); margin-top: 12px; }
.p-close .acts { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.pending { display: inline-block; font-size: 11px; font-weight: 700; color: var(--orange-dark); border: 1px dashed var(--orange); border-radius: 4px; padding: 0 6px; margin-left: 6px; vertical-align: middle; }

@media (max-width: 1100px) {
  .p-hero-grid, .scene, .two, .lanes { grid-template-columns: 1fr; }
  .stack { height: 440px; }
  .pains { grid-template-columns: 1fr 1fr; }
  .mods, .tpl-grid { grid-template-columns: 1fr 1fr; }
  .steps5 { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
}
@media (max-width: 760px) {
  .p-section { padding: 64px 0; }
  .stack { height: 300px; }
  .frame.back { right: -30px; width: 88%; }
  .frame.front { width: 70%; }
  .pains, .mods, .tpl-grid, .fit, .steps5 { grid-template-columns: 1fr; }
  .merge { grid-template-columns: 1fr; }
  .merge i { transform: rotate(90deg); justify-self: center; }
  .proof { grid-template-columns: 1fr; padding: 28px 22px; }
}

.tpl-grid { grid-template-columns: repeat(4, 1fr); }
.tpl-empty .shot { display: grid; place-items: center; background: #F1F2F4; border-bottom: 1px dashed var(--gray); }
.tpl-empty .shot span { font-size: 13px; color: var(--ink-3); }
@media (max-width: 1100px) { .tpl-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .tpl-grid { grid-template-columns: 1fr 1fr; } }

/* 痛點數據 */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); }
.stat { padding: 24px 20px 22px 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-weight: 300; font-size: 52px; line-height: 1; color: var(--orange); }
.stat b small { font-size: 22px; margin-left: 2px; }
.stat p { font-size: 14.5px; color: var(--ink); margin-top: 12px; line-height: 1.65; }
.stat span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 8px; }
.now { margin-top: 48px; }
.now h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--navy); margin-bottom: 18px; }
.sources-mini { margin-top: 28px; font-size: 13px; color: var(--ink-3); }
.sources-mini summary { cursor: pointer; font-weight: 700; }
.sources-mini ol { margin: 10px 0 0; padding-left: 1.3em; line-height: 1.9; }
.sources-mini a { color: var(--navy); text-decoration: underline; }
/* 完整功能清單 */
.feat summary { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--navy); }
.feat ul { margin: 0; padding-left: 1.2em; }
.feat li { font-size: 15px; color: var(--ink-2); line-height: 1.8; margin-bottom: 4px; }
.feat li::marker { color: var(--orange); }
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(3, 1fr); } .stat:nth-child(4) { border-left: 0; padding-left: 0; } }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat { border-left: 0 !important; padding-left: 0 !important; } }

.stats-6 { grid-template-columns: repeat(3, 1fr); }
.stats-6 .stat:nth-child(4) { border-left: 0; padding-left: 0; }
.stats-6 .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
.stat b small { font-size: 20px; }
.src-note { margin-top: 8px; font-size: 12px; }
@media (max-width: 760px) { .stats-6 { grid-template-columns: 1fr 1fr; } }

.stats-4 { grid-template-columns: repeat(4, 1fr); }
.stats-4 .stat p { font-size: 15px; }
.flowline li { align-items: center; }
.mod { gap: 8px; }
.nots li b, .safe li b { font-weight: 500; }
@media (max-width: 760px) { .stats-4 { grid-template-columns: 1fr 1fr; } }

/* 第三輪：痛點卡、單一流程、價格方案 */
.pain4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pc { background: var(--white); border-radius: 14px; padding: 26px 24px; border-top: 3px solid var(--orange); }
.pc .n { font-family: var(--serif); font-size: 22px; color: var(--orange); }
.pc h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--navy); margin-top: 10px; }
.pc p { font-size: 15px; color: var(--ink-2); margin-top: 8px; line-height: 1.7; }

.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.journey::before { content: ""; position: absolute; left: 8%; right: 8%; top: 26px; height: 2px; background: var(--line); }
.journey li { position: relative; text-align: center; padding: 0 10px; }
.journey .k { position: relative; z-index: 1; width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-family: var(--serif); font-size: 20px; }
.journey li.human .k { background: var(--orange); }
.journey li.end .k { background: var(--white); color: var(--navy); border: 2px solid var(--navy); }
.journey b { display: block; font-size: 16px; color: var(--ink); }
.journey span:not(.k) { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.journey-note { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 32px; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; margin: 0 auto; }
.plan { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 30px 32px; text-align: center; }
.plan.featured { border: 2px solid var(--orange); }
.plan .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: var(--white); background: var(--orange); padding: 3px 12px; border-radius: 999px; }
.plan-name { font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--navy); }
.price { font-family: var(--serif); font-weight: 300; font-size: 52px; color: var(--navy); margin: 8px 0 4px; line-height: 1.1; }
.price small { font-size: 20px; margin-right: 4px; }
.price span { font-family: var(--sans); font-size: 15px; color: var(--ink-3); }
.plan-desc { font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }
.compare { width: 100%; max-width: 820px; margin: 28px auto 0; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; font-size: 15px; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: var(--white); font-weight: 700; text-align: center; }
.compare thead th:first-child { text-align: left; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--ink); }
.compare td { text-align: center; color: var(--ink); width: 22%; }
.compare td:last-child { background: #FDF6F3; }
.compare .yes { color: var(--orange); font-weight: 700; }
.compare .no { color: var(--gray); }
.plan-note { text-align: center; font-size: 12.5px; color: var(--ink-3); margin-top: 14px; }

@media (max-width: 1100px) {
  .pain4 { grid-template-columns: 1fr 1fr; }
  .journey { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .journey::before { display: none; }
}
@media (max-width: 760px) {
  .pain4, .plans { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr 1fr; }
  .compare th, .compare td { padding: 11px 10px; font-size: 13.5px; }
}

/* AI 自動辨識語言的視覺重點 */
.lang-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--navy); background: #FFE3D9; padding: 4px 10px; border-radius: 999px; }
.lang-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: pulse 1.6s ease-in-out infinite; }
.lang-detect { justify-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--orange-dark); background: var(--white); border: 1.5px dashed var(--orange); padding: 6px 14px; border-radius: 999px; }
.lang-detect .globe { font-size: 15px; }
.lang-strip { margin-top: 16px; padding: 16px 18px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.lang-strip p { font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.lang-strip p b { color: var(--navy); }
.langs { display: flex; flex-wrap: wrap; gap: 6px; }
.langs span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.langs span.on { background: var(--orange); border-color: var(--orange); color: var(--white); font-weight: 700; }
.scene-steps b { color: var(--orange-dark); }

.lang-strip.left { margin-top: 20px; padding: 0; border: 0; background: none; }
.lang-strip.left p { font-size: 15px; }

/* 職務說明書 */
.jd { display: grid; grid-template-columns: 300px 1fr; max-width: 1040px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(14,26,48,.06); }
.jd-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--ink-3); }
.jd-side { background: #F7F8FA; padding: 30px 28px; border-right: 1px solid var(--line); }
.jd-side .jd-label { margin-top: 18px; }
.jd-side .jd-label:first-child { margin-top: 0; }
.jd-val { font-family: var(--serif); font-size: 18px; color: var(--navy); margin-top: 4px; line-height: 1.45; }
.jd-main { padding: 30px 34px; }
.jd-tasks { list-style: none; padding: 0; margin: 12px 0 0; }
.jd-tasks li { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.jd-tasks li:first-child { border-top: 0; }
.jd-tasks .k { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-family: var(--serif); font-size: 14px; }
.jd-tasks b { display: block; font-size: 16.5px; color: var(--ink); }
.jd-tasks div span { font-size: 14px; color: var(--ink-2); }
.jd-tasks em.soon { font-style: normal; font-size: 12px; font-weight: 700; color: var(--orange-dark); background: var(--orange-tint, #FDEDE8); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.jd-foot { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.jd-foot > div { padding: 22px 30px; }
.jd-foot ul { margin: 8px 0 0; padding-left: 1.2em; font-size: 15px; line-height: 1.9; color: var(--ink); }
.jd-you { background: #FDF3EF; border-right: 1px solid var(--line); }
.jd-you .jd-label { color: var(--orange); }
.jd-you li::marker { color: var(--orange); }
.jd-not li::marker { color: var(--gray); }
.jd-note { text-align: center; margin-top: 22px; font-size: 14px; color: var(--ink-2); }
.jd-note a { color: var(--orange); font-weight: 700; margin-left: 6px; }
@media (max-width: 860px) {
  .jd { grid-template-columns: 1fr; }
  .jd-side { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .jd-side .jd-label:nth-of-type(2) { margin-top: 0; }
  .jd-foot { grid-template-columns: 1fr; }
  .jd-you { border-right: 0; border-bottom: 1px solid var(--line); }
  .jd-tasks li { grid-template-columns: 30px 1fr; }
  .jd-tasks em.soon { grid-column: 2; justify-self: start; }
}

/* 職務說明書 v2：人物圖＋精簡文字 */
.jd2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 1120px; margin: 0 auto; }
.jd2-pic { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: #FFFFFF; border: 1px solid var(--line); }
.jd2-pic img { width: 100%; display: block; }
.jd2-pic figcaption { position: absolute; left: 14px; bottom: 14px; font-size: 11px; color: var(--white); background: rgba(0,20,50,.55); padding: 2px 8px; border-radius: 6px; }
.jd2-meta { display: flex; gap: 28px; margin: 22px 0 6px; padding: 14px 0; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); }
.jd2-meta span { font-family: var(--serif); font-size: 18px; color: var(--navy); }
.jd2-meta b { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .12em; color: var(--ink-3); font-weight: 700; margin-bottom: 2px; }
.jd2-tasks { list-style: none; padding: 0; margin: 8px 0 0; counter-reset: t; }
.jd2-tasks li { counter-increment: t; display: flex; align-items: center; gap: 14px; padding: 11px 0; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
.jd2-tasks li::before { content: counter(t); flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-family: var(--serif); font-size: 14px; }
.jd2-tasks em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; color: var(--orange-dark); background: var(--orange-tint, #FDEDE8); padding: 3px 9px; border-radius: 999px; }
.jd2-you { margin-top: 20px; padding: 14px 18px; border-radius: 10px; background: #FDF3EF; border-left: 4px solid var(--orange); font-size: 15.5px; color: var(--ink); }
.jd2-you b { color: var(--orange); }
.jd2-note { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.jd2-note a { color: var(--orange); font-weight: 700; margin-left: 6px; }
@media (max-width: 900px) { .jd2 { grid-template-columns: 1fr; gap: 28px; } }

/* 職務說明書 v3：編輯式人像＋產品介面層 */
.jd2 { grid-template-columns: 1.25fr 1fr; }
.jd3-pic { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: var(--navy-deep); aspect-ratio: 4 / 3.6; }
.jd3-pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.jd3-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,22,61,.55) 0%, rgba(0,22,61,.15) 45%, rgba(0,22,61,0) 70%); pointer-events: none; }
.jd3-pic figcaption { position: absolute; z-index: 3; right: 14px; bottom: 14px; font-size: 11px; color: #fff; background: rgba(0,20,50,.55); padding: 2px 8px; border-radius: 6px; }
.ui { position: absolute; z-index: 2; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-radius: 12px; box-shadow: 0 14px 34px rgba(0,0,0,.28); padding: 12px 14px; font-size: 13px; color: var(--ink); max-width: 250px; }
.ui-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--navy-2); margin-bottom: 6px; }
.ui-chat { left: 22px; top: 26px; }
.ui-chat p { margin: 0; padding: 7px 10px; border-radius: 10px; line-height: 1.45; }
.ui-chat .b { background: var(--navy); color: #fff; margin-bottom: 6px; border-bottom-right-radius: 3px; }
.ui-chat .a { background: #F1F3F7; border-bottom-left-radius: 3px; }
.ui-rfq { left: 22px; top: 50%; transform: translateY(-10%); border-left: 4px solid var(--navy); }
.ui-rfq p { margin: 0; font-weight: 700; }
.ui-rfq .muted { font-weight: 400; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.ui-lead { left: 22px; bottom: 26px; display: flex; gap: 10px; align-items: center; padding: 10px 14px; }
.ui-lead .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(232,63,23,.2); animation: pulse 1.6s ease-in-out infinite; }
.ui-lead b { font-size: 13px; color: var(--orange-dark); }
.ui-lead p { margin: 0; font-size: 12px; color: var(--ink-2); }
/* 做法 3：雙色調（加上 class="duo"） */
.jd3-pic.duo > img { filter: grayscale(1) contrast(1.1) brightness(.95); }
.jd3-pic.duo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #0F3F86; mix-blend-mode: color; pointer-events: none; }
@media (max-width: 900px) { .jd2 { grid-template-columns: 1fr; } .ui { max-width: 210px; font-size: 12px; } }

/* 白天／夜晚切割畫面 */
.dn { position: relative; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--white); }
.dn-half { position: relative; overflow: hidden; }
.dn-half > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dn-half.day > img { object-position: 40% 30%; }
.dn-half.night > img { object-position: 55% 30%; }
.dn-time { position: absolute; z-index: 2; top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; }
.dn-time i { font-style: normal; }
.day .dn-time { left: 16px; background: rgba(255,255,255,.9); color: var(--navy); }
.night .dn-time { right: 16px; background: rgba(0,22,61,.75); color: #fff; }
.dn-card { position: absolute; bottom: 18px; max-width: 86%; }
.day .dn-card { left: 14px; }
.night .dn-card { right: 14px; border-left: 4px solid var(--navy); }
.dn-card p { margin: 0; font-size: 12.5px; line-height: 1.45; }
.dn-card .b { background: var(--navy); color: #fff; padding: 6px 9px; border-radius: 9px; margin-bottom: 5px; }
.dn-card .a { background: #F1F3F7; padding: 6px 9px; border-radius: 9px; }
.dn-card .strong { font-weight: 700; font-size: 13px; }
.dn-card .muted { color: var(--ink-3); font-size: 12px; margin-top: 2px; }
.dn-badge { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 74px; height: 74px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; align-content: center; font-family: var(--serif); font-size: 28px; line-height: 1; box-shadow: 0 0 0 6px #fff, 0 12px 30px rgba(0,0,0,.25); }
.dn-badge small { font-family: var(--sans); font-size: 11px; font-weight: 700; margin-top: 3px; }
.dn figcaption { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 8px; font-size: 10.5px; color: #fff; background: rgba(0,20,50,.55); padding: 1px 8px; border-radius: 6px; }
@media (max-width: 600px) { .dn { aspect-ratio: 4 / 4.4; } .dn-card { max-width: 92%; } .dn-badge { width: 60px; height: 60px; font-size: 22px; } }
