:root {
  --ink: #1c2150;
  --muted: #4d5478;
  --blue: #2c37a3;
  --blue-bright: #4d5ef0;
  --lilac: #e4e8ff;
  --mint: #5ee0c8;
  --mint-deep: #14c4ab;
  --sun: #ffd056;
  --coral: #ff6b4a;
  --cream: #fff8ee;
  --paper: #ffffff;
  --bg: #eef2fb;
}
* { box-sizing: border-box; }
/* .fields（grid）、.btn（inline-flex）會蓋過瀏覽器預設的 [hidden]，送出成功後收不起表單 */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans TC", "Nunito", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
.wrap { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 30; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* nav */
header.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(238, 242, 251, .92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(28, 33, 80, .08);
}
.nav-inner {
  display: flex; align-items: center; gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 800;
  font-family: Nunito, "Noto Sans TC", sans-serif;
  flex: none;
}
.brand img { width: 36px; height: 36px; }
.nav-links {
  display: flex; align-items: center; gap: 18px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.lang {
  display: inline-flex; align-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  flex: none;
  font-size: 13px;
  font-weight: 800;
}
.lang a {
  text-decoration: none;
  padding: 5px 11px;
  line-height: 1.2;
}
.lang a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 3px solid var(--ink); border-radius: 999px;
  padding: 11px 22px; min-height: 48px;
  text-decoration: none; font-weight: 800; cursor: pointer;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .16s ease, box-shadow .16s ease;
  background: #fff;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-solid { background: var(--sun); color: var(--ink); }
.btn-blue { background: var(--blue-bright); color: #fff; }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: 14px; }

/* hero */
.hero { position: relative; padding: 28px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 36px;
  align-items: center;
}
.widget {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
  max-width: 400px;
  margin-left: auto;
}
.widget-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--lilac);
  border-bottom: 3px solid var(--ink);
}
.widget-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--mint);
  border: 2px solid var(--ink);
  flex: none;
}
.widget-bar strong { display: block; font-size: 15px; }
.widget-bar small { color: var(--muted); font-size: 12px; }
.widget-body { padding: 14px; display: grid; gap: 8px; }
.msg {
  max-width: 90%;
  padding: 8px 12px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
  border: 2px solid var(--ink);
}
.msg.bot { background: var(--lilac); border-bottom-left-radius: 4px; }
.msg.user {
  background: var(--blue-bright); color: #fff;
  margin-left: auto; border-bottom-right-radius: 4px;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px; font-weight: 800;
  background: var(--sun);
}
.caption { text-align: right; font-size: 11px; color: #8b91b3; padding: 0 14px 10px; }
.ribbon {
  display: inline-block;
  background: var(--mint);
  border: 3px solid var(--ink);
  border-radius: 8px;
  padding: 4px 14px;
  font-weight: 800;
  font-size: 13px;
  transform: rotate(-2deg);
  margin-bottom: 14px;
}
h1 {
  font-family: Nunito, "Noto Sans TC", sans-serif;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.34;
  letter-spacing: .04em;
  font-weight: 900;
  margin: 0 0 16px;
}
h1 em { font-style: normal; color: var(--blue-bright); }
.lead { margin: 0 0 22px; color: var(--muted); max-width: 38rem; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 14px 0 0; color: var(--muted); font-size: 14px; }

/* waves */
.wave { display: block; width: 100%; height: 40px; }
.wave path { fill: currentColor; }

/* offer strip */
.strip {
  background: var(--ink);
  color: #fff;
  padding: 14px 0;
}
.strip-row {
  display: flex; flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 14px;
}
.strip-row span { display: inline-flex; align-items: center; gap: 8px; }
.strip-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--mint);
  border: 2px solid #fff;
  flex: none;
}

/* shared headings */
.sec-head { margin: 0 0 14px; }
.sec-head.right { text-align: right; }
.kicker {
  display: inline-block;
  font-family: Nunito, sans-serif;
  font-weight: 800;
  letter-spacing: .16em;
  font-size: 13px;
  margin-bottom: 8px;
}
.slab h2, .band h2, .faq-sec h2, .apply h2, .block h2, .market h2 {
  font-family: Nunito, "Noto Sans TC", sans-serif;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.3;
}
.sec-head h2, .block h2, .faq-sec h2, .apply h2, .market h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0;
}
.sec-head p, .sec-lead {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 500;
  max-width: 40rem;
}
.sec-head.right p { margin-left: auto; }

/* pitch / pain */
.block { padding: 36px 0 28px; }
.block .lede {
  font-size: 18px;
  max-width: 42rem;
  margin: 0 0 22px;
  color: var(--ink);
}
.contrast {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.way {
  flex: 1;
  border: 3px solid var(--ink);
  border-radius: 22px;
  padding: 20px 22px 18px;
  box-shadow: 7px 7px 0 var(--ink);
}
.way h3 { margin: 0 0 8px; font-size: 22px; }
.way p { margin: 0; color: var(--muted); }
.way-old {
  background: #f3f4fb;
  transform: rotate(-1.2deg);
  margin-top: 18px;
  max-width: 46%;
}
.way-new {
  background: #fff;
  transform: rotate(1deg);
  max-width: 54%;
  border-width: 3px;
}
.way-new { background: #effff9; }
.way-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 2px solid var(--ink);
}
.way-old .way-tag { background: #e8eaf6; }
.way-new .way-tag { background: var(--mint); }

.cta-row {
  display: flex; flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  padding: 16px 18px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--ink);
}
.cta-row p { margin: 0; font-weight: 800; font-size: 16px; }

/* scenes - staggered, not a grid */
.scenes { display: flex; flex-direction: column; gap: 14px; }
.scene {
  width: min(740px, 100%);
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 7px 7px 0 var(--ink);
  padding: 18px 22px 16px;
}
.scene h3 { margin: 0 0 6px; font-size: 22px; }
.scene p { margin: 0; color: var(--muted); }
.scene.s2 { align-self: flex-end; background: var(--lilac); width: min(700px, 92%); }
.scene.s3 { align-self: center; background: var(--cream); width: min(760px, 96%); }

/* steps slab */
.slab {
  background: var(--mint);
  color: var(--ink);
  position: relative;
  padding: 32px 0 36px;
}
.slab .sec-head p { color: var(--ink); font-weight: 700; }
.flow {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  padding: 22px 8px 28px;
  overflow: visible;
}
.panel {
  position: relative;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 22px 22px 16px 24px;
}
.panel .no {
  position: absolute;
  top: -16px;
  left: -12px;
  width: 44px;
  height: 44px;
  margin: 0;
  display: grid;
  place-items: center;
  font-family: Nunito, sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .06em;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--blue);
  color: #fff;
  box-shadow: 3px 3px 0 #fff;
  z-index: 3;
}
.panel h3 { margin: 0 0 8px; font-size: clamp(20px, 2.6vw, 28px); }
.panel p { margin: 0; color: var(--muted); }
.p1 {
  width: min(470px, 54%);
  align-self: flex-start;
  margin-left: 3%;
  background: #fff;
  transform: rotate(-2.6deg);
  z-index: 2;
}
.p2 {
  width: min(480px, 54%);
  align-self: flex-end;
  margin-right: 5%;
  margin-top: 4px;
  background: var(--blue-bright);
  color: #fff;
  transform: rotate(2.3deg);
  z-index: 3;
}
.p2 p { color: #e4e8ff; }
.p2 .no {
  background: var(--sun);
  color: var(--ink);
  left: auto;
  right: -12px;
}
.p3 {
  width: min(520px, 62%);
  align-self: center;
  margin-left: -8%;
  margin-top: 40px;
  background: var(--sun);
  transform: rotate(-1.8deg);
  z-index: 2;
}
.p3 .no {
  background: #ff6b4a;
  color: #fff;
}
.hop {
  position: absolute;
  pointer-events: none;
  overflow: visible;
  z-index: 4;
}
.hop-12 {
  right: -78px;
  bottom: 8px;
  width: 90px;
  height: 56px;
  transform: rotate(2.6deg);
}
.hop-23 {
  left: 8px;
  bottom: -58px;
  width: 64px;
  height: 72px;
  transform: rotate(-2.3deg);
}
.slab .cta-row { background: #fff; margin-top: 16px; }

/* knowledge */
.kb {
  padding: 36px 0 32px;
  background: var(--bg);
}
.kb-inner {
  display: flex;
  align-items: center;
  gap: 36px;
}
.kb-copy { flex: 1; }
.kb-copy p { margin: 12px 0 0; color: var(--muted); max-width: 36rem; }
.kb-card {
  flex: 0 0 auto;
  width: min(420px, 44%);
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 18px 20px 16px;
}
.kb-card .src {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 8px 12px;
  background: var(--lilac);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}
.kb-card .ok {
  background: var(--mint);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 11px;
  flex: none;
}
.kb-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.kb-card li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px;
}
.tick {
  width: 18px; height: 18px; flex: none;
  border-radius: 50%;
  background: var(--mint);
  border: 2px solid var(--ink);
  position: relative;
}
.tick::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 6px; height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(40deg);
}
.kb-note { margin: 12px 0 0; font-size: 12px; color: #8b91b3; }

/* highlight bands */
.band {
  position: relative;
  padding: 36px 0;
  overflow: hidden;
}
.band-sun { background: var(--sun); }
.band-blue { background: var(--blue-bright); color: #fff; }
.band-blue .muted, .band-blue p { color: #e4e8ff; }
.band-cream { background: var(--cream); }
.band-coral { background: #ffd8ce; }
.band-mint { background: var(--mint); }
.band-inner {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.band-inner.flip { flex-direction: row-reverse; }
.band-copy { flex: 1; }
.band-art { flex: 0 0 auto; width: min(240px, 32%); overflow: visible; }
.band-art.art-faq {
  width: min(520px, 52%);
}
.band-art.art-offer {
  width: min(260px, 34%);
}
.band-art.art-page {
  width: min(560px, 58%);
  height: auto;
  overflow: visible;
}
.band-art text {
  font-family: "Noto Sans TC", Nunito, sans-serif;
}
.band h2 { font-size: clamp(26px, 3.8vw, 42px); margin: 0 0 8px; }
.band p { margin: 0; font-size: 16px; max-width: 38rem; }

/* market */
.market {
  background: var(--blue);
  color: #fff;
  padding: 36px 0;
}
.market .sec-head p, .market p { color: #d9deff; }
.market .cta-row { color: var(--ink); }
.market .cta-row p { color: var(--ink); }

/* faq */
.faq-sec { background: var(--bg); padding: 36px 0 28px; }
.faq-sec h2 { margin: 0 0 16px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 2px 20px;
  width: min(760px, 100%);
}
.faq-item:nth-child(even) { align-self: flex-end; width: min(700px, 92%); background: var(--lilac); }
.faq-item:nth-child(3n) { align-self: center; width: min(720px, 94%); background: var(--cream); }
details summary {
  cursor: pointer; font-weight: 800; padding: 12px 0;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; font-size: 22px; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: var(--muted); }

/* apply */
.apply { background: var(--blue); color: #fff; padding: 36px 0 48px; }
.apply h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 6px; text-align: center; }
.apply .sec-lead { text-align: center; color: #d9deff; margin: 0 auto 16px; max-width: 44rem; }
.form-wrap { position: relative; max-width: 640px; margin: 16px auto 0; }
form {
  background: #fff; color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 28px;
  box-shadow: 10px 10px 0 #15183a;
  padding: 24px 24px 22px;
}
.fields { display: grid; gap: 14px; }
label { display: block; font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.req { color: var(--coral); }
input, textarea {
  width: 100%;
  background: #f6f7ff;
  border: 2px solid #cfd5ef;
  border-radius: 16px;
  padding: 12px 14px;
  min-height: 52px;
  outline: none;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--blue-bright); background: #fff; }
.hint { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 400; }
.pending-note {
  margin: 16px 0 12px; padding: 12px 14px;
  border-radius: 14px; background: #fff6e0; color: #7a5600; font-size: 13px;
}
.consent { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.status {
  display: none; margin-top: 14px; padding: 12px 14px;
  border-radius: 14px; font-size: 14px; background: #e6faf3; color: #0f8f75;
}
.status.show { display: block; }
.status.error { background: #fff0e8; color: #b53a20; }

footer { padding: 28px 0 40px; color: var(--muted); font-size: 13px; background: var(--bg); }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.foot strong { color: var(--ink); }
.foot a { font-weight: 700; }
.draft { margin-top: 12px; color: #8b91b3; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-inner { min-height: 58px; gap: 8px; }
  .brand span { font-size: 15px; }
  .lang a { padding: 5px 8px; }
  .btn-sm { min-height: 38px; padding: 6px 12px; font-size: 13px; box-shadow: 3px 3px 0 var(--ink); }
  .hero { padding: 16px 0 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { order: -1; }
  .widget { margin: 0 auto; }
  .strip-row { gap: 8px 16px; justify-content: flex-start; }
  .block, .kb, .band, .market, .faq-sec { padding-top: 28px; padding-bottom: 24px; }
  .sec-head.right { text-align: left; }
  .contrast { flex-direction: column; }
  .way-old, .way-new { max-width: 100%; transform: none; margin-top: 0; }
  .way-old { width: 92%; }
  .way-new { width: 100%; }
  .scene, .scene.s2, .scene.s3 { width: 100%; }
  .flow {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 20px 10px 16px;
  }
  .hop { display: none; }
  .p1, .p2, .p3 { margin: 0; }
  .p1 { width: 94%; align-self: flex-start; transform: rotate(-1.3deg); }
  .p2 { width: 90%; align-self: flex-end; transform: rotate(1.4deg); }
  .p3 { width: 96%; align-self: flex-start; transform: rotate(-0.9deg); }
  .panel .no, .p2 .no { left: -8px; right: auto; }
  .kb-inner, .band-inner, .band-inner.flip { flex-direction: column; gap: 16px; }
  .kb-card { width: 100%; }
  .band-art, .band-art.art-offer { width: min(220px, 72%); margin-inline: auto; }
  .band-art.art-faq { width: min(100%, 440px); }
  .band-art.art-page { width: min(100%, 520px); height: auto; margin-inline: auto; }
  .cta-row { padding: 14px 14px; }
  form { padding: 20px 16px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .p1, .p2, .p3 { transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
