/* 設計語彙參照 atd.cocreate.coach */
:root {
  --ink: #134160;
  --blue: #30A3D6;
  --teal: #3EB8C1;
  --teal-deep: #0089AD;
  --aqua: #A5E3E0;
  --mist: #F9FBFC;
  --paper: #FFFFFF;
  --cream: #FFF7E3;
  --sun: #FFC84D;
  --lime: #B7C47C;
  --text: #23363D;
  --muted: #6B7F86;
  --line: #DCE6E9;
  --error: #C8502F;
  --grad-rule: linear-gradient(90deg,#0089AD 0%,#3AAFB9 45%,#58BFBC 62%,#B7C47C 100%);
  --grad-btn: linear-gradient(90deg,#0B6588 0%,#0089AD 55%,#1B99B0 100%);
  --title: "LINE Seed TW_OTF","LINE Seed TW","Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;
  --sans: "Noto Sans TC","PingFang TC","Microsoft JhengHei",system-ui,sans-serif;
  --shadow: 0 30px 60px -30px rgba(22,86,106,.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--text); background: var(--mist);
  line-height: 1.75; -webkit-font-smoothing: antialiased; position: relative; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--title); color: var(--ink); line-height: 1.4; margin: 0; }
a { color: var(--teal-deep); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; position: relative; }

.bg { position: absolute; inset: 0 0 auto 0; height: 900px; z-index: -1; pointer-events: none; overflow: hidden; }
.bg svg { width: 900px; max-width: 120vw; height: auto; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.82); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(220,230,233,.7); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { height: 40px; width: auto; display: block; }
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  background: var(--grad-btn); color: #fff; font: inherit; font-weight: 700; letter-spacing: .04em;
  padding: 14px 36px; border-radius: 999px; box-shadow: 0 14px 28px -14px rgba(11,101,136,.7);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 18px 30px -14px rgba(11,101,136,.8); }
.btn.sm { padding: 8px 20px; font-size: 14px; box-shadow: none; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.pill { display: inline-block; font-size: 13px; color: var(--teal-deep); border: 1px solid var(--teal); border-radius: 999px; padding: 2px 12px; background: #fff; }

/* Hero */
.hero { padding: 72px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 14px; color: var(--teal-deep); font-weight: 500; letter-spacing: .04em; margin-bottom: 14px; }
.eyebrow span { color: var(--line); margin: 0 8px; }
.hero h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 900; }
.rule { width: 120px; height: 4px; border-radius: 4px; background: var(--grad-rule); margin: 22px 0; }
.hero p.lead { font-size: clamp(16px, 2vw, 18px); color: var(--text); margin: 0 0 10px; max-width: 560px; }
.slogan { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.slogan::before { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--muted); vertical-align: middle; margin-right: 8px; }

.glance {
  background: #fff; border-radius: 32px; padding: 28px 26px;
  box-shadow: var(--shadow), 0 0 0 10px rgba(255,255,255,.6);
}
.glance h2 { font-size: 15px; color: var(--muted); font-family: var(--sans); font-weight: 500; margin-bottom: 14px; }
.rows { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-left: 4px solid var(--blue); }
.row + .row { border-top: 1px dashed var(--line); }
.row.teal { border-left-color: var(--teal); }
.row.sun { border-left-color: var(--sun); }
.row .t { font-weight: 700; color: var(--ink); }
.row .s { font-size: 13px; color: var(--muted); }
.row .p { text-align: right; font-size: 12px; color: var(--muted); line-height: 1.3; white-space: nowrap; }
.row .p b { display: block; font-size: 22px; color: var(--teal-deep); font-weight: 900; }

/* Sections */
section { padding: 72px 0; }
.sec-title { text-align: center; margin-bottom: 44px; }
.sec-title h2 { font-size: clamp(24px, 3.6vw, 32px); font-weight: 900; }
.sec-title .rule { margin: 16px auto 0; width: 80px; }
.sec-title p { color: var(--muted); margin: 14px 0 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; }
.card .k { font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.card .v { font-family: var(--title); font-size: 22px; font-weight: 700; color: var(--ink); margin-top: 6px; }
.card .v small { font-size: 14px; font-weight: 500; color: var(--muted); }
.card .note { font-size: 14px; color: var(--muted); margin-top: 6px; }
.price-card { background: var(--grad-btn); border: 0; box-shadow: var(--shadow); }
.price-card .k, .price-card .note { color: rgba(255,255,255,.8); }
.price-card .v { color: #fff; font-size: 30px; font-weight: 900; }

.notice { margin-top: 24px; padding: 16px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); font-size: 15px; }
.notice b { color: var(--ink); }

/* 課程介紹 */
.br-sm { display: none; }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.intro { font-size: 17px; }
.intro p { margin: 0 0 12px; }
.intro-art { margin: 0; }
.intro-art img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.intro b { color: var(--ink); }
.intro-lead { font-family: var(--title); font-weight: 700; color: var(--teal-deep); font-size: 19px; }
.lenses { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lens { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; }
.lens h3 { font-size: 19px; display: flex; align-items: baseline; gap: 6px; }
.lens-n { font-size: 36px; font-weight: 900; line-height: 1; background: var(--grad-rule); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lens p { color: var(--muted); font-size: 14px; margin: 6px 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 14px; padding: 5px 14px; border-radius: 999px; background: #EEF8F9; color: var(--ink); border: 1px solid #D3ECEE; }

/* 學習旅程：階梯式三階段 */
.journey-bg { background: #fff; border-top: 1px solid var(--line); }
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stage { --sc: var(--ink); --sc-text: #fff; position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.stage.go { --sc: var(--sun); --sc-text: #3D2E05; margin-top: 88px; border: 2px solid var(--sun); box-shadow: var(--shadow); overflow: visible; }
.stage.fp { --sc: var(--teal-deep); margin-top: 44px; }
.stage.st { --sc: var(--ink); }
.here { position: absolute; top: -34px; left: 0; font-size: 13px; font-weight: 700; color: #8A5A10; }
.here::before { content: "📍 "; }
.stage-head { background: var(--sc); color: var(--sc-text); padding: 20px 22px; }
.stage.go .stage-head { border-radius: 20px 20px 0 0; }
.stage-head h3 { color: inherit; font-size: 21px; font-weight: 900; margin: 6px 0 4px; }
.stage-meta { display: flex; gap: 8px; }
.stage-code, .stage-days { font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.22); }
.stage.go .stage-code, .stage.go .stage-days { background: rgba(255,255,255,.55); }
.stage-goal { margin: 0; font-size: 14px; line-height: 1.6; opacity: .95; }
.stage-body { padding: 18px 22px 20px; display: flex; flex-direction: column; flex: 1; font-size: 14px; }
.stage-body > p:first-child { margin: 0 0 10px; color: var(--text); }
.stage-body ul { margin: 0 0 16px; padding-left: 18px; color: var(--muted); }
.stage-body li { margin-bottom: 6px; }
.stage-body li::marker { color: var(--sc); }
.stage.go .stage-body li::marker { color: #D9A21B; }
.stage-flow { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-weight: 700; color: var(--ink); font-size: 14px; }

.foundation { margin-top: 20px; background: #0B2F47; color: rgba(255,255,255,.9); border-radius: 18px; padding: 16px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; font-size: 14px; }
.foundation-k { font-weight: 700; color: var(--aqua); letter-spacing: .06em; }
.foundation span:not(.foundation-k):not(:last-child)::after { content: "・"; margin-left: 20px; color: rgba(255,255,255,.4); }
.journey-note { text-align: center; color: var(--muted); font-size: 14px; margin: 16px 0 0; }

.takeaway { margin-top: 48px; border-radius: 28px; padding: 32px clamp(20px, 4vw, 40px); background: var(--mist); border: 1px solid var(--line); text-align: center; }
.takeaway-head h3 { font-size: clamp(19px, 2.6vw, 23px); font-weight: 900; }
.takeaway-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.abilities { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.abilities li { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 16px 10px; font-size: 13px; color: var(--muted); }
.abilities b { display: block; font-family: var(--title); font-size: 19px; color: var(--teal-deep); margin-bottom: 2px; }
.takeaway-quote { margin: 0; font-family: var(--title); font-weight: 700; color: var(--ink); font-size: 17px; }

/* Steps: 參照 ATD 的編號流程 */
.steps-bg { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.flow::before { content: ""; position: absolute; top: 18px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line); }
.step { position: relative; }
.step:nth-child(1) { --c: var(--ink); }
.step:nth-child(2) { --c: var(--blue); }
.step:nth-child(3) { --c: var(--teal); }
.step:nth-child(4) { --c: var(--lime); }
.step .n { position: relative; display: grid; place-items: center; width: 38px; height: 38px; margin: 0 auto 14px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 700; box-shadow: 0 0 0 6px #fff; transition: background .4s, color .4s; }
/* 進度狀態：current＝目前步驟、done＝已完成、todo＝未完成（半透明底） */
.step.current .n { box-shadow: 0 0 0 6px #fff, 0 0 0 9px color-mix(in srgb, var(--c) 25%, #fff); }
.step.todo .n { background: color-mix(in srgb, var(--c) 22%, #fff); color: color-mix(in srgb, var(--c) 80%, #000); }
.step.todo h3 { color: var(--muted); }
.step h3 { font-size: 17px; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* Form */
.form-shell {
  max-width: 760px; margin: 0 auto; background: #fff; border-radius: 36px;
  padding: 40px clamp(20px, 5vw, 48px); box-shadow: var(--shadow), 0 0 0 10px rgba(255,255,255,.6);
}
fieldset { border: 0; padding: 0; margin: 0 0 36px; }
legend { font-family: var(--title); font-size: 19px; font-weight: 700; color: var(--ink); padding: 0; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; width: 100%; }
legend::before { content: ""; width: 4px; height: 20px; border-radius: 4px; background: var(--grad-rule); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 20px; }
.field > label, .field > .label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 15px; color: var(--ink); }
.req { color: var(--error); margin-left: 2px; }
.hint { font-size: 13px; color: var(--muted); margin: -2px 0 8px; }
input[type=text], input[type=email], input[type=tel], textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--mist);
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--teal-deep); box-shadow: 0 0 0 3px rgba(0,137,173,.15); background: #fff; }
.choices { display: grid; gap: 10px; }
.choices.inline { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.choice { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, background .2s; }
.choice:hover { border-color: var(--aqua); }
.choice input { accent-color: var(--teal-deep); width: 18px; height: 18px; margin: 0; flex: none; }
.choice:has(input:checked) { border-color: var(--teal-deep); background: #EEF8F9; color: var(--ink); font-weight: 500; }
.choice input[type=text] { padding: 6px 10px; font-size: 15px; }
.field.invalid input[type=text], .field.invalid input[type=email], .field.invalid input[type=tel], .field.invalid textarea { border-color: var(--error); }
.field.invalid .choice { border-color: #EBC0B3; }
.err { display: none; color: var(--error); font-size: 13px; margin-top: 6px; }
.field.invalid .err { display: block; }

.bank { background: var(--cream); border-left: 4px solid var(--sun); border-radius: 14px; padding: 18px 20px; margin-bottom: 20px; font-size: 15px; }
.bank dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0 0 10px; }
.bank dt { color: var(--muted); }
.bank dd { margin: 0; font-weight: 500; color: var(--ink); }
.bank .copy { font-size: 12px; margin-left: 8px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--teal-deep); background: #fff; color: var(--teal-deep); cursor: pointer; font-family: inherit; }
.bank .warn { color: #8A5A10; font-weight: 700; margin: 0; }
.info-box { background: #EEF8F9; border-left: 4px solid var(--teal); border-radius: 14px; padding: 14px 18px; font-size: 14px; color: var(--ink); margin-bottom: 20px; }
[hidden] { display: none !important; }

.submit-row { text-align: center; margin-top: 8px; }
.submit-row .btn { width: 100%; max-width: 360px; padding: 16px; font-size: 17px; }
.form-error { color: var(--error); text-align: center; margin-top: 14px; font-size: 14px; }
.choice .seats { margin-left: auto; font-size: 12px; color: var(--teal-deep); white-space: nowrap; }
.choice.full { opacity: .5; cursor: not-allowed; background: var(--mist); }
.choice.full .seats { color: var(--muted); }
.pill.full { color: var(--muted); border-color: var(--line); }
.demo-bar { background: var(--cream); border: 1px dashed var(--sun); border-radius: 12px; padding: 10px 14px; font-size: 13px; color: #8A5A10; margin-bottom: 24px; }
.other-input { margin-top: 10px; }
.line-row { text-align: center !important; margin-top: 8px; }
.line-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 999px; background: #06C755; color: #fff; font-weight: 700; text-decoration: none; transition: filter .2s, transform .2s; }
.line-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.success { text-align: center; padding: 20px 0; }
.success .icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--grad-btn); color: #fff; display: grid; place-items: center; font-size: 36px; }
.success h3 { font-size: 26px; margin-bottom: 14px; font-weight: 900; }
.success p { color: var(--text); text-align: left; }

/* Footer */
footer { background: var(--ink); color: rgba(255,255,255,.78); padding: 56px 0 40px; font-size: 15px; }
footer h3 { color: #fff; font-size: 18px; margin-bottom: 12px; }
footer a { color: #fff; }
footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
footer .copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; opacity: .7; }
footer .rule { margin: 0 0 16px; width: 60px; }

.mobile-cta { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; text-align: center; }

/* 兩頁之間的連結 */
.stage-link { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--sc); }
.stage-link:hover { text-decoration: underline; }
.next-hint { background: #EEF8F9; border-radius: 14px; padding: 12px 16px; font-size: 14px; }
.next-hint a { font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a:not(.btn) { font-size: 14px; text-decoration: none; color: var(--ink); }
.btn.ghost { background: #fff; color: var(--teal-deep); border: 1.5px solid var(--teal-deep); box-shadow: none; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── 認證課程頁 ── */
/* 旅程：下一站是 FP（GO 退為起點） */
.journey.at-fp .stage.go { border: 1px solid var(--line); box-shadow: none; }
.journey.at-fp .stage.fp { border: 2px solid var(--teal-deep); box-shadow: var(--shadow); overflow: visible; }
.journey.at-fp .stage.fp .stage-head { border-radius: 20px 20px 0 0; }
.journey.at-fp .here { color: var(--teal-deep); }
.done-mark { position: absolute; top: -30px; left: 0; font-size: 13px; font-weight: 700; color: var(--muted); }

/* 方案比較 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { --pc: var(--teal-deep); position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px 24px; }
.plan.st { --pc: var(--ink); }
.plan.full { --pc: var(--teal-deep); border: 2px solid var(--teal-deep); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad-btn); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 16px; border-radius: 999px; white-space: nowrap; }
.plan-code { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--pc); }
.plan h3 { font-size: 22px; font-weight: 900; margin: 2px 0 4px; }
.plan-cert { color: var(--muted); font-size: 14px; margin: 0; }
.plan-price { margin: 18px 0 4px; font-family: var(--title); color: var(--pc); font-size: 14px; }
.plan-price b { font-size: 34px; font-weight: 900; margin: 0 4px; }
.plan-days { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; font-size: 14px; flex: 1; }
.plan li { padding: 8px 0 8px 26px; position: relative; border-top: 1px dashed var(--line); }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--pc); font-weight: 700; }
.plan li.muted { color: var(--muted); }
.plan li.muted::before { content: "・"; }
.plan .btn { text-align: center; }
.plans-note { text-align: center; color: var(--muted); font-size: 13px; margin: 18px 0 0; }

/* 權益說明 */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perk { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 20px; }
.perk .ic { font-size: 24px; }
.perk h3 { font-size: 17px; margin: 8px 0 6px; }
.perk p { margin: 0; font-size: 14px; color: var(--muted); }

/* 報名表：方案選擇 */
.plan-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plan-choice .choice { flex-direction: column; align-items: flex-start; gap: 2px; position: relative; padding: 14px 14px 14px 42px; }
.plan-choice .choice input { position: absolute; left: 14px; top: 17px; }
.plan-choice .choice b { color: var(--ink); }
.plan-choice .choice small { color: var(--muted); font-size: 13px; }
.sess-group + .sess-group { margin-top: 14px; }
.sess-group h4 { margin: 0 0 8px; font-size: 14px; color: var(--ink); }
.success-amount { font-size: 15px; }

/* ── 體驗活動頁 ── */
.price-chip { display: inline-flex; align-items: baseline; gap: 6px; margin: 0 0 28px; padding: 8px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.price-chip + .price-fine { margin: -20px 0 26px 4px; font-size: 11.5px; color: var(--muted); }
.price-chip b { font-size: 22px; font-weight: 900; color: var(--teal-deep); font-family: var(--title); }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.who .lens h3 { font-size: 19px; }
.experience { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.exp-block { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; display: grid; gap: 14px; align-content: start; }
.exp-block .step-tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--teal-deep); }
.exp-block h3 { font-size: 20px; font-weight: 900; }
.exp-block p { margin: 0; color: var(--muted); font-size: 15px; }
.exp-block img { width: 100%; height: auto; mix-blend-mode: multiply; }
.qs { display: grid; gap: 10px; }
.q { background: #EEF8F9; border-radius: 16px 16px 16px 4px; padding: 10px 16px; font-weight: 500; color: var(--ink); font-size: 15px; }
.q:nth-child(even) { border-radius: 16px 16px 4px 16px; margin-left: 24px; background: #F4F7F8; }
.agenda { list-style: none; margin: 0 auto; padding: 0; max-width: 680px; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.agenda li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 22px; border-top: 1px dashed var(--line); align-items: baseline; }
.agenda li:first-child { border-top: 0; }
.agenda time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--teal-deep); font-size: 14px; }
.agenda li.hl { background: #EEF8F9; }
.agenda li.hl span b { color: var(--ink); }
.agenda-note { text-align: center; color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.prep { max-width: 680px; margin: 20px auto 0; display: flex; gap: 14px; align-items: center; background: var(--cream); border-left: 4px solid var(--sun); border-radius: 14px; padding: 14px 18px; font-size: 15px; }
.prep .ic { font-size: 26px; }
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.path-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: grid; gap: 4px; }
.path-step.now { border: 2px solid var(--teal-deep); box-shadow: var(--shadow); }
.path-step .k { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.path-step.now .k { color: var(--teal-deep); }
.path-step b { font-family: var(--title); color: var(--ink); font-size: 17px; }
.path-step span:last-child { font-size: 14px; color: var(--muted); }
.path-step a { font-size: 14px; font-weight: 700; text-decoration: none; }
.success-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 8px 0; }
.consent { margin: 4px 0 24px; }
.consent-box { align-items: flex-start; font-size: 15px; line-height: 1.6; background: var(--mist); }
.field > .consent-box { display: flex; gap: 12px; margin: 0; font-weight: 400; color: var(--text); }
.consent-box input { margin: 3px 0 0; flex: none; }
.fee-box { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; background: var(--mist); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 20px; }
.fee-box > span { color: var(--muted); font-size: 14px; }
.fee-box b { font-family: var(--title); font-size: 26px; font-weight: 900; color: var(--teal-deep); }
.fee-box small { color: var(--muted); font-size: 13px; }
.fee-box.free { background: #E3F4EE; border-color: #BFE3D5; }
.fee-box.free b { color: #1E8A6A; }
.code-row { display: flex; gap: 10px; }
.code-row input { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.code-row input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; }
.code-row .btn { flex: none; }
.code-msg { margin: 8px 0 0; font-size: 14px; border-radius: 10px; padding: 8px 12px; }
.code-msg.ok { background: #E3F4EE; color: #1E6E55; }
.code-msg.warn { background: var(--cream); color: #8A5A10; }
.code-msg.bad { background: #FBEAE5; color: var(--error); }
.gift-bar { background: var(--cream); border: 1px dashed #D9A21B; border-radius: 12px; padding: 12px 16px; font-size: 14px; color: #6B4A0E; margin-bottom: 24px; }
.gift-bar b { letter-spacing: .06em; }

/* ── 首頁：課程總覽地圖 ── */
.row .pill.step { color: var(--muted); border-color: var(--line); }
.pill, .nav-links a, .stage-code, .stage-days { white-space: nowrap; }
.tf { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.tf-logo { width: 180px; height: auto; display: block; margin-bottom: 14px; }
.tf h2 { font-size: clamp(24px, 3.6vw, 32px); font-weight: 900; }
.tf-agent { display: inline-block; margin: 12px 0 14px; font-size: 14px; font-weight: 700; color: var(--teal-deep); background: #EEF8F9; border-radius: 999px; padding: 4px 14px; }
.tf p { color: var(--text); margin: 0 0 14px; }
.quote { margin: 18px 0 0; padding: 14px 18px; border-left: 4px solid var(--teal); background: #fff; border-radius: 0 14px 14px 0; font-size: 15px; color: var(--ink); }
.quote cite { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--muted); }
.tf-art { display: grid; gap: 16px; }
.tf-art img { width: 100%; height: auto; display: block; }
.tf-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tf-feat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.tf-feat b { display: block; font-family: var(--title); color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.tf-feat span { font-size: 13px; color: var(--muted); line-height: 1.6; display: block; }

.journey.four { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.journey.four .stage { margin-top: 0; border: 1px solid var(--line); box-shadow: none; overflow: hidden; }
.journey.four .stage:nth-child(1) { margin-top: 96px; border: 2px solid var(--blue); box-shadow: var(--shadow); }
.journey.four .stage:nth-child(2) { margin-top: 64px; }
.journey.four .stage:nth-child(3) { margin-top: 32px; }
.journey.four .stage-head { border-radius: 0; }
.stage.exp { --sc: var(--blue); }
.journey.four .stage-flow { margin: 0 0 14px; }
.journey.four .stage-body ul { margin-bottom: 14px; }
.stage-cta { margin-top: auto; display: grid; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--line); }
.stage-next { font-size: 13px; color: var(--muted); }
.stage-next b { color: var(--ink); font-weight: 700; }
.stage-price { font-family: var(--title); font-weight: 900; color: var(--sc); font-size: 20px; }
.stage-price small { font-family: var(--sans); font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 4px; }
.stage-cta .btn { text-align: center; padding: 10px 16px; font-size: 15px; }
.start-mark { position: absolute; top: -32px; left: 0; font-size: 13px; font-weight: 700; color: var(--blue); }
.journey.four .stage:nth-child(1) { overflow: visible; }
.journey.four .stage:nth-child(1) .stage-head { border-radius: 20px 20px 0 0; }

/* ── 首頁 v2 ── */
.home-hero { padding: 64px 0 72px; }
.home-hero .sec-title { margin-bottom: 36px; }
.home-hero h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 900; }
.tf2 { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
.tf2-art { background: linear-gradient(160deg, #fff 0%, #EAF4F8 100%); border: 1px solid var(--line); border-radius: 28px; padding: 28px 24px 0; box-shadow: var(--shadow); overflow: hidden; }
.tf2-art .tf-logo { margin: 0 auto 4px; width: 200px; }
.tf2-art .train { width: 100%; height: auto; display: block; margin-bottom: -2px; }
.tf-agent.gold { background: var(--cream); color: #6B4A0E; }
.tf2 .quote { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); }
.hero-next { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.hero-next b { color: var(--ink); }
.tf-feats.wide { margin-top: 40px; gap: 16px; }
.tf-feats.wide .tf-feat { padding: 22px 20px; border-radius: 20px; }
.tf-feat .ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #EEF8F9; color: var(--teal-deep); margin-bottom: 12px; }
.tf-feat .ic svg { width: 22px; height: 22px; }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step3 { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--sc, var(--blue)); border-radius: 4px 20px 20px 4px; padding: 24px 24px 22px; }
.step3:nth-child(2) { --sc: var(--teal); }
.step3:nth-child(3) { --sc: var(--sun); }
.step3 .no { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--teal-deep); }
.step3 h3 { font-size: 21px; font-weight: 900; margin: 6px 0 0; }
.step3 .en { font-size: 13px; color: var(--muted); font-weight: 700; margin: 0 0 10px; }
.step3 p { margin: 0; color: var(--text); font-size: 15px; }
.fit { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; margin-top: 26px; }
.fit b { color: var(--teal-deep); font-size: 14px; margin-right: 4px; }
.fit span { background: #EEF3F5; color: var(--ink); font-size: 14px; font-weight: 500; padding: 7px 16px; border-radius: 999px; }
.inline-cta { text-align: center; margin: 26px 0 0; color: var(--muted); font-size: 15px; }
.inline-cta .btn { margin-left: 8px; }

.chooser { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin: -12px 0 30px; }
.chooser > span { font-weight: 700; color: var(--ink); font-size: 15px; margin-right: 4px; }
.chooser button { font: inherit; font-size: 14px; cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 7px 16px; border-radius: 999px; transition: all .2s; }
.chooser button:hover { border-color: var(--teal); }
.chooser button[aria-pressed="true"] { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 14px; }
.track::before { content: ""; position: absolute; top: 19px; left: 12.5%; right: 12.5%; height: 2px; background: var(--grad-rule); }
.track span { position: relative; justify-self: center; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 900; box-shadow: 0 0 0 6px var(--mist); }
.track span:nth-child(1) { background: var(--blue); }
.track span:nth-child(2) { background: var(--sun); color: #3D2E05; }
.track span:nth-child(3) { background: var(--teal-deep); }
.track span:nth-child(4) { background: var(--ink); }
.map-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.map-grid .stage { margin: 0; border: 1px solid var(--line); box-shadow: none; transition: transform .25s, box-shadow .25s, border-color .25s, opacity .25s; }
.map-grid .stage-head { border-radius: 0; }
.map-grid .stage-flow { margin: 0 0 14px; }
.map-grid .stage-sub { margin: 0; font-size: 12px; opacity: .85; letter-spacing: .02em; }
.map-grid .stage.is-pick { border: 2px solid var(--sc); box-shadow: var(--shadow); transform: translateY(-6px); }
.map-grid.picking .stage:not(.is-pick) { opacity: .55; }
.pick-tag { display: none; align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--sc); background: #fff; border: 1px solid var(--sc); border-radius: 999px; padding: 2px 10px; margin-bottom: 8px; }
.stage.is-pick .pick-tag { display: inline-block; }
.stage.go .pick-tag { color: #8A5A10; border-color: #D9A21B; }
.price-fine { font-size: 11px; color: var(--muted); line-height: 1.5; margin: -4px 0 0; }

.final-cta { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 40px 24px; box-shadow: var(--shadow); }
.final-cta h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 900; }
.final-cta p { color: var(--muted); margin: 10px 0 22px; }
.final-cta .btn + .btn { margin-left: 10px; }

@media (max-width: 980px) {
  .map-grid { grid-template-columns: 1fr 1fr; }
  .track { display: none; }
  .tf2 { grid-template-columns: 1fr; gap: 28px; }
  .steps3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .map-grid { grid-template-columns: 1fr; }
  .final-cta .btn { display: block; margin: 10px auto 0 !important; max-width: 280px; }
  .inline-cta .btn { display: block; margin: 10px auto 0; max-width: 280px; }
}
@media (max-width: 980px) {
  .journey.four { grid-template-columns: 1fr 1fr; }
  .journey.four .stage:nth-child(n) { margin-top: 0; }
  .journey.four .stage:nth-child(1) { margin-top: 30px; }
  .journey.four .stage:nth-child(2) { margin-top: 30px; }
}
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .tf { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .journey.four { grid-template-columns: 1fr; }
  .journey.four .stage:nth-child(2) { margin-top: 0; }
  .tf-feats { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .intro-art { width: 100%; max-width: 420px; justify-self: center; }
  .journey { grid-template-columns: 1fr; gap: 28px; }
  .stage.go, .stage.fp { margin-top: 0; }
  .stage.go { margin-top: 26px; }
  .abilities { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
  .journey.at-fp .stage.go { margin-top: 26px; }
  .journey.at-fp .stage.fp { margin-top: 26px; }
  .plans { grid-template-columns: 1fr; gap: 28px; max-width: 480px; margin: 0 auto; }
  .perks { grid-template-columns: 1fr 1fr; }
  .plan-choice { grid-template-columns: 1fr; }
  .experience { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .br-sm { display: inline; }
  .lenses { grid-template-columns: 1fr; }
  .intro { font-size: 16px; }
  .foundation { flex-direction: column; gap: 4px; }
  .foundation span::after { content: none !important; }
  .grid2 { grid-template-columns: 1fr; }
  .nav .btn { display: none; }
  .nav-links a:not(.btn) { display: none; }
  .perks { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr; }
  .agenda li { grid-template-columns: 1fr; gap: 0; }
  .logo { height: 34px; }
  .mobile-cta.show { display: block; }
  section { padding: 56px 0; }
  .hero { padding: 44px 0 56px; }
  .flow { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .flow::before { top: 18px; bottom: 18px; left: 18px; right: auto; width: 2px; height: auto; background: var(--line); }
  .step { display: grid; grid-template-columns: 38px 1fr; column-gap: 16px; }
  .step .n { margin: 0; grid-row: span 2; }
  .form-shell { border-radius: 28px; }
  .glance { border-radius: 28px; }
}

/* 「僅含場地及茶水費」小字註記 */
.fine-note { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); line-height: 1.5; margin-top: 2px; }

/* ── 主視覺卡片（體驗分享會、遊戲識人工作坊） ── */
.banner-hero { padding: 40px 0 64px; }
.banner-hero .wrap { display: block; }
.banner { position: relative; display: grid; grid-template-columns: 1fr; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
  background: radial-gradient(120% 70% at 0% 110%, rgba(246, 200, 90, .22), transparent 60%), linear-gradient(135deg, #FFFFFF 0%, #F1F6F9 70%); }
.banner-text { padding: clamp(28px, 5vw, 52px); }
.banner h1 { font-size: clamp(34px, 5.4vw, 54px); font-weight: 900; line-height: 1.2; }
.banner h1 em { font-style: normal; color: var(--teal-deep); }
.banner-tag { font-size: clamp(16px, 2vw, 19px); font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.banner .lead { margin-bottom: 22px; }
.banner-art { position: relative; min-height: 100%; }
.banner-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; }

/* 無先修／自由參加提示 */
.no-prereq { justify-self: start; display: inline-block; font-size: 13px; font-weight: 700; color: #0A7B62; background: #E6F6F1; border-radius: 14px; padding: 4px 12px; margin: 0; }
.banner .no-prereq { display: table; margin: -14px 0 24px; }
.stage-free { font-size: 12px; color: var(--muted); }
.stage-alt { display: block; text-align: center; font-size: 13px; font-weight: 700; color: var(--teal-deep); text-decoration: none; }
.stage-alt:hover { text-decoration: underline; }

/* 首頁地圖：入門體驗（虛線）＋認證路線（實線） */
.route-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 10px; font-size: 13px; font-weight: 700; text-align: center; }
.route-labels span { padding: 4px 8px 6px; border: 2px solid; border-bottom: 0; border-radius: 12px 12px 0 0; }
.route-labels .free { color: var(--blue); border-color: var(--blue); border-style: dashed; }
.route-labels .cert { grid-column: 2 / 5; color: var(--teal-deep); border-color: var(--teal-deep); }
.track::before { left: 37.5%; }
.track::after { content: ""; position: absolute; top: 19px; left: 12.5%; width: 25%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 6px, transparent 6px 12px); }
.track span { z-index: 1; }
.track .t-exp { font-size: 12px; letter-spacing: .04em; }

/* 體驗分享會：場次＋流程 */
.sched { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
.sched .agenda { max-width: none; }

/* 遊戲識人工作坊：課程重點 */
.gains { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.gain { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.gain h3 { font-size: 19px; margin: 0 0 8px; color: var(--ink); }
.gain p { margin: 0; }
.gain .ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #EEF8F9; color: var(--teal-deep); margin-bottom: 14px; }
.gain .ic svg { width: 24px; height: 24px; }
.flow3 { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 920px; margin: 28px auto 0; }
.flow3 li { position: relative; display: grid; gap: 2px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px; }
.flow3 li:not(:last-child)::after { content: "→"; position: absolute; right: -22px; top: 50%; transform: translateY(-50%); color: var(--teal); font-weight: 900; }
.flow3 .no { font-size: 12px; font-weight: 900; color: #C48A12; letter-spacing: .08em; }
.flow3 b { font-size: 17px; color: var(--ink); }
.flow3 span:last-child { font-size: 14px; color: var(--muted); }
.route-note { text-align: center; margin: 26px auto 0; font-size: 14px; color: var(--muted); }
.route-note b { display: inline-block; background: #E6F6F1; color: #0A7B62; border-radius: 999px; padding: 3px 12px; margin-right: 10px; }

@media (max-width: 980px) {
  .route-labels { display: none; }
  .sched { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .banner { grid-template-columns: 1fr; }
  .banner-art { order: -1; height: 210px; }
  .banner-art img { object-position: center 42%; }
  .gains, .flow3 { grid-template-columns: 1fr; }
  .flow3 { gap: 14px; }
  .flow3 li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -19px; transform: translateX(-50%); }
}

/* ── 主視覺角色圖（體驗分享會：四位角色；遊戲識人工作坊：沉思觀察的角色） ── */
.banner.exp { grid-template-columns: minmax(0, 1fr) 44%; }
.banner.go { grid-template-columns: minmax(0, 1fr) 40%; }
.tf-badge { position: absolute; display: grid; justify-items: center; gap: 2px; padding: 10px 14px 8px; border-radius: 16px; background: rgba(255,255,255,.88); backdrop-filter: blur(6px); box-shadow: 0 8px 20px -10px rgba(0,0,0,.35); z-index: 1; }
.tf-badge img { position: static; width: 112px; height: auto; display: block; }
.tf-badge span { font-size: 11px; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.banner-team { position: relative; display: flex; flex-direction: column; justify-content: flex-end; }
.banner-team::before { content: ""; position: absolute; left: 8%; right: -10%; bottom: -12%; height: 92%; border-radius: 50%; background: radial-gradient(closest-side, rgba(62,184,193,.20), rgba(62,184,193,.06) 70%, transparent); }
.banner-team .team { position: relative; display: block; width: 128%; max-width: none; height: auto; margin-left: -28%; mix-blend-mode: multiply; }
.banner-team .tf-badge { top: 32px; right: 32px; }
.banner-solo { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.banner-solo::before { content: ""; position: absolute; left: 0; right: -8%; top: 16%; bottom: -10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(246,200,90,.28), rgba(246,200,90,.08) 70%, transparent); }
.banner-solo .solo { position: relative; display: block; width: 100%; max-width: 440px; height: auto; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6% 100%, 6% 45%, 0 45%); }
.banner-solo .tf-badge { bottom: 28px; right: 24px; }
@media (max-width: 760px) {
  .banner.exp, .banner.go { grid-template-columns: 1fr; }
  .banner-team::before, .banner-solo::before, .banner-team .tf-badge, .banner-solo .tf-badge { display: none; }
  .banner-team .team { width: 100%; margin-left: 0; }
  .banner-solo .solo { width: 72%; }
  .price-chip { flex-wrap: wrap; border-radius: 18px; row-gap: 0; }
  .price-chip > * { white-space: nowrap; }
}

/* ── 參與者回饋：體驗過的人，這樣說 ── */
#voices { background: linear-gradient(180deg, #EEF7F8 0%, var(--mist) 100%); border-top: 1px solid var(--line); }
.themes { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin: -14px 0 30px; }
.themes .k { font-weight: 700; color: var(--ink); font-size: 14px; margin-right: 4px; }
.themes span:not(.k) { font-size: 13px; background: #fff; color: var(--teal-deep); border: 1px solid #CDEBEE; border-radius: 999px; padding: 5px 14px; }
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.voice { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px 22px; display: flex; flex-direction: column; }
.voice::before { content: "“"; position: absolute; top: 4px; right: 22px; font: 900 72px/1 Georgia, serif; color: rgba(62,184,193,.25); }
.voice blockquote { margin: 12px 0 18px; font-size: 15.5px; line-height: 1.85; color: var(--text); flex: 1; }
.voice figcaption { font-size: 13px; color: var(--muted); }
.voice figcaption::before { content: "— "; }
.v-tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: #8A5A10; background: #FFF5DA; border-radius: 999px; padding: 3px 12px; }
.marquee { margin: 28px 0 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track-q { display: flex; width: max-content; animation: slide-q 70s linear infinite; }
.marquee:hover .track-q { animation-play-state: paused; }
.q-set { display: flex; gap: 14px; padding-right: 14px; }
.q-set span { white-space: nowrap; font-size: 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; }
@keyframes slide-q { to { transform: translateX(-50%); } }
#voices .inline-cta { margin-top: 30px; }
@media (prefers-reduced-motion: reduce) {
  .track-q { animation: none; width: auto; }
  .q-set { flex-wrap: wrap; justify-content: center; }
  .q-set[aria-hidden] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 900px) { .voices { grid-template-columns: 1fr; } }
.banner-en { margin: 8px 0 0; font-size: clamp(15px, 1.8vw, 18px); font-weight: 700; color: var(--teal-deep); letter-spacing: .03em; }
.plan-en, .stage-sub { overflow-wrap: anywhere; }
.plan-en { margin: -4px 0 6px; font-size: 13px; font-weight: 700; color: var(--teal-deep); letter-spacing: .02em; }
.stage-sub { margin: 0; font-size: 12px; opacity: .85; letter-spacing: .02em; }

/* ── 學習地圖四張卡片：結構一致、各列高度對齊（CSS subgrid） ── */
.map-grid .stage-sub { min-height: 1.5em; }
.stage-intro { margin: 0 0 10px; color: var(--text); }
.stage-tag { justify-self: start; align-self: start; display: inline-block; font-size: 12.5px; font-weight: 700; line-height: 1.5; color: var(--sc); background: color-mix(in srgb, var(--sc) 10%, #fff); border-radius: 12px; padding: 3px 12px; }
.stage.go .stage-tag { color: #8A5A10; background: #FFF5DA; }
.stage-tag.ok, .stage.go .stage-tag.ok { color: #0A7B62; background: #E6F6F1; }
.stage-price.muted { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--muted); }
.stage-price .price-fine { display: block; margin: 2px 0 0; font-family: var(--sans); font-size: 11px; font-weight: 400; color: var(--muted); }
.map-grid .pick-tag { position: absolute; top: 12px; right: 12px; margin: 0; z-index: 1; }
.map-grid .stage-cta { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.map-grid .stage-cta .btn { margin-top: auto; }
@supports (grid-template-rows: subgrid) {
  .map-grid { row-gap: 20px; }
  .map-grid .stage { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; }
  .map-grid .stage-head { grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .map-grid .stage-body { grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 0; }
  .map-grid .stage-head > *, .map-grid .stage-body > * { align-self: start; }
  .map-grid .stage-body > .stage-cta { align-self: stretch; }
}
.map-grid .stage.exp, .map-grid .stage.go, .map-grid .stage.fp, .map-grid .stage.st { margin-top: 0; }
.map-grid .stage-cta { margin-top: 0; }
.map-grid .stage-cta .btn:not(.ghost) { border: 1.5px solid transparent; }

/* ── 報名區塊：表單＋右側報名摘要與流程 ── */
.reg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; max-width: 1100px; margin: 0 auto; }
.reg-layout .form-shell { max-width: none; margin: 0; }
.reg-aside { position: sticky; top: 84px; display: grid; gap: 16px; }
.reg-summary, .reg-steps { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px; box-shadow: 0 16px 34px -24px rgba(22,86,106,.45); }
.reg-summary h3 { font-size: 16px; margin: 0 0 12px; color: var(--ink); }
.reg-summary dl { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px 10px; margin: 0; font-size: 14px; }
.reg-summary dt { color: var(--muted); }
.reg-summary dd { margin: 0; font-weight: 700; color: var(--ink); line-height: 1.5; }
.reg-summary dd.empty { font-weight: 400; color: var(--muted); }
.sum-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.reg-steps summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 16px; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.reg-steps summary::-webkit-details-marker { display: none; }
.reg-steps summary::after { content: "▾"; margin-left: auto; color: var(--muted); font-size: 13px; transition: transform .2s; }
.reg-steps[open] summary::after { transform: rotate(180deg); }
.reg-steps summary span { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.reg-steps[open] summary span { display: none; }
.mini-flow { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.mini-flow li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; }
.mini-flow .n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; font-weight: 700; background: #EEF3F5; color: var(--muted); }
.mini-flow li.current .n { background: var(--teal-deep); color: #fff; }
.mini-flow li.done .n { background: #E6F6F1; color: #0A7B62; }
.mini-flow b { display: block; font-size: 14px; color: var(--ink); }
.mini-flow li.todo b { color: var(--muted); }
.mini-flow small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* 表單進度列（捲動時固定在表單上方） */
.form-progress { position: sticky; top: 64px; z-index: 5; list-style: none; display: flex; gap: 6px; margin: -8px 0 24px; padding: 10px 0; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.form-progress::-webkit-scrollbar { display: none; }
.form-progress li { flex: 0 0 auto; }
.form-progress button { display: flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; color: var(--muted); background: none; border: 0; padding: 4px 8px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.form-progress button:hover { background: #F2F7F8; }
.form-progress .n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #EEF3F5; font-size: 12px; font-weight: 700; }
.form-progress li.on button { color: var(--ink); font-weight: 700; }
.form-progress li.on .n { background: var(--teal-deep); color: #fff; }
.form-progress li.done .n { background: #E6F6F1; color: #0A7B62; }
#regForm fieldset { scroll-margin-top: 130px; }
.draft-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 18px; padding: 10px 14px; border-radius: 12px; background: #F2F7F8; font-size: 13px; color: var(--muted); }
.draft-note button { font: inherit; font-size: 13px; color: var(--teal-deep); font-weight: 700; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }

@media (max-width: 900px) {
  .reg-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .reg-aside { position: static; order: -1; }
  .reg-summary, .reg-steps { padding: 16px 18px; border-radius: 18px; }
}

/* 進度列：實心背景、延伸到表單左右邊緣，避免下方文字透出 */
.form-progress { top: 65px; background: #fff; margin: -8px calc(-1 * clamp(20px, 5vw, 48px)) 24px; padding: 10px clamp(20px, 5vw, 48px); box-shadow: 0 10px 14px -12px rgba(22,86,106,.25); }

/* 優惠碼：驗證 Email 提示、三種結果、刪除線原價 */
.code-email { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.code-msg { display: grid; gap: 2px; margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 14px; border: 1px solid transparent; }
.code-msg b { font-weight: 700; }
.code-msg span { font-size: 13px; line-height: 1.6; }
.code-msg.ok { background: #E6F6F1; border-color: #BFE3D5; color: #0A6B52; }
.code-msg.warn { background: #FFF6E0; border-color: #F1D79A; color: #7A4F06; }
.code-msg.bad { background: #FBEAE5; border-color: #F2C6BA; color: var(--error); }
.code-remove { justify-self: start; margin-top: 4px; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; color: inherit; text-decoration: underline; cursor: pointer; opacity: .85; }
.code-remove:hover { opacity: 1; }
.fee-box .fee-was { font-size: 15px; color: var(--muted); text-decoration: line-through; }
.fee-box.discounted { background: #FFF8E6; border-color: #F1D79A; }
.fee-box.discounted b { color: #B26B00; }

/* ── 體驗分享會：場次與活動流程（兩張卡片樣式一致、等高） ── */
.sched { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 24px; align-items: stretch; }
.sched-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 16px 34px -26px rgba(22,86,106,.45); }
.sched-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.sched-head h3 { margin: 0; font-size: 16px; color: var(--ink); }
.sched-head span { font-size: 13px; color: var(--muted); }
.sess-list { list-style: none; margin: 0; padding: 0; }
.sess-list li, .sched-card .agenda li { min-height: 57px; padding-top: 0; padding-bottom: 0; }
.sess-list li { display: flex; align-items: center; gap: 10px; padding: 0 22px; border-top: 1px dashed var(--line); }
.sess-list li:first-child { border-top: 0; }
.sess-list b { flex: 1; color: var(--ink); font-size: 15px; }
.sess-list small { color: var(--muted); font-size: 12.5px; }
.sess-list li.empty { color: var(--muted); font-size: 14px; padding: 16px 22px; }
.tag { flex: none; font-size: 12.5px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #E6F4F7; color: var(--teal-deep); white-space: nowrap; }
.tag.low { background: #FFF1DE; color: #B26B00; }
.tag.full { background: #EEF1F3; color: var(--muted); }
.sched-foot { margin-top: auto; padding: 14px 22px 18px; border-top: 1px solid var(--line); }
.sched-foot .btn { display: block; text-align: center; }
.sched-card .agenda { flex: 1; max-width: none; margin: 0; border: 0; border-radius: 0; }
.sched-card .agenda li { align-items: center; }
.agenda em { margin-left: 8px; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--teal-deep); background: #fff; border: 1px solid #BFE0E6; border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
#agenda .prep { max-width: none; margin: 20px 0 0; border: 1px solid #F1D79A; border-left-width: 1px; border-radius: 16px; padding: 14px 18px; }
@media (max-width: 980px) {
  .sched { grid-template-columns: minmax(0, 1fr); }
}
