﻿/* [2026-10-13] 目的：以首頁專用樣式取代舊輪播樣式，提供暖白深綠主視覺、五步驟指南與手機排版，不影響共用頁首頁尾。 */
.sg-home { --sg-ink:#203e35; --sg-muted:#68736c; --sg-line:#e1e6de; --sg-paper:#fafbf7; color:var(--sg-ink); background:var(--sg-paper); font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif; font-size:16px; line-height:1.75; overflow:hidden; }
.sg-home *, .sg-home *::before, .sg-home *::after { box-sizing:border-box; }
.sg-home h1, .sg-home h2, .sg-home h3, .sg-home p { margin:0; }
.sg-home a { text-decoration:none; color:inherit; }
.sg-home button, .sg-home textarea { font:inherit; }
.sg-home a:focus-visible, .sg-home button:focus-visible, .sg-home summary:focus-visible, .sg-home textarea:focus-visible { outline:3px solid #b16d3d; outline-offset:5px; }
.sg-home .sg-wrap { width:calc(100% - 80px); max-width:1200px; margin-inline:auto; }
.sg-home .sg-eyebrow { font-size:11px; font-weight:700; letter-spacing:2.2px; display:flex; align-items:center; gap:10px; }
.sg-home .sg-dot { width:7px; height:7px; border-radius:50%; background:#b47846; display:inline-block; }
.sg-home .sg-hero { padding:86px 0 80px; background:radial-gradient(ellipse at 85% 20%,#e5ecde 0,transparent 55%),#f3f5ed; border-bottom:1px solid var(--sg-line); }
.sg-home .sg-hero-grid { display:grid; grid-template-columns:1.05fr 1fr; gap:68px; align-items:center; }
.sg-home h1 { font-size:clamp(40px,4.2vw,62px); line-height:1.22; font-weight:750; letter-spacing:-2px; margin:26px 0 24px; }
.sg-home h1 span { color:#a5693f; }
.sg-home .sg-intro { color:var(--sg-muted); font-size:16px; line-height:1.9; }
.sg-home .sg-actions { display:flex; align-items:center; gap:24px; flex-wrap:wrap; margin-top:32px; }
.sg-home .sg-button { display:inline-flex; align-items:center; justify-content:center; gap:24px; min-height:50px; padding:12px 22px; border:1px solid transparent; border-radius:7px; cursor:pointer; font-size:14px; font-weight:700; transition:background .2s,transform .2s; }
.sg-home .sg-button:hover { transform:translateY(-2px); }
.sg-home .sg-button-dark { background:var(--sg-ink); color:#fff; }
.sg-home .sg-button-dark:hover { background:#31574a; }
.sg-home .sg-button-light { background:#f7f8ed; color:var(--sg-ink); }
.sg-home .sg-text-link { font-size:14px; font-weight:700; display:inline-flex; align-items:center; gap:12px; }
.sg-home .sg-text-link:hover { color:#a5693f; }
.sg-home .sg-hero-note { display:flex; align-items:center; gap:9px; margin-top:30px; color:var(--sg-muted); font-size:12px; }
.sg-home .sg-note-icon { color:#a5693f; font-size:22px; }
.sg-home .sg-hero-art { position:relative; padding:25px 0 33px; }
.sg-home .sg-art-label { font-size:9px; letter-spacing:2px; margin:0 0 12px 15px; color:#74806d; }
.sg-home .sg-browser { background:white; border:1px solid #d9dfd2; border-radius:14px; overflow:hidden; transform:rotate(-2deg); box-shadow:0 25px 50px #203e3512; }
.sg-home .sg-browser-bar { display:flex; justify-content:space-between; align-items:center; padding:12px 17px; border-bottom:1px solid #e9ece4; font-size:10px; color:#68736c; }
.sg-home .sg-browser-bar > span:first-child { color:#c7cfbe; letter-spacing:3px; }
.sg-home .sg-hero-image { display:block; width:100%; height:auto; aspect-ratio:1.5; object-fit:cover; }
.sg-home .sg-browser-caption { padding:22px 24px; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.sg-home .sg-browser-caption small { display:block; font-size:8px; letter-spacing:2px; color:var(--sg-muted); margin-bottom:4px; }
.sg-home .sg-browser-caption strong { font-size:20px; font-weight:600; }
.sg-home .sg-round-arrow { width:38px; height:38px; border-radius:50%; display:grid; place-items:center; border:1px solid #d5dfd2; font-size:20px; }
.sg-home .sg-art-badge { position:absolute; right:-18px; bottom:0; display:flex; align-items:center; gap:13px; background:#fffdf6; border:1px solid #e2e2cd; border-radius:10px; padding:16px 21px; transform:rotate(3deg); box-shadow:0 12px 30px #203e3510; }
.sg-home .sg-art-badge > span { font-size:32px; color:#aa6d42; }
.sg-home .sg-art-badge strong { display:block; font-size:13px; }
.sg-home .sg-art-badge small { display:block; font-size:10px; color:var(--sg-muted); margin-top:2px; }
.sg-home .sg-art-star { position:absolute; right:-18px; top:-11px; font-size:66px; line-height:1; color:#b77c49; }
.sg-home .sg-steps { padding-top:76px; }
.sg-home .sg-section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; margin-bottom:30px; }
.sg-home h2 { font-size:32px; line-height:1.4; letter-spacing:-1px; }
.sg-home .sg-section-heading h2 { margin-top:12px; }
.sg-home .sg-section-heading > p { color:var(--sg-muted); font-size:13px; }
.sg-home .sg-step-nav { display:grid; grid-template-columns:repeat(6,1fr); gap:12px; margin-bottom:34px; }
.sg-home .sg-step-nav a { display:flex; align-items:center; gap:11px; border:1px solid var(--sg-line); border-radius:7px; padding:17px 14px; font-size:13px; background:#fff; transition:border-color .2s,background .2s; }
.sg-home .sg-step-nav a:hover { border-color:#97b0a0; background:#eff4eb; }
.sg-home .sg-step-nav span { color:#a5693f; font-size:11px; font-weight:700; }
.sg-home .sg-step-nav b { margin-left:auto; font-size:16px; font-weight:400; }
.sg-home .sg-design-card { background:#eaf0e4; border:1px solid #dde6d5; border-radius:15px; display:grid; grid-template-columns:1fr 1.12fr; gap:48px; padding:44px; scroll-margin-top:100px; }
.sg-home .sg-step-label { font-size:10px; font-weight:700; letter-spacing:1.8px; color:#a06c47; display:flex; align-items:center; gap:14px; }
.sg-home .sg-step-label span { font-size:12px; letter-spacing:0; color:var(--sg-muted); font-weight:400; }
.sg-home h3 { font-size:25px; line-height:1.45; letter-spacing:-.7px; }
.sg-home .sg-design-copy h3 { font-size:34px; margin:18px 0; }
.sg-home .sg-design-copy > p:not(.sg-step-label) { color:var(--sg-muted); font-size:14px; }
.sg-home .sg-design-copy > .sg-text-link { margin-top:18px; }
.sg-home .sg-details { margin-top:22px; border-top:1px solid #ccd6c7; padding-top:15px; }
.sg-home .sg-details summary { cursor:pointer; font-size:13px; font-weight:700; }
.sg-home .sg-details ol { margin:14px 0 0; padding-left:22px; font-size:13px; color:#52625a; }
.sg-home .sg-details li { margin-bottom:10px; padding-left:3px; }
.sg-home .sg-hint { font-size:11px; color:var(--sg-muted); margin-top:14px; line-height:1.8; }
.sg-home .sg-prompt-panel { min-width:0; padding:24px; background:#fffefa; border:1px solid #dde4d4; border-radius:10px; }
.sg-home .sg-prompt-heading { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin-bottom:16px; }
.sg-home .sg-prompt-heading > span:first-child { color:#aa6d42; font-size:21px; }
.sg-home .sg-prompt-heading strong { font-size:14px; }
.sg-home .sg-tag { display:inline-block; font-size:10px; font-weight:500; letter-spacing:0; border:1px solid #dce3d6; border-radius:20px; padding:2px 9px; color:#6c7b60; background:#f5f7ef; }
.sg-home .sg-prompt { display:block; width:100%; height:300px; resize:vertical; background:#f5f6ef; border:1px solid #e2e6da; border-radius:6px; padding:16px; color:#4b5d51; font-size:12px; line-height:1.9; }
.sg-home .sg-copy-row { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:16px; }
.sg-home .sg-copy-row .sg-button { font-size:12px; min-height:42px; padding:9px 15px; gap:20px; }
.sg-home #sg-copy-status { font-size:11px; color:var(--sg-muted); }
.sg-home .sg-card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-top:24px; }
.sg-home .sg-card { min-width:0; padding:32px; border:1px solid var(--sg-line); border-radius:12px; background:#fff; display:flex; flex-direction:column; align-items:stretch; scroll-margin-top:100px; }
.sg-home .sg-card-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; gap:14px; }
.sg-home .sg-icon { width:48px; height:48px; color:#779284; }
.sg-home .sg-card h3 { margin-bottom:12px; }
.sg-home .sg-card > p { font-size:14px; color:var(--sg-muted); }
.sg-home .sg-card .sg-details { border-color:var(--sg-line); margin-bottom:22px; }
.sg-home .sg-card-link { border-top:1px solid var(--sg-line); display:flex; align-items:center; justify-content:space-between; padding-top:18px; margin-top:auto; font-size:13px; font-weight:700; }
.sg-home .sg-card-link:hover { color:#a5693f; }
.sg-home .sg-card-link span { font-size:19px; }
.sg-home .sg-spec-demo { display:flex; align-items:center; gap:10px; padding-top:20px; font-size:12px; }
.sg-home .sg-spec-demo > span:first-child { margin-right:8px; color:var(--sg-muted); }
.sg-home .sg-spec-demo b { border:1px solid var(--sg-line); border-radius:5px; width:35px; height:32px; display:grid; place-items:center; font-size:11px; font-weight:500; }
.sg-home .sg-demo-note { font-size:10px; color:#8b958c; margin-left:auto; }
.sg-home .sg-card-image { position:relative; margin:-32px -32px 25px; border-radius:12px 12px 0 0; overflow:hidden; }
.sg-home .sg-card-image img { width:100%; height:auto; aspect-ratio:8/3; object-fit:cover; display:block; }
.sg-home .sg-card-image > span { position:absolute; bottom:12px; right:14px; font-size:9px; color:#526057; background:#ffffffe0; border-radius:4px; padding:3px 7px; }
.sg-home .sg-finish { margin-top:60px; padding:35px 40px; border-radius:12px; display:flex; align-items:center; gap:28px; background:#203e35; color:#fff; }
.sg-home .sg-finish-star { font-size:58px; line-height:1; color:#c6d2aa; }
.sg-home .sg-finish .sg-eyebrow { color:#c6d2aa; font-size:9px; }
.sg-home .sg-finish h2 { font-size:26px; margin:9px 0; }
.sg-home .sg-finish p:not(.sg-eyebrow) { color:#c4d0c8; font-size:13px; }
.sg-home .sg-finish .sg-button { flex-shrink:0; margin-left:auto; }
.sg-home .sg-bottom-note { padding:24px 0 42px; font-size:11px; color:#7b877f; }
.sg-home .sg-visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width:1000px) {
  .sg-home .sg-hero-grid { gap:34px; }
  .sg-home .sg-hero { padding:65px 0; }
  .sg-home .sg-design-card { gap:28px; padding:30px; }
  .sg-home .sg-step-nav { gap:8px; }
  .sg-home .sg-step-nav a { padding:14px 9px; gap:7px; font-size:12px; }
  .sg-home .sg-step-nav b { display:none; }
  .sg-home .sg-desktop-break { display:none; }
}
@media (max-width:760px) {
  .sg-home .sg-wrap { width:calc(100% - 36px); }
  .sg-home .sg-hero { padding:45px 0 35px; }
  .sg-home .sg-hero-grid, .sg-home .sg-design-card, .sg-home .sg-card-grid { grid-template-columns:1fr; }
  .sg-home .sg-hero-grid { gap:25px; }
  .sg-home h1 { font-size:46px; margin:22px 0; }
  .sg-home .sg-intro { font-size:14px; }
  .sg-home .sg-actions { gap:18px; margin-top:24px; }
  .sg-home .sg-hero-art { max-width:500px; width:calc(100% - 20px); margin:0 auto; }
  .sg-home .sg-art-badge { right:-8px; padding:12px 16px; }
  .sg-home .sg-art-star { right:-8px; top:0; font-size:48px; }
  .sg-home .sg-steps { padding-top:42px; }
  .sg-home .sg-section-heading { display:block; margin-bottom:22px; }
  .sg-home h2 { font-size:27px; }
  .sg-home .sg-section-heading > p { margin-top:12px; }
  .sg-home .sg-section-heading > p br { display:none; }
  .sg-home .sg-step-nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-bottom:22px; }
  .sg-home .sg-step-nav a { padding:13px; font-size:13px; }
  .sg-home .sg-step-nav b { display:block; }
  .sg-home .sg-design-card { padding:23px; gap:26px; }
  .sg-home .sg-design-copy h3 { font-size:29px; }
  .sg-home .sg-prompt-panel { padding:18px; }
  .sg-home .sg-prompt { height:280px; }
  .sg-home .sg-card-grid { gap:18px; margin-top:18px; }
  .sg-home .sg-card { padding:25px; }
  .sg-home .sg-card-image { margin:-25px -25px 22px; }
  .sg-home .sg-finish { margin-top:32px; padding:28px; flex-wrap:wrap; gap:18px; }
  .sg-home .sg-finish-star { font-size:40px; }
  .sg-home .sg-finish > div { flex:1; min-width:190px; }
  .sg-home .sg-finish h2 { font-size:23px; }
  .sg-home .sg-finish .sg-button { margin-left:0; width:100%; }
  .sg-home .sg-bottom-note { padding:20px 0 30px; }
}
@media (prefers-reduced-motion:reduce) {
  .sg-home .sg-button { transition:none; }
}
/* [2026-10-13] 目的：六步驟導覽搭配 SEO 教學卡片與文字示意，手機維持單欄閱讀。 */
.sg-home .sg-card-seo { grid-column:1/-1; }
.sg-home .sg-seo-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:38px; margin-bottom:24px; }
.sg-home .sg-seo-grid > div > p:not(.sg-eyebrow) { font-size:14px; color:var(--sg-muted); }
.sg-home .sg-seo-preview { align-self:start; min-width:0; border:1px solid var(--sg-line); border-radius:8px; background:#f5f7ef; padding:25px; }
.sg-home .sg-seo-preview strong { display:block; font-size:19px; line-height:1.5; margin:14px 0 10px; overflow-wrap:anywhere; }
.sg-home .sg-seo-preview .sg-hint { display:block; }
@media (max-width:760px) {
  .sg-home .sg-seo-grid { grid-template-columns:1fr; gap:18px; }
  .sg-home .sg-seo-preview { padding:20px; }
}
