/* 2026-11-24 改版:B 雜誌感(Amy 選)。燕麥底、明體大標、細線分隔、深色數字帶;大頭貼一律圓形(Amy:不要方方正正)。 */
:root {
  color-scheme: light;
  --oat: #F3EDE4; --paper: #FAF6F0; --ink: #2E2522; --rose: #C0848D; --rose-deep: #A9666F;
  --grey: #6E615C; --line: #2E2522; --soft: #DCD2C6; --sage: #6E9A78;
  --serif: "Noto Serif TC", "PMingLiU", serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--oat); color: var(--ink); font-family: var(--sans); line-height: 1.8; font-size: 17px; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, .serif { font-family: var(--serif); }

/* 頂欄 */
.top-wrap { border-bottom: 1px solid var(--line); }
.top { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 900; font-size: 22px; }
.brand img { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; }
.social { display: flex; gap: 8px; }
.social .ig + .ig { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.ig { font-size: 14px; text-decoration: none; background: var(--ink); color: var(--oat); padding: 6px 14px; white-space: nowrap; }

main { max-width: 1120px; margin: 0 auto; padding: 0 24px 40px; }

/* 第一屏 */
.hero { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 56px; padding: 72px 0 88px; }
.kicker { margin: 0 0 18px; font-size: 13px; letter-spacing: .2em; border-left: 3px solid var(--rose-deep); padding-left: 10px; }
.hero h1 { margin: 0 0 24px; font-size: clamp(30px, 4.3vw, 56px); line-height: 1.22; font-weight: 900; }
.hero h1 span { white-space: nowrap; }
.hero h1 em { color: var(--rose-deep); font-style: italic; font-weight: 700; }
.lead { margin: 0 0 10px; font-size: 18px; max-width: 30em; }
.lead b { color: var(--rose-deep); font-weight: 700; white-space: nowrap; }
.proof { margin: 0 0 28px; color: var(--grey); font-size: 14px; }
.audit-btn { display: inline-block; background: var(--rose-deep); color: #fff; text-decoration: none; padding: 15px 30px; font-size: 17px; font-weight: 500; position: relative; overflow: hidden; transition: background .2s; }
.audit-btn:hover { background: var(--ink); }
.audit-btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); animation: shine 3.2s infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.hint-s { margin: 12px 0 0; color: var(--grey); font-size: 14px; }
/* 圓形大頭貼+錯開的細線圈 */
.hero-pic { position: relative; justify-self: center; width: min(420px, 100%); aspect-ratio: 1; }
/* 2026-11-24 Amy 選 2:正中間一圈細線(同圓心,像相框)。錯開的線圈、玫瑰圓底她都不要 */
.hero-pic::before { content: ""; position: absolute; inset: -14px; border: 1px solid var(--line); border-radius: 50%; }
.hero-pic img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* 共用區塊 */
.st, .sysmap { border-top: 1px solid var(--line); padding: 80px 0; margin: 0; }
.st h2, .sysmap h2, .sec-h { font-weight: 900; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; margin: 0 0 40px; }
.st h2 b, .st-turn b { color: var(--rose-deep); font-weight: 900; }
.st-kicker { margin: 0 0 16px; font-size: 13px; letter-spacing: .2em; border-left: 3px solid var(--rose-deep); padding-left: 10px; }
.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

/* 系統連接圖 */
.sysmap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.sysmap h2 { margin-bottom: 8px; }
.sysmap .sub { color: var(--grey); margin: 0 0 18px; }
.sysmap svg { width: 100%; max-width: 460px; display: block; margin: auto; }
.sysmap .ring { fill: none; stroke: var(--soft); stroke-width: 1.5; }
.sysmap .spoke { stroke: var(--soft); stroke-width: 1.5; transition: stroke .3s; }
.sysmap .spoke.on { stroke: var(--rose-deep); stroke-width: 2.5; }
.sysmap .node { cursor: pointer; }
.sysmap .node * { transition: all .3s; }
.sysmap .node circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.sysmap .node.on circle { fill: var(--rose-deep); stroke: var(--rose-deep); }
.sysmap .ico { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sysmap .node.on .ico { stroke: #fff; }
.sysmap .lab { fill: var(--grey); font-size: 17px; text-anchor: middle; font-family: var(--sans); }
.sysmap .node.on .lab { fill: var(--ink); font-weight: 700; }
.sysmap .hub { fill: var(--ink); }
.sysmap .hub-t { fill: var(--oat); font-size: 17px; text-anchor: middle; font-family: var(--serif); font-weight: 700; }
.sysmap ul { list-style: none; margin: 0; padding: 0; }
.sysmap li { border-top: 1px solid var(--soft); padding: 12px 0; cursor: pointer; opacity: .45; transition: opacity .3s; }
.sysmap li.on { opacity: 1; }
.sysmap li h4 { margin: 0; font-size: 18px; font-family: var(--serif); }
.sysmap li p { margin: 2px 0 0; color: var(--grey); font-size: 15px; line-height: 1.6; }
.sysmap .num { color: var(--rose-deep); font-weight: 700; }

/* 痛點:編號直欄 */
.pain { display: grid; grid-template-columns: repeat(3, 1fr); }
.st-lead { font-size: 18px; margin: -16px 0 36px; max-width: 40em; }
.st-lead b { color: var(--rose-deep); }
.pain-c span { position: relative; padding-left: 14px; }
.pain-c span::before { content: ""; position: absolute; left: 0; top: .75em; width: 5px; height: 5px; border-radius: 50%; background: var(--rose); }
.me div > span { font-family: var(--serif); font-size: 24px; font-weight: 900; color: var(--rose-deep); }
.me-list { list-style: none; padding: 0; margin: 10px 0 0; }
.flow .me-list li { display: block; border-bottom: none; padding: 4px 0 4px 22px; position: relative; font-size: 17px; }
.me-list li::before { content: "✓"; position: absolute; left: 0; color: var(--rose-deep); font-weight: 700; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps li { border-left: 1px solid var(--line); padding: 0 22px; }
.steps li:nth-child(2) { transition-delay: .12s; } .steps li:nth-child(3) { transition-delay: .24s; } .steps li:nth-child(4) { transition-delay: .36s; }
.s-n { font-family: var(--serif); font-size: 40px; color: var(--rose-deep); line-height: 1; }
.steps h3 { font-size: 20px; font-weight: 900; margin: 12px 0 8px; }
.steps p { margin: 0; color: var(--grey); font-size: 15px; }
.steps-cta { margin: 44px 0 0; }
.pain-c { border-left: 1px solid var(--line); padding: 0 22px; display: flex; flex-direction: column; gap: 6px; }
.pain-c::before { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--rose-deep); animation: painGlow 6s infinite; }
.pain-c:nth-child(1)::before { content: "01"; } .pain-c:nth-child(2)::before { content: "02"; animation-delay: 1.5s; }
.pain-c:nth-child(3)::before { content: "03"; animation-delay: 3s; }
@keyframes painGlow { 0%, 22%, 100% { color: var(--soft); } 6%, 16% { color: var(--rose-deep); } }
.pain-c b { font-size: 20px; margin-top: 10px; }
.pain-c span { color: var(--grey); font-size: 15px; }
.st-turn { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 26px); margin: 48px 0 0; }

/* 系統做/你做決定 */
.flow { list-style: none; padding: 0; margin: 0; max-width: 760px; }
.flow li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--soft); }
.flow li:nth-child(2) { transition-delay: .15s; } .flow li:nth-child(3) { transition-delay: .3s; } .flow li:nth-child(4) { transition-delay: .45s; }
.flow em { font-style: normal; font-size: 13px; letter-spacing: .15em; color: var(--sage); font-weight: 700; }
.flow span { font-size: 18px; }
.flow .me { border-bottom: none; }
.flow .me em { color: var(--rose-deep); }

/* 數字:深色整條 */
.st-nums { background: var(--ink); color: var(--oat); box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax); border-top: none; }
.st-nums h2 { color: var(--oat); }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); }
.num-c { border-left: 1px solid #6E615C; padding: 0 22px; }
.num-c:nth-child(2) { transition-delay: .12s; } .num-c:nth-child(3) { transition-delay: .24s; } .num-c:nth-child(4) { transition-delay: .36s; }
.num-c p { margin: 0; }
.n-a { font-family: var(--serif); font-size: clamp(36px, 4.6vw, 64px); color: #E7B8BE; line-height: 1.1; white-space: nowrap; order: -1; }
.num-c { display: flex; flex-direction: column; }
.n-l { color: var(--oat); font-size: 15px; margin-top: 12px !important; }
.n-b { color: #A99C95; font-size: 14px; text-decoration: line-through; }

/* 兩件事 */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.two-c { padding: 32px 28px 32px 0; }
.two-c + .two-c { border-left: 1px solid var(--line); padding-left: 28px; transition-delay: .15s; }
.two-k { margin: 0; font-size: 13px; letter-spacing: .2em; color: var(--rose-deep); }
.two-c h3 { font-size: 24px; font-weight: 900; margin: 6px 0 10px; }
.two-c p:last-child { margin: 0; color: var(--grey); }
.loop { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.loop span { border: 1px solid var(--line); padding: 4px 14px; font-size: 15px; animation: loopLit 6s infinite; }
.loop span:nth-of-type(2) { animation-delay: 1.5s; } .loop span:nth-of-type(3) { animation-delay: 3s; } .loop span:nth-of-type(4) { animation-delay: 4.5s; }
@keyframes loopLit { 0%, 22%, 100% { background: transparent; color: var(--ink); } 6%, 16% { background: var(--ink); color: var(--oat); } }
.loop i { font-style: normal; color: var(--rose-deep); }

/* 兩件事:複利循環動畫(2026-11-24) */
.engine { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 24px; align-items: center; }
.eng { border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; transition: background .4s, color .4s, border-color .4s; position: relative; }
.eng h3 { font-size: 22px; font-weight: 900; margin: 6px 0 10px; line-height: 1.35; }
.eng p:not(.two-k) { margin: 0 0 14px; color: var(--grey); font-size: 15px; transition: color .4s; }
.eng .feed { font-size: 13px; color: var(--rose-deep); letter-spacing: .05em; }
.eng.on { background: var(--ink); color: var(--oat); border-color: var(--ink); }
.eng.on p:not(.two-k) { color: #CFC4BC; }
.eng.on .feed, .eng.on .two-k { color: #E7B8BE; }
.cyc { width: 100%; display: block; }
.cyc .c-ring { fill: none; stroke: var(--soft); stroke-width: 2; stroke-dasharray: 3 7; }
.cyc .c-trail { fill: none; stroke: var(--rose); stroke-width: 3; stroke-linecap: round; opacity: .6; }
.cyc .c-dot { fill: var(--rose-deep); }
.cyc .c-mid { font-family: var(--serif); font-weight: 900; font-size: 34px; text-anchor: middle; fill: var(--ink); }
.cyc .c-sub { font-size: 16px; text-anchor: middle; fill: var(--grey); }
.cyc .c-st rect { fill: var(--oat); stroke: var(--ink); stroke-width: 1; transition: fill .3s; }
.cyc .c-st text { font-size: 19px; text-anchor: middle; fill: var(--ink); transition: fill .3s; }
.cyc .c-st.on rect { fill: var(--rose-deep); stroke: var(--rose-deep); }
.cyc .c-st.on text { fill: #fff; font-weight: 700; }
@media (max-width: 900px) {
  .engine { grid-template-columns: 1fr 1fr; }
  .cyc { grid-column: 1 / -1; grid-row: 2; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 560px) { .engine { grid-template-columns: 1fr; } .cyc { grid-row: auto; } }

.st-who { padding-bottom: 40px; }
.st.joined { border-top: none; padding-top: 24px; }

/* 適合誰 */
.who { list-style: none; padding: 0; margin: 0; max-width: 760px; }
.who li { padding: 16px 0 16px 40px; border-bottom: 1px solid var(--soft); position: relative; font-size: 18px; }
.who li::before { content: "✓"; position: absolute; left: 4px; color: var(--rose-deep); font-weight: 700; }
.who li:nth-child(2) { transition-delay: .12s; } .who li:nth-child(3) { transition-delay: .24s; }

/* 我的故事 */
.st-story > div { max-width: 760px; }   /* 2026-11-24 Amy:這區不放頭像,妨礙閱讀 */
.st-story h2 { margin-bottom: 16px; }
.st-story p { margin: 0 0 12px; }
.story-pic { position: relative; aspect-ratio: 1; }
.story-pic::before { content: ""; position: absolute; inset: 0; transform: translate(12px, 12px); border: 1px solid var(--line); border-radius: 50%; }
.story-pic img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.st-story blockquote { margin: 24px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 26px); color: var(--rose-deep); }

/* 常見問題 */
.st-faq details { border-bottom: 1px solid var(--soft); max-width: 760px; padding: 18px 0; }
.st-faq summary { cursor: pointer; font-size: 18px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; }
.st-faq summary::after { content: "+"; color: var(--rose-deep); font-size: 22px; line-height: 1; }
.st-faq details[open] summary::after { content: "−"; }
.st-faq details p { margin: 10px 0 0; color: var(--grey); }

/* 文章 */
.sec-h { border-top: 1px solid var(--line); padding-top: 80px; margin-bottom: 20px; }
.tabs { display: flex; gap: 8px; margin-bottom: 28px; overflow-x: auto; }
.tabs button { font: inherit; font-size: 15px; border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 4px 16px; cursor: pointer; }
.tabs button.on { background: var(--ink); color: var(--oat); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px 28px; }
.card { text-decoration: none; display: flex; flex-direction: column; }
.card:hover h3 { color: var(--rose-deep); }
.card[hidden] { display: none; }
.thumb { position: relative; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.card:hover .thumb img { transform: scale(1.03); }
.play { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%; background: rgba(46, 37, 34, .75); color: #fff; display: grid; place-items: center; font-size: 22px; padding-left: 4px; }
.card .meta { padding: 14px 0 0; }
.card h3 { margin: 6px 0 4px; font-size: 21px; font-weight: 700; line-height: 1.45; transition: color .2s; }
.card p { margin: 0; color: var(--grey); font-size: 15px; line-height: 1.6; }

.meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--grey); letter-spacing: .05em; }
.tag { color: var(--rose-deep); font-weight: 700; }
.fmt { color: var(--grey); }
.fmt::before { content: "・"; }

/* 結尾 */
.st-end { text-align: center; margin-top: 80px; }
.st-end h2 { margin-bottom: 28px; }

/* 文章頁 */
.post { max-width: 720px; padding-top: 40px; }
.back { display: inline-block; margin: 0 0 20px; text-decoration: none; color: var(--grey); font-size: 15px; }
.post h1 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.35; font-weight: 900; margin: 10px 0 28px; }
.slides { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.slides img { width: 86%; max-width: 420px; flex-shrink: 0; scroll-snap-align: center; }
.hint { text-align: center; color: var(--grey); font-size: 14px; margin: 4px 0 0; }
.vid { width: 100%; max-height: 80vh; background: #000; }
article { margin-top: 32px; font-size: 18px; }
article h2 { font-size: 24px; font-weight: 900; color: var(--rose-deep); margin: 40px 0 8px; }
article p { margin: 18px 0; }
.post-cta { text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 16px; margin-top: 48px; }
.post-cta p { margin: 0 0 18px; font-family: var(--serif); font-size: 22px; font-weight: 700; }

.foot { text-align: center; color: var(--grey); font-size: 15px; padding: 32px 16px 48px; border-top: 1px solid var(--line); }
.foot p { margin: 4px 0; }
.foot-icons { display: flex; justify-content: center; gap: 18px; margin-top: 14px !important; }
.social { gap: 10px; }
.social a { width: 36px; height: 36px; }
.social svg { width: 18px; height: 18px; }
.icons a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: background .2s, color .2s; }
.icons a:hover { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.icons svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icons .dot { fill: currentColor; stroke: none; }
.foot p:first-child { font-family: var(--serif); font-style: italic; }

/* 2026-11-24 Amy:框框都稍微有點圓角 */
.audit-btn, .tabs button, .ig { border-radius: 10px; }
.thumb, .slides img, .vid { border-radius: 14px; }
.post-cta { border: 1px solid var(--line); border-radius: 18px; }
.st-end { text-align: center; }
.st-end h2 { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .pain-c::before, .loop span, .audit-btn::after { animation: none; }
}
@media (max-width: 760px) {
  main, .top { padding-left: 18px; padding-right: 18px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 56px; }
  .hero-pic { order: -1; width: 220px; justify-self: start; margin: 14px 0 0 14px; }
  .hero h1 span { white-space: normal; }
  .st, .sysmap { padding: 56px 0; }
  .sysmap { grid-template-columns: 1fr; }
  .nums { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .pain, .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .two { grid-template-columns: 1fr; }
  .two-c { padding: 24px 0; }
  .two-c + .two-c { border-left: none; border-top: 1px solid var(--line); padding-left: 0; }
  .flow li { grid-template-columns: 1fr; gap: 2px; }
  .st-story { grid-template-columns: 1fr; gap: 28px; }
  .story-pic { width: 180px; }
  .sec-h { padding-top: 56px; }
}
