/* ============================================================
   Web Daddies — AI website studio theme (standalone, LIGHT).
   Art direction: 貼地・精準・有信心. White canvas + cool-grey
   #F6F8FB bands, charcoal ink, ONE electric accent pair
   (cyan #2DE2FF → violet #7C5CFF) used decisively — CTAs,
   keylines, marks, gradient-text moments. Text-on-light uses a
   deepened ink variant of the same pair for contrast. White
   browser-chrome windows with soft coloured shadows are the
   signature motif (hero stack + portfolio). Exactly ONE dark
   band: the final CTA. Display = Unbounded + Space Grotesk;
   body = Noto Sans TC, hard 900-vs-400 weight contrast.
   Motion lives in webieai.js behind html.motion +
   prefers-reduced-motion.
   ============================================================ */
:root {
  --bg: #FFFFFF;
  --bg-2: #F6F8FB;
  --bg-3: #FFFFFF;
  --ink: #10151D;
  --soft: #3A4453;
  --faint: #7C879E;
  --line: #E4EAF3;
  --line-2: #CDD8E8;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-2: rgba(16, 21, 29, 0.05);
  --cyan: #2DE2FF;
  --violet: #7C5CFF;
  /* brand gradient — fills, keylines, marks (never long text) */
  --grad: linear-gradient(120deg, var(--cyan), var(--violet));
  /* deepened pair for TEXT on white (contrast-safe) */
  --cyan-ink: #0A7D96;
  --violet-ink: #5B3DF0;
  --grad-ink: linear-gradient(120deg, var(--cyan-ink), var(--violet-ink));
  --ok: #0B7A52;
  --warn: #8A5A00;
  --dark: #070B14;
  --dark-2: #0C1220;

  --shadow-soft: 0 18px 50px -24px rgba(22, 34, 61, 0.18);
  --shadow-win: 0 34px 80px -32px rgba(42, 55, 100, 0.35), 0 8px 24px -12px rgba(124, 92, 255, 0.18);

  --font-display: "Unbounded", "Space Grotesk", "Noto Sans TC", system-ui, sans-serif;
  --font-latin: "Space Grotesk", "Noto Sans TC", system-ui, sans-serif;
  --font-body: "Noto Sans TC", "Space Grotesk", system-ui, -apple-system, "PingFang HK", sans-serif;

  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
img { max-width: 100%; display: block; }
a { color: var(--cyan-ink); }
::selection { background: var(--cyan); color: #04222B; }
:focus-visible { outline: 2px solid var(--cyan-ink); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* film grain — quiet paper texture on light */
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
.skyglow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.skyglow::before, .skyglow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.16;
}
.skyglow::before { width: 560px; height: 560px; background: var(--cyan); top: -260px; right: -140px; }
.skyglow::after { width: 480px; height: 480px; background: var(--violet); top: 30%; left: -240px; opacity: 0.1; }

main { position: relative; z-index: 2; }

/* ============================================================
   Nav — minimal light glass bar
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, 0.92); }
.nav__inner { display: flex; align-items: center; gap: 18px; height: 66px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  margin-right: auto; color: var(--ink);
}
.logo svg { width: 30px; height: 30px; flex: none; }
.logo b {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: 0.02em; color: var(--ink);
}
.logo b i { font-style: normal; background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__menu > li { flex: 0 0 auto; }
.nav__link {
  display: inline-block; padding: 8px 11px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500; color: var(--soft); text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s, background 0.18s;
}
.nav__link:hover { color: var(--ink); background: var(--glass-2); }
.nav__wa { color: var(--soft); font-family: var(--font-latin); }

/* ---- mobile hamburger: desktop keeps the inline row (panel = pass-through) ---- */
.nav__panel { display: contents; }
.nav__burger {
  display: none; appearance: none; border: 0; background: transparent; cursor: pointer;
  width: 42px; height: 42px; padding: 9px; border-radius: 12px; margin-left: 4px;
}
.nav__burger:hover { background: var(--glass-2); }
.nav__burger-box { display: block; position: relative; width: 24px; height: 16px; }
.nav__burger-box i {
  position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 2px;
  background: var(--grad-ink); transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__burger-box i:nth-child(1) { top: 0; }
.nav__burger-box i:nth-child(2) { top: 6.75px; }
.nav__burger-box i:nth-child(3) { top: 13.5px; }
.nav.is-open .nav__burger-box i:nth-child(1) { transform: translateY(6.75px) rotate(45deg); }
.nav.is-open .nav__burger-box i:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger-box i:nth-child(3) { transform: translateY(-6.75px) rotate(-45deg); }

@media (max-width: 1200px) {
  .nav__inner { gap: 12px; }
  .nav__burger { display: inline-flex; align-items: center; justify-content: center; }
  /* panel becomes a dropdown card under the bar — overlay, no layout shift */
  .nav__panel {
    display: flex; flex-direction: column; align-items: stretch; gap: 6px;
    position: absolute; top: 100%; right: 12px; left: 12px;
    padding: 12px; border: 1.5px solid var(--line-2); border-radius: 16px;
    background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(12px);
    box-shadow: 0 18px 50px rgba(16, 24, 40, 0.16);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .nav.is-open .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__menu { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 12px 13px; min-height: 44px; box-sizing: border-box; }
  .nav__panel .lang-switch { align-self: flex-start; margin: 4px 0; }
  .nav__panel .btn { width: 100%; min-height: 46px; }
}

.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--bg); }
.lang-switch__btn { min-width: 36px; min-height: 28px; padding: 4px 9px; border: 0; border-radius: 999px; background: transparent; color: var(--soft); font-family: var(--font-latin); font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer; transition: background .15s ease, color .15s ease; }
.lang-switch__btn:hover { color: var(--ink); }
.lang-switch__btn.is-active { background: var(--ink); color: #fff; }
.lang-switch__btn:focus-visible { outline: 2px solid var(--violet-ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .lang-switch__btn { transition: none; } }


/* buttons — magnetic (JS sets --mx/--my on fine pointers) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-latin); font-weight: 700; font-size: 15.5px;
  padding: 13px 26px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.3;
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s, border-color 0.18s;
}
.btn--prime { background: var(--grad); color: #04121A; box-shadow: 0 10px 28px -14px rgba(124, 92, 255, 0.55); }
.btn--prime:hover { box-shadow: 0 18px 44px -16px rgba(124, 92, 255, 0.6), 0 8px 22px -10px rgba(45, 226, 255, 0.45); }
.btn--ghost { background: var(--bg); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--cyan-ink); color: var(--cyan-ink); }
.btn--sm { padding: 9px 18px; font-size: 14px; border-radius: 10px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ============================================================
   Hero — asymmetric split, ghost word, 3D browser stack
   ============================================================ */
.hero { position: relative; padding: 86px 0 110px; overflow: hidden; }
.hero__ghost {
  position: absolute; top: 6px; left: -2vw; z-index: 0; margin: 0;
  font-family: var(--font-display); font-weight: 800; line-height: 0.9;
  font-size: clamp(110px, 19vw, 300px); letter-spacing: -0.01em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(16, 21, 29, 0.07);
  user-select: none; pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px; align-items: center;
}
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px;
  font-family: var(--font-latin); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--cyan-ink);
}
.kicker::before { content: ""; width: 34px; height: 1.5px; background: var(--grad); flex: none; }
.hero h1 {
  font-family: var(--font-body); font-weight: 900;
  font-size: clamp(34px, 5.6vw, 62px); line-height: 1.18; letter-spacing: 0.005em;
  margin: 0 0 22px;
}
.hero h1 .grad {
  font-family: var(--font-latin); font-weight: 700;
  background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* 限時優惠 — promo badge + strikethrough original price (hero, wizard, pricing) */
.promo-badge {
  display: inline-flex; align-items: center; flex: none;
  font-family: var(--font-body); font-style: normal; font-weight: 700;
  font-size: 12px; letter-spacing: 0.08em; line-height: 1.5;
  background: var(--grad); color: #04121A; border-radius: 999px; padding: 3px 12px;
  box-shadow: 0 8px 20px -10px rgba(124, 92, 255, 0.55);
}
.promo-badge--sm { font-size: 10.5px; padding: 1px 9px; vertical-align: 2px; }
.price-was { color: var(--faint); text-decoration: line-through; font-weight: 400; }
.price-now { color: var(--ink); font-weight: 900; }
.hero__promo {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: -8px 0 20px; font-size: 15px;
}
.hero__promo .price-now { font-size: 17px; }

.hero__lead { max-width: 560px; color: var(--soft); font-size: 17.5px; margin: 0 0 30px; }
.hero__lead b { color: var(--ink); font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 22px; }

/* live capacity — "X / 20 網站項目進行中" social proof */
.hero__cap {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 26px; padding: 9px 16px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--bg); font-size: 13.5px; color: var(--soft);
  box-shadow: 0 6px 18px -12px rgba(22, 34, 61, 0.25);
}
.hero__cap b { color: var(--ink); font-weight: 700; }
.hero__cap-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: #2DE2FF; box-shadow: 0 0 0 0 rgba(45, 226, 255, 0.6);
  animation: cap-pulse 2s ease-out infinite;
}
@keyframes cap-pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 226, 255, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(45, 226, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 226, 255, 0); }
}
.hero__cap-text { display: inline-flex; align-items: center; gap: 10px; }
.hero__cap-bar {
  display: inline-block; width: 58px; height: 5px; border-radius: 999px;
  background: var(--line-2); overflow: hidden; flex: none;
}
.hero__cap-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--grad); transition: width 0.6s ease; }
@media (prefers-reduced-motion: reduce) { .hero__cap-dot { animation: none; } .hero__cap-bar i { transition: none; } }

/* trust chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  color: var(--ink); background: var(--bg); border: 1px solid var(--line-2);
  box-shadow: 0 6px 18px -12px rgba(22, 34, 61, 0.25);
}
.chips li i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--grad); flex: none;
  box-shadow: 0 0 8px rgba(45, 226, 255, 0.8);
}

/* markets served — flag row + Chinese-community positioning */
.hero__markets {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 0 0 16px; font-size: 14px; font-weight: 600; color: var(--soft);
}
.hero__markets .flagrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 23px; line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.hero__markets .flagrow span {
  filter: drop-shadow(0 4px 8px rgba(22, 34, 61, 0.18));
}
/* use-case pills — 企業出海 / 中小企 / AI 系統 / 自動客服 … */
.usecases { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.usecases li {
  display: inline-flex; align-items: center;
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: var(--cyan-ink); background: rgba(45, 226, 255, 0.08);
  border: 1px solid var(--line-2);
}
@media (max-width: 560px) {
  .hero__markets { font-size: 13px; gap: 9px; }
  .hero__markets .flagrow { font-size: 20px; }
}

/* --- 3D floating browser windows (pure CSS art, white) --- */
.stage {
  position: relative; min-height: 460px; perspective: 1300px;
  transform-style: preserve-3d;
}
.win {
  position: absolute; border-radius: 14px; overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-win);
  transform: translateY(var(--py, 0)) rotateX(calc(var(--rx, 0deg) * 1)) rotateY(calc(var(--ry, 0deg) + var(--wy, 0deg)));
  transition: transform 0.25s ease-out;
  will-change: transform;
}
.win__bar {
  display: flex; align-items: center; gap: 6px; padding: 9px 12px;
  border-bottom: 1px solid var(--line); background: var(--bg-2);
}
.win__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.win__bar i:first-child { background: var(--cyan); }
.win__url {
  margin-left: 8px; font-family: var(--font-latin); font-size: 10.5px;
  letter-spacing: 0.04em; color: var(--faint);
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 6px; padding: 1px 10px;
}
.win__body { padding: 14px; display: grid; gap: 10px; }
/* skeleton lines + blocks */
.sk { border-radius: 6px; background: #EAF0F9; height: 10px; }
.sk--hero { height: 64px; background: linear-gradient(120deg, rgba(45, 226, 255, 0.35), rgba(124, 92, 255, 0.35)); }
.sk--half { width: 55%; }
.sk--btn { width: 88px; height: 24px; border-radius: 999px; background: var(--grad); }
.sk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sk-grid span { display: block; height: 44px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); }
.sk-grid span:nth-child(2) { background: rgba(124, 92, 255, 0.18); }
/* chart bars */
.sk-chart { display: flex; align-items: flex-end; gap: 7px; height: 70px; padding-top: 4px; }
.sk-chart span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, rgba(45, 226, 255, 0.85), rgba(45, 226, 255, 0.18)); }
.sk-chart span:nth-child(1) { height: 34%; } .sk-chart span:nth-child(2) { height: 52%; }
.sk-chart span:nth-child(3) { height: 44%; } .sk-chart span:nth-child(4) { height: 72%; }
.sk-chart span:nth-child(5) { height: 60%; } .sk-chart span:nth-child(6) { height: 92%; background: linear-gradient(180deg, rgba(124, 92, 255, 0.9), rgba(124, 92, 255, 0.2)); }
/* chat bubbles */
.sk-bub { display: grid; gap: 8px; }
.sk-bub span { display: block; height: 26px; border-radius: 12px; }
.sk-bub span:nth-child(1) { width: 72%; background: #EAF0F9; border-bottom-left-radius: 4px; }
.sk-bub span:nth-child(2) { width: 58%; justify-self: end; background: linear-gradient(120deg, rgba(45, 226, 255, 0.45), rgba(124, 92, 255, 0.45)); border-bottom-right-radius: 4px; }
.sk-bub span:nth-child(3) { width: 44%; background: #EAF0F9; border-bottom-left-radius: 4px; }

.win--a { width: min(380px, 78%); top: 26px; right: 8%; z-index: 3; --wy: -10deg; }
.win--b { width: min(250px, 56%); top: 200px; right: 42%; z-index: 4; --wy: -16deg; }
.win--c { width: min(230px, 52%); top: 286px; right: -2%; z-index: 5; --wy: -7deg; }
.stage__halo {
  position: absolute; width: 320px; height: 320px; right: 6%; top: 90px; z-index: 1;
  border-radius: 50%; background: radial-gradient(circle, rgba(124, 92, 255, 0.16), transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.stage__ring {
  position: absolute; right: -30px; top: -10px; z-index: 0; width: 240px; height: 240px;
  border: 1px dashed rgba(10, 125, 150, 0.35); border-radius: 50%;
}
html.motion .stage__ring { animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .hero { padding: 56px 0 70px; }
  .hero__grid { grid-template-columns: 1fr; }
  .stage { min-height: 380px; max-width: 460px; }
  .win--a { right: 0; }
  .win--b { right: 46%; }
}

/* ============================================================
   Capability marquee — light keyline band
   ============================================================ */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 16px 0; overflow: hidden; position: relative; background: var(--bg-2);
}
.marquee__track { display: flex; gap: 0; width: max-content; }
html.motion .marquee__track { animation: marquee 36s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee ul { display: flex; align-items: center; gap: 38px; list-style: none; margin: 0; padding: 0 19px; }
.marquee li {
  font-family: var(--font-latin); font-weight: 700; font-size: 14px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); white-space: nowrap;
}
.marquee li::after { content: "·"; margin-left: 38px; color: var(--cyan-ink); }

/* ============================================================
   Section furniture
   ============================================================ */
.sec { position: relative; padding: 110px 0; }
.sec--tint { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec__head { position: relative; max-width: 720px; margin-bottom: 60px; }
.sec__no {
  position: absolute; right: -10px; top: -66px; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(90px, 12vw, 170px); line-height: 1; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(124, 92, 255, 0.22);
}
.sec h2 {
  position: relative; z-index: 1; font-weight: 900;
  font-size: clamp(28px, 4.2vw, 46px); line-height: 1.22; margin: 0 0 16px;
}
.sec h2 em { font-style: normal; background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec__sub { position: relative; z-index: 1; color: var(--soft); font-size: 16.5px; max-width: 600px; margin: 0; }

/* ============================================================
   Portfolio — 我們親手做的網站 (browser-framed carousel)
   ============================================================ */
.folio__rail { position: relative; }
.folio__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(440px, 84vw);
  gap: 22px; overflow-x: auto; padding: 10px 4px 26px;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
  -webkit-overflow-scrolling: touch;
}
.folio__track::-webkit-scrollbar { height: 8px; }
.folio__track::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; }
.fcard {
  scroll-snap-align: start; display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink);
  border-radius: 18px; background: #FFFFFF; border: 1px solid var(--line);
  box-shadow: var(--shadow-soft); overflow: hidden;
  transform: translateY(var(--fy, 0)) rotate(var(--fr, 0deg));
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s, border-color 0.25s;
}
html.motion .fcard:nth-child(even) { --fy: 14px; }
.fcard:hover, .fcard:focus-visible {
  --fy: -6px; --fr: -0.4deg;
  border-color: var(--line-2);
  box-shadow: 0 30px 70px -28px rgba(42, 55, 100, 0.4), 0 10px 28px -14px rgba(45, 226, 255, 0.35);
}
html.motion .fcard:nth-child(even):hover, html.motion .fcard:nth-child(even):focus-visible { --fy: 8px; --fr: 0.4deg; }
.fcard__bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  border-bottom: 1px solid var(--line); background: var(--bg-2);
}
.fcard__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); flex: none; }
.fcard__bar i:first-child { background: var(--cyan); }
.fcard__url {
  margin-left: 8px; font-family: var(--font-latin); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.03em; color: var(--faint); background: #FFFFFF;
  border: 1px solid var(--line); border-radius: 6px; padding: 1px 12px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fcard__shot { position: relative; overflow: hidden; aspect-ratio: 1200 / 782; background: var(--bg-2); }
.fcard__shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.motion .fcard:hover .fcard__shot img { transform: scale(1.035); }
.fcard__meta { display: grid; gap: 6px; padding: 16px 18px 18px; }
.fcard__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fcard__name { font-size: 17px; font-weight: 900; }
.fcard__tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--violet-ink); border: 1px solid rgba(91, 61, 240, 0.35);
  background: rgba(124, 92, 255, 0.07); border-radius: 999px; padding: 2px 11px;
}
.fcard__why { font-size: 14px; color: var(--soft); margin: 0; }
.fcard__go {
  margin-top: 4px; font-family: var(--font-latin); font-weight: 700; font-size: 13.5px;
  color: var(--cyan-ink); display: inline-flex; align-items: center; gap: 6px;
}
.fcard:hover .fcard__go { text-decoration: underline; }
.folio__nav { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.folio__btn {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-2); background: #FFFFFF; color: var(--ink);
  font-size: 18px; line-height: 1; display: grid; place-items: center;
  box-shadow: 0 8px 22px -12px rgba(22, 34, 61, 0.3);
  transition: border-color 0.18s, color 0.18s, box-shadow 0.18s;
}
.folio__btn:hover { border-color: var(--cyan-ink); color: var(--cyan-ink); }
.folio__hint { margin: 0 0 0 8px; font-size: 13px; color: var(--faint); }

/* ============================================================
   How it works — zig-zag steps + scroll-drawn spine
   ============================================================ */
.how { position: relative; }
.how__wrap { position: relative; }
.how__spine {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%);
  background: var(--line);
}
.how__spine i {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  background: var(--grad); transform-origin: top;
  transform: scaleY(var(--p, 0));
}
.step {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  padding: 38px 0; align-items: center;
}
.step__no {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(64px, 9vw, 124px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(16, 21, 29, 0.16);
}
.step:nth-child(odd) .step__no { text-align: right; }
.step:nth-child(even) .step__body { order: -1; text-align: right; }
.step:nth-child(even) .step__body .step__tag { margin-left: auto; }
.step__dot {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%; background: #FFFFFF;
  border: 2px solid var(--cyan-ink); box-shadow: 0 0 0 5px rgba(45, 226, 255, 0.18); z-index: 2;
}
.step__tag {
  display: inline-block; font-family: var(--font-latin); font-weight: 700; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--violet-ink);
  border: 1px solid rgba(91, 61, 240, 0.35); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
  background: rgba(124, 92, 255, 0.05);
}
.step h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 900; margin: 0 0 10px; }
.step p { color: var(--soft); margin: 0; font-size: 15.5px; max-width: 440px; }
.step:nth-child(even) p { margin-left: auto; }
@media (max-width: 820px) {
  .how__spine { left: 8px; }
  .step { grid-template-columns: 1fr; gap: 8px; padding: 26px 0 26px 36px; }
  .step__no { display: none; }
  .step:nth-child(even) .step__body { order: 0; text-align: left; }
  .step:nth-child(even) .step__body .step__tag { margin-left: 0; }
  .step:nth-child(even) p { margin-left: 0; }
  .step__dot { left: 8px; top: 38px; }
}

/* ============================================================
   系統點運作 — interactive service-loop demo (tabs + vignettes)
   ============================================================ */
.sys__panel {
  background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 24px;
  box-shadow: var(--shadow-soft); overflow: hidden; position: relative;
}
.sys__panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad);
}
.sys__tabs {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--line); margin: 0; padding: 0; list-style: none;
}
.sys__tab {
  position: relative; border: 0; background: transparent; cursor: pointer;
  font: inherit; color: var(--faint); font-weight: 700; font-size: 13px;
  padding: 16px 8px 18px; border-right: 1px solid var(--line);
  display: grid; gap: 4px; justify-items: center; text-align: center;
  transition: color 0.18s, background 0.18s;
}
.sys__tab:last-child { border-right: 0; }
.sys__tab b {
  font-family: var(--font-latin); font-weight: 700; font-size: 11px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--line-2); color: var(--faint);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.sys__tab:hover { color: var(--ink); background: var(--bg-2); }
.sys__tab[aria-selected="true"] { color: var(--ink); }
.sys__tab[aria-selected="true"] b { background: var(--grad); border-color: transparent; color: #04121A; }
.sys__tab .sys__bar {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--grad); transform: scaleX(var(--tp, 0)); transform-origin: left;
}
@media (max-width: 760px) {
  .sys__tabs { grid-template-columns: repeat(3, 1fr); }
  .sys__tab:nth-child(3) { border-right: 0; }
  .sys__tab:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
.sys__stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 30px; padding: 34px clamp(20px, 4vw, 44px) 40px; align-items: center; }
@media (max-width: 860px) { .sys__stage { grid-template-columns: 1fr; gap: 20px; } }
.sys__view { display: none; }
.sys__view.is-on { display: contents; }
html.motion .sys__view.is-on .sys__copy { animation: sys-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
html.motion .sys__view.is-on .sys__art { animation: sys-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) 0.06s both; }
@keyframes sys-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.sys__copy h3 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 900; margin: 0 0 10px; }
.sys__copy p { color: var(--soft); font-size: 15px; margin: 0; }
.sys__copy .sys__k {
  display: inline-block; margin-bottom: 12px;
  font-family: var(--font-latin); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan-ink);
}
/* vignette canvas — small CSS-art mock UI per step */
.sys__art {
  min-height: 230px; border-radius: 16px; border: 1px solid var(--line);
  background: var(--bg-2); padding: 18px; position: relative; overflow: hidden;
}
.v-row { display: flex; gap: 10px; align-items: center; }
/* 1 — style picker */
.v-styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.v-style {
  height: 110px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line-2);
  position: relative; padding: 10px; overflow: hidden;
}
.v-style i { display: block; border-radius: 4px; background: #EAF0F9; height: 8px; margin-bottom: 6px; }
.v-style i:first-child { height: 34px; margin-bottom: 8px; }
.v-style--b i:first-child { background: linear-gradient(120deg, rgba(45, 226, 255, 0.4), rgba(124, 92, 255, 0.4)); }
.v-style--c i:first-child { border-radius: 50%; width: 34px; }
.v-style.is-pick { border-color: var(--cyan-ink); box-shadow: 0 0 0 2px rgba(10, 125, 150, 0.25), var(--shadow-soft); }
.v-style.is-pick::after {
  content: "✓"; position: absolute; top: 8px; right: 8px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--grad); color: #04121A;
  font-size: 12px; font-weight: 900; display: grid; place-items: center;
}
.v-cap { margin: 12px 0 0; font-size: 12.5px; color: var(--faint); text-align: center; }
/* 2 — brief form + upload */
.v-form { display: grid; gap: 10px; max-width: 340px; margin: 0 auto; }
.v-field { height: 34px; border-radius: 9px; background: #FFFFFF; border: 1px solid var(--line-2); position: relative; }
.v-field::before { content: ""; position: absolute; left: 10px; top: 12px; height: 8px; width: 42%; border-radius: 4px; background: #EAF0F9; }
.v-upload {
  border: 1.5px dashed var(--cyan-ink); border-radius: 11px; background: rgba(45, 226, 255, 0.06);
  padding: 12px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--cyan-ink);
}
.v-upload small { display: block; font-weight: 500; color: var(--faint); }
/* 3 — browser with v1/v2/v3 badges */
.v-build { max-width: 360px; margin: 0 auto; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line-2); overflow: hidden; box-shadow: var(--shadow-soft); }
.v-build__bar { display: flex; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.v-build__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.v-build__body { padding: 12px; display: grid; gap: 8px; }
.v-build__body .sk--hero { height: 44px; }
.v-vers { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.v-ver {
  font-family: var(--font-latin); font-weight: 700; font-size: 12px;
  border-radius: 999px; padding: 4px 14px; border: 1px solid var(--line-2);
  color: var(--faint); background: #FFFFFF;
}
.v-ver.is-hot { background: var(--grad); border-color: transparent; color: #04121A; }
/* 4 — ticket thread */
.v-ticket { display: grid; gap: 9px; max-width: 340px; margin: 0 auto; }
.v-msg { padding: 9px 13px; border-radius: 12px; font-size: 12.5px; line-height: 1.55; width: fit-content; max-width: 88%; }
.v-msg--me { background: #FFFFFF; border: 1px solid var(--line-2); border-bottom-left-radius: 4px; }
.v-msg--us { justify-self: end; background: linear-gradient(120deg, rgba(45, 226, 255, 0.18), rgba(124, 92, 255, 0.2)); border: 1px solid rgba(91, 61, 240, 0.25); border-bottom-right-radius: 4px; }
.v-sla {
  justify-self: center; font-family: var(--font-latin); font-weight: 700; font-size: 11.5px;
  color: var(--ok); background: rgba(11, 122, 82, 0.08); border: 1px solid rgba(11, 122, 82, 0.3);
  border-radius: 999px; padding: 3px 12px;
}
/* 5 — satisfied check */
.v-okwrap { display: grid; place-items: center; gap: 12px; min-height: 190px; }
.v-okmark {
  width: 74px; height: 74px; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; color: #04121A; font-size: 34px; font-weight: 900;
  box-shadow: 0 18px 44px -16px rgba(124, 92, 255, 0.6);
}
.v-okwrap b { font-size: 16px; }
.v-okwrap span { font-size: 13px; color: var(--soft); }
/* 6 — live toggle + hosting meter */
.v-live { display: grid; gap: 14px; max-width: 320px; margin: 0 auto; justify-items: center; }
.v-toggle {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px;
  background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 18px;
}
.v-toggle i {
  width: 12px; height: 12px; border-radius: 50%; background: #18C37E;
  box-shadow: 0 0 0 4px rgba(24, 195, 126, 0.2);
}
html.motion .v-toggle i { animation: v-pulse 1.8s ease-in-out infinite; }
@keyframes v-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(24, 195, 126, 0.25); }
  50% { box-shadow: 0 0 0 7px rgba(24, 195, 126, 0.08); }
}
.v-meter { width: 100%; }
.v-meter b { display: block; font-size: 12.5px; color: var(--soft); font-weight: 500; margin-bottom: 6px; text-align: center; }
.v-meter i { display: block; height: 8px; border-radius: 99px; background: #EAF0F9; position: relative; overflow: hidden; }
.v-meter i::after { content: ""; position: absolute; inset: 0 65% 0 0; border-radius: 99px; background: var(--grad); }

/* ============================================================
   Order wizard — light console card
   ============================================================ */
.wz {
  position: relative; z-index: 1;
  background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 24px;
  box-shadow: 0 40px 90px -42px rgba(22, 34, 61, 0.35);
  overflow: hidden;
}
.wz::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--grad); opacity: 0.9;
}
.wz__rail {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  list-style: none; margin: 0; padding: 0;
}
.req { color: var(--cyan-ink); }
.wz__railstep {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  padding: 16px 8px; font-size: 13.5px; font-weight: 700; color: var(--faint);
  border-right: 1px solid var(--line); background: transparent;
}
.wz__railstep:last-child { border-right: 0; }
.wz__railstep b {
  font-family: var(--font-latin); font-weight: 700; font-size: 12px;
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line-2); color: var(--faint);
}
.wz__railstep.is-now { color: var(--ink); }
.wz__railstep.is-now b { border-color: transparent; background: var(--grad); color: #04121A; }
.wz__railstep.is-done { color: var(--cyan-ink); }
.wz__railstep.is-done b { border-color: var(--cyan-ink); color: var(--cyan-ink); }
@media (max-width: 700px) {
  .wz__railstep span { display: none; }
  .wz__railstep { padding: 13px 4px; }
}

.wz__viewport { perspective: 1400px; }
.wz__step { display: none; padding: 36px clamp(20px, 4vw, 46px) 42px; }
.wz__step.is-active { display: block; }
html.motion .wz__step.is-active { animation: wz-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes wz-in {
  from { opacity: 0; transform: rotateX(7deg) translateY(26px) translateZ(-60px); }
  to { opacity: 1; transform: none; }
}
.wz__steptitle { font-size: clamp(20px, 2.6vw, 26px); font-weight: 900; margin: 0 0 6px; }
.wz__stepsub { color: var(--soft); font-size: 14.5px; margin: 0 0 26px; }

/* footer bar of the wizard */
.wz__foot {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding: 18px clamp(20px, 4vw, 46px);
  background: var(--bg-2);
}
.wz__total { margin-right: auto; }
.wz__total small { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); font-family: var(--font-latin); font-weight: 700; }
.wz__total strong {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 30px);
  background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wz__total .wz__hostnote { display: block; font-size: 12px; color: var(--soft); }

/* step 1 — archetype cards with CSS-art thumbnails */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .types { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .types { grid-template-columns: 1fr; } }
.type {
  position: relative; text-align: left; cursor: pointer; padding: 0;
  background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 16px;
  overflow: hidden; color: var(--ink); font: inherit;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.type:hover { border-color: var(--cyan-ink); box-shadow: var(--shadow-soft); }
.type.is-on { border-color: var(--cyan-ink); box-shadow: 0 0 0 1px var(--cyan-ink), 0 18px 50px -22px rgba(10, 125, 150, 0.4); }
.type.is-on::after {
  content: "✓"; position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #04121A;
  font-weight: 900; font-size: 13px; display: grid; place-items: center;
}
.type__thumb {
  display: block; height: 116px; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 12px 14px 0;
}
.type__thumb .tb {
  display: block; height: 100%; border-radius: 8px 8px 0 0; border: 1px solid var(--line-2); border-bottom: 0;
  background: #FFFFFF; padding: 8px 10px; position: relative; overflow: hidden;
}
.type__thumb .tb::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 9px;
  background: var(--bg-2);
}
.type__meta { display: block; padding: 14px 16px 16px; }
.type__meta b { display: block; font-size: 16px; font-weight: 900; }
.type__meta span { display: block; font-size: 13px; color: var(--soft); margin-top: 3px; }
/* per-archetype CSS art */
.ta { position: absolute; }
/* 餐廳 — plate + menu lines */
.tb--rest .ta--plate { width: 46px; height: 46px; border-radius: 50%; left: 14px; top: 22px; border: 2px solid rgba(10, 125, 150, 0.7); background: radial-gradient(circle at 35% 35%, rgba(45, 226, 255, 0.35), rgba(45, 226, 255, 0.06)); }
.tb--rest .ta--l1, .tb--rest .ta--l2, .tb--rest .ta--l3 { height: 7px; border-radius: 4px; background: #E4EAF3; left: 74px; }
.tb--rest .ta--l1 { width: 44%; top: 26px; }
.tb--rest .ta--l2 { width: 34%; top: 42px; }
.tb--rest .ta--l3 { width: 40%; top: 58px; background: rgba(124, 92, 255, 0.45); }
/* 電商 — product grid + price tag */
.tb--shop .ta--g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; left: 12px; right: 12px; top: 20px; }
.tb--shop .ta--g span { height: 26px; border-radius: 5px; background: #EAF0F9; }
.tb--shop .ta--g span:nth-child(2) { background: rgba(45, 226, 255, 0.4); }
.tb--shop .ta--g span:nth-child(6) { background: rgba(124, 92, 255, 0.4); }
.tb--shop .ta--tag { right: 14px; bottom: 8px; padding: 2px 10px; border-radius: 999px; background: var(--grad); color: #04121A; font-family: var(--font-latin); font-weight: 700; font-size: 10px; }
/* 預約 — calendar */
.tb--book .ta--cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; left: 14px; right: 14px; top: 22px; }
.tb--book .ta--cal span { height: 14px; border-radius: 3px; background: #EAF0F9; }
.tb--book .ta--cal span:nth-child(7) { background: rgba(45, 226, 255, 0.75); }
.tb--book .ta--cal span:nth-child(13) { background: rgba(124, 92, 255, 0.6); }
/* 作品集 — big frame + caption */
.tb--folio .ta--art { left: 14px; right: 40%; top: 20px; bottom: 10px; border-radius: 6px; background: linear-gradient(135deg, rgba(45, 226, 255, 0.45), rgba(124, 92, 255, 0.5)); }
.tb--folio .ta--c1, .tb--folio .ta--c2 { height: 7px; border-radius: 4px; background: #E4EAF3; right: 14px; left: 66%; }
.tb--folio .ta--c1 { top: 30px; }
.tb--folio .ta--c2 { top: 46px; width: 18%; left: 66%; right: auto; }
/* 公司形象 — hero band + columns */
.tb--corp .ta--band { left: 14px; right: 14px; top: 18px; height: 26px; border-radius: 5px; background: linear-gradient(120deg, rgba(45, 226, 255, 0.35), rgba(124, 92, 255, 0.35)); }
.tb--corp .ta--col { width: 26%; height: 24px; border-radius: 5px; background: #EAF0F9; top: 54px; }
.tb--corp .ta--col:nth-child(2) { left: 14px; }
.tb--corp .ta--col:nth-child(3) { left: 38%; }
.tb--corp .ta--col:nth-child(4) { right: 14px; }
/* 活動頁 — starburst + countdown */
.tb--event .ta--star { width: 40px; height: 40px; left: 18px; top: 24px; background: var(--grad); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.tb--event .ta--t { display: flex; gap: 5px; left: 72px; top: 30px; }
.tb--event .ta--t span { width: 22px; height: 26px; border-radius: 4px; background: #EAF0F9; border: 1px solid var(--line-2); }
.tb--event .ta--t span:nth-child(3) { background: rgba(45, 226, 255, 0.45); }

/* generic shared thumb — header band + two text bars + an accent shape.
   Per-type accents (.tb--edu/.tb--clinic/.tb--beauty/.tb--property/.tb--other)
   recolour the accent so each card still reads as its own thing. */
.tb--gen .ta--gh { left: 14px; right: 14px; top: 18px; height: 24px; border-radius: 5px; background: linear-gradient(120deg, rgba(45, 226, 255, 0.35), rgba(124, 92, 255, 0.35)); }
.tb--gen .ta--gb { height: 7px; border-radius: 4px; background: #E4EAF3; left: 14px; }
.tb--gen .ta--gb.gb1 { width: 52%; top: 54px; }
.tb--gen .ta--gb.gb2 { width: 38%; top: 70px; }
.tb--gen .ta--gp { width: 30px; height: 30px; border-radius: 8px; right: 14px; top: 52px; background: linear-gradient(135deg, rgba(45, 226, 255, 0.5), rgba(124, 92, 255, 0.55)); }
/* 教育 — graduation-cap-ish accent (diamond tile) */
.tb--edu .ta--gp { border-radius: 4px; transform: rotate(45deg); }
/* 醫療 — plus cross accent */
.tb--clinic .ta--cross { right: 18px; top: 50px; width: 28px; height: 28px; background: linear-gradient(135deg, rgba(45, 226, 255, 0.55), rgba(124, 92, 255, 0.55)); clip-path: polygon(38% 0, 62% 0, 62% 38%, 100% 38%, 100% 62%, 62% 62%, 62% 100%, 38% 100%, 38% 62%, 0 62%, 0 38%, 38% 38%); }
/* 美容 — soft rounded pill accent */
.tb--beauty .ta--gp { border-radius: 999px; }
.tb--beauty .ta--gh { background: linear-gradient(120deg, rgba(214, 51, 108, 0.28), rgba(124, 92, 255, 0.3)); }
/* 地產 — house silhouette accent */
.tb--property .ta--house { right: 16px; top: 50px; width: 30px; height: 30px; background: linear-gradient(135deg, rgba(45, 226, 255, 0.55), rgba(124, 92, 255, 0.55)); clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%); }
/* 其他 — plus icon on a tinted tile */
.tb--other .ta--plus { right: 16px; top: 50px; width: 30px; height: 30px; background: rgba(10, 125, 150, 0.6); clip-path: polygon(40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%, 0 40%, 40% 40%); }
.tb--other .ta--gh { background: linear-gradient(120deg, rgba(124, 92, 255, 0.22), rgba(45, 226, 255, 0.22)); }
.type--other .type__thumb .tb { border-style: dashed; }

/* required-field validation — red ring on the type grid when nothing chosen */
.types.is-bad {
  border-radius: 18px;
  outline: 2px solid #D6336C; outline-offset: 6px;
  box-shadow: 0 0 0 6px rgba(214, 51, 108, 0.1);
}
/* the type hint, in error state, reads as a clear warning (not the cyan tip) */
.wz__hint.is-bad { color: #C2255C; background: rgba(214, 51, 108, 0.08); border-color: rgba(214, 51, 108, 0.4); }
.wz__hint.is-bad b { color: #C2255C; }

/* 其他（自行填寫）custom-type input — revealed under the grid */
.type-other-field { margin: 16px 0 0; }
.type-other-field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.type-other-field input {
  width: 100%; padding: 12px 14px; border-radius: 11px; font: inherit; font-size: 15px;
  color: var(--ink); background: #FBFCFE; border: 1px solid var(--line-2);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.type-other-field input::placeholder { color: var(--faint); }
.type-other-field input:focus { outline: none; border-color: var(--cyan-ink); box-shadow: 0 0 0 3px rgba(45, 226, 255, 0.2); }
.type-other-field input.is-bad { border-color: #D6336C; box-shadow: 0 0 0 3px rgba(214, 51, 108, 0.18); }

/* archetype hint */
.wz__hint {
  margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; font-size: 14px;
  color: var(--soft); background: rgba(45, 226, 255, 0.08); border: 1px solid rgba(10, 125, 150, 0.3);
}
.wz__hint b { color: var(--cyan-ink); font-weight: 700; }

/* step 2 — configurator */
.conf { display: grid; gap: 12px; }
.addon {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: 14px;
  background: #FFFFFF; border: 1px solid var(--line-2);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.addon.is-on { border-color: var(--cyan-ink); box-shadow: 0 10px 36px -22px rgba(10, 125, 150, 0.45); }
.addon--locked { border-style: dashed; background: var(--bg-2); }
.addon__check { position: relative; width: 24px; height: 24px; }
.addon__check input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: pointer;
}
.addon__check i {
  position: absolute; inset: 0; border-radius: 7px; border: 1.5px solid var(--line-2);
  background: #FFFFFF;
  display: grid; place-items: center; color: transparent; font-style: normal;
  font-size: 13px; font-weight: 900; transition: background 0.15s, border-color 0.15s, color 0.15s;
  pointer-events: none;
}
.addon__check input:checked + i { background: var(--grad); border-color: transparent; color: #04121A; }
.addon__check input:focus-visible + i { outline: 2px solid var(--cyan-ink); outline-offset: 2px; }
.addon__check input:disabled + i { background: var(--grad); border-color: transparent; color: #04121A; opacity: 0.7; }
.addon__info b { display: block; font-size: 15.5px; font-weight: 700; }
.addon__info b small { font-family: var(--font-latin); color: var(--faint); font-weight: 500; font-size: 12px; margin-left: 6px; }
.addon__info span { display: block; font-size: 13px; color: var(--soft); margin-top: 2px; }
.addon__price {
  font-family: var(--font-latin); font-weight: 700; font-size: 16px; white-space: nowrap;
  color: var(--ink); text-align: right;
}
.addon__price small { display: block; font-weight: 500; font-size: 11.5px; color: var(--faint); }
.addon__price .price-was { font-size: 13px; margin-right: 2px; }
/* stepper */
.addon--stepper { grid-template-columns: 1fr auto auto; }
.stepper { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: #FFFFFF; }
.stepper button {
  width: 38px; height: 38px; border: 0; cursor: pointer; font-size: 18px; font-weight: 700;
  background: var(--bg-2); color: var(--ink);
  transition: background 0.15s;
}
.stepper button:hover { background: rgba(45, 226, 255, 0.25); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper output {
  min-width: 86px; text-align: center; font-family: var(--font-latin); font-weight: 700;
  font-size: 14px; padding: 0 6px;
}
/* Mobile: the 3-column add-on grid squeezes the title to one char per line —
   give the title the full row, then put the control + price on a second row. */
@media (max-width: 560px) {
  .addon { grid-template-columns: auto 1fr; grid-template-areas: "check info" "price price"; row-gap: 10px; }
  .addon > .addon__check { grid-area: check; }
  .addon > .addon__info { grid-area: info; }
  .addon > .addon__price { grid-area: price; justify-self: end; text-align: right; }
  .addon--stepper { grid-template-columns: 1fr auto; grid-template-areas: "info info" "stepper price"; row-gap: 12px; }
  .addon--stepper > .addon__info { grid-area: info; }
  .addon--stepper > .stepper { grid-area: stepper; justify-self: start; }
  .addon--stepper > .addon__price { grid-area: price; justify-self: end; text-align: right; }
  .addon__info b { font-size: 16px; }
  .addon__info span { font-size: 13.5px; }
  .hosting { grid-template-columns: auto 1fr; grid-template-areas: "check info" "price price"; row-gap: 10px; }
  .hosting > .addon__check { grid-area: check; }
  .hosting > .addon__info { grid-area: info; }
  .hosting > .addon__price { grid-area: price; justify-self: end; text-align: right; }
}
/* hosting block */
.hosting {
  margin-top: 18px; padding: 18px; border-radius: 14px;
  border: 1px solid rgba(91, 61, 240, 0.35);
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.08), rgba(124, 92, 255, 0.02));
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
}
.hosting .badge {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em;
  color: #5C3D00; background: #FFE3A9; border-radius: 999px; padding: 2px 10px; margin-left: 8px;
  vertical-align: 2px;
}

/* step 3 — requirements form */
.frm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.frm .full { grid-column: 1 / -1; }
.frm label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.frm label small { color: var(--faint); font-weight: 500; }
.frm label .req { color: var(--cyan-ink); }
.frm input, .frm textarea {
  width: 100%; padding: 12px 14px; border-radius: 11px; font: inherit; font-size: 15px;
  color: var(--ink); background: #FBFCFE; border: 1px solid var(--line-2);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.frm input::placeholder, .frm textarea::placeholder { color: var(--faint); }
.frm input:focus, .frm textarea:focus { outline: none; border-color: var(--cyan-ink); box-shadow: 0 0 0 3px rgba(45, 226, 255, 0.2); }
.frm input.is-bad { border-color: #D6336C; box-shadow: 0 0 0 3px rgba(214, 51, 108, 0.18); }
.frm textarea { min-height: 110px; resize: vertical; }
.frm__err { grid-column: 1 / -1; color: #C2255C; font-size: 13.5px; margin: 0; min-height: 1em; }
@media (max-width: 640px) { .frm { grid-template-columns: 1fr; } }

/* step 3 — 上載原有網站／參考檔案 */
.up__label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.up__label small { color: var(--faint); font-weight: 500; }
.up__drop {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 1.5px dashed var(--line-2); border-radius: 12px; padding: 18px 16px;
  background: #FBFCFE; cursor: pointer; text-align: center;
  font-size: 14px; font-weight: 700; color: var(--cyan-ink);
  transition: border-color 0.18s, background 0.18s;
}
.up__drop:hover { border-color: var(--cyan-ink); background: rgba(45, 226, 255, 0.06); }
.up__drop svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.up__drop input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.up__drop:has(input:focus-visible) { outline: 2px solid var(--cyan-ink); outline-offset: 3px; }
.up__list { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.up__list li {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-2); border-radius: 10px; background: #FFFFFF;
  padding: 8px 12px; font-size: 13.5px;
}
.up__list li b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up__list li small { color: var(--faint); flex: none; font-family: var(--font-latin); }
.up__rm {
  margin-left: auto; flex: none; width: 26px; height: 26px; border-radius: 8px;
  border: 0; cursor: pointer; background: var(--bg-2); color: var(--soft);
  font-size: 15px; line-height: 1; display: grid; place-items: center;
}
.up__rm:hover { background: #FBE3EC; color: #C2255C; }
.up__err { color: #C2255C; font-size: 13.5px; margin: 8px 0 0; }

/* step 3 — style / feature checkbox grids */
.frm__grouplabel { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.frm__grouplabel small { color: var(--faint); font-weight: 500; }
.cks { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 9px; }
/* label.ck (not .ck): must outweigh the earlier `.frm label { display:block }` */
label.ck {
  position: relative; display: flex; align-items: center; gap: 9px; margin: 0;
  border: 1px solid var(--line-2); border-radius: 11px; padding: 10px 12px;
  background: #FBFCFE; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.ck:hover { border-color: var(--cyan-ink); }
.ck input { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; overflow: hidden; }
.ck i {
  flex: none; width: 20px; height: 20px; border-radius: 7px;
  border: 1.5px solid var(--line-2); background: #FFFFFF; color: transparent;
  display: grid; place-items: center; font-size: 12px; font-style: normal;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ck input:checked + i { background: var(--grad); border-color: transparent; color: #04121A; }
.ck input:focus-visible + i { outline: 2px solid var(--cyan-ink); outline-offset: 2px; }
.ck:has(input:checked) { border-color: var(--cyan-ink); background: rgba(45, 226, 255, 0.08); }
.ck-other { margin-top: 10px; }

/* free / paid feature groups — per-checkbox price tags */
.cks--free { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.cks--paid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cks--free .ck span, .cks--paid .ck span { min-width: 0; }
.ck__fee {
  flex: none; margin-left: auto; font-style: normal;
  font-family: var(--font-latin); font-weight: 700; font-size: 11.5px; white-space: nowrap;
  color: var(--violet-ink); background: rgba(124, 92, 255, 0.08);
  border: 1px solid rgba(91, 61, 240, 0.3); border-radius: 999px; padding: 2px 9px;
}
.ck__fee--free {
  color: var(--ok); background: rgba(11, 122, 82, 0.07); border-color: rgba(11, 122, 82, 0.3);
}

/* 其他功能 — AI instant estimate row + result note */
.aiq { display: flex; gap: 10px; align-items: stretch; }
.aiq input { flex: 1; min-width: 0; }
.aiq .btn { flex: none; white-space: nowrap; }
.aiq__out {
  margin: 10px 0 0; padding: 11px 14px; border-radius: 11px; font-size: 13.5px;
  color: var(--ink); background: rgba(45, 226, 255, 0.08); border: 1px solid rgba(10, 125, 150, 0.3);
}
.aiq__out.is-err { background: #FFF7E8; border-color: #F0D7A0; color: var(--warn); }
@media (max-width: 560px) {
  .aiq { flex-direction: column; }
}

/* step 3 — 參考網站 visual picker (live portfolio thumbnails) */
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 760px) { .refs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .refs { grid-template-columns: 1fr; } }
.refcard {
  position: relative; padding: 0; text-align: left; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 13px; overflow: hidden;
  background: #FFFFFF; font: inherit; color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.refcard:hover { border-color: var(--cyan-ink); box-shadow: var(--shadow-soft); }
.refcard:focus-visible { outline: 2px solid var(--cyan-ink); outline-offset: 2px; }
.refcard.is-on { border-color: var(--cyan-ink); box-shadow: 0 0 0 1px var(--cyan-ink), 0 16px 44px -22px rgba(10, 125, 150, 0.45); }
.refcard__shot { display: block; aspect-ratio: 1200 / 782; overflow: hidden; background: var(--bg-2); }
.refcard__shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.refcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; }
.refcard__name b { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.refcard__name small { display: block; font-size: 11.5px; color: var(--faint); margin-top: 2px; }
.refcard__style {
  flex: none; font-size: 11.5px; font-weight: 700; color: var(--cyan-ink);
  border: 1px solid rgba(10, 125, 150, 0.35); border-radius: 999px; padding: 3px 9px;
  background: rgba(45, 226, 255, 0.08);
}
.refcard__tick {
  position: absolute; top: 8px; right: 8px; width: 26px; height: 26px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--grad); color: #04121A; font-size: 14px; font-weight: 700;
  box-shadow: 0 8px 18px -8px rgba(10, 125, 150, 0.6);
  opacity: 0; transform: scale(0.5); transition: opacity 0.15s, transform 0.15s;
}
.refcard.is-on .refcard__tick { opacity: 1; transform: scale(1); }
.refs__hint { color: var(--warn); font-size: 13px; margin: 8px 0 0; }

/* step 4 — summary */
.sum { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; }
@media (max-width: 760px) { .sum { grid-template-columns: 1fr; } }
.sum__list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.sum__list li {
  display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
  padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px;
  background: #FFFFFF;
}
.sum__list li:last-child { border-bottom: 0; }
.sum__list li span { color: var(--soft); }
.sum__list li b { font-family: var(--font-latin); font-weight: 700; white-space: nowrap; }
.sum__list li.sum__total { background: rgba(45, 226, 255, 0.1); }
.sum__list li.sum__total b { font-size: 19px; background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sum__list li.sum__defer span, .sum__list li.sum__defer b { color: var(--warn); font-size: 13px; }
.sum__list li b .price-was { font-size: 12px; font-weight: 500; }
.sum__showcase {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 4px 0 14px; padding: 11px 13px;
  border: 1px dashed var(--line); border-radius: 12px;
  background: rgba(45, 226, 255, 0.05); cursor: pointer;
  font-size: 13px; line-height: 1.5; color: var(--soft);
}
.sum__showcase input { flex: none; margin: 2px 0 0; width: 18px; height: 18px; accent-color: var(--violet); cursor: pointer; }
.sum__showcase b { display: block; color: var(--ink); font-weight: 700; }
.sum__showcase em { display: block; margin-top: 2px; font-style: normal; color: var(--warn); font-size: 12.5px; }
.sum__promo { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12.5px; color: var(--faint); }
.sum__promo span { flex: none; }
.sum__promo input { flex: 1; min-width: 0; padding: 8px 11px; font-size: 13px; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.sum__promo input:focus-visible { outline: 2px solid var(--violet); outline-offset: 1px; }
.sum__side h4 { font-size: 15px; font-weight: 900; margin: 0 0 8px; }
.sum__side p { font-size: 13.5px; color: var(--soft); margin: 0 0 14px; white-space: pre-line; }
.sum__acts { display: grid; gap: 10px; }
.sum__acts .btn { width: 100%; }
.sum__paynote { font-size: 12.5px; color: var(--faint); margin: 2px 0 0; text-align: center; }
.wz__fallback {
  margin-top: 12px; padding: 12px 14px; border-radius: 11px; font-size: 13.5px;
  background: #FFF7E8; border: 1px solid #F0D7A0; color: var(--warn);
}
.wz__sent {
  margin-top: 12px; padding: 12px 14px; border-radius: 11px; font-size: 13.5px;
  background: #E9FBF3; border: 1px solid #A8E6C9; color: var(--ok);
}
/* build-portal link — shown when /api/web-build-order returns a portalUrl */
.wz__portal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wz__portal .btn { flex: none; }

/* step 4 — gentle add-on reminders (informational, never blocking) */
.sum__hints { display: grid; gap: 8px; margin-top: 14px; }
.sum__hints p {
  margin: 0; padding: 11px 14px; border-radius: 11px; font-size: 13.5px;
  background: #FFF7E8; border: 1px solid #F0D7A0; color: var(--warn);
}

/* paid / cancelled banners */
.banner {
  display: flex; gap: 12px; align-items: flex-start; margin: 0 0 26px;
  padding: 16px 18px; border-radius: 14px; font-size: 15px;
}
.banner--ok { background: #E9FBF3; border: 1px solid #A8E6C9; color: var(--ok); }
.banner--warn { background: #FFF7E8; border: 1px solid #F0D7A0; color: var(--warn); }
.banner b { display: block; }
.banner span { color: var(--soft); font-size: 14px; }

/* ============================================================
   Pricing
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.pcard {
  position: relative; border-radius: 18px; padding: 26px;
  background: #FFFFFF; border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 6px;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.pcard:hover { border-color: var(--line-2); box-shadow: 0 26px 60px -26px rgba(42, 55, 100, 0.3); }
.pcard__name { font-size: 16px; font-weight: 900; }
.pcard__name small { display: block; font-family: var(--font-latin); font-weight: 500; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-top: 2px; }
.pcard__price { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; margin: 8px 0 2px; }
.pcard__price small { font-family: var(--font-latin); font-size: 13px; font-weight: 500; color: var(--soft); }
.pcard__desc { color: var(--soft); font-size: 13.5px; margin: 0; }
.pcard--hero {
  grid-column: span 5; grid-row: span 2;
  border: 1px solid transparent;
  background:
    linear-gradient(#FFFFFF, #FFFFFF) padding-box,
    var(--grad) border-box;
  justify-content: flex-start; gap: 10px; padding: 34px 30px;
}
.pcard--hero .pcard__price { font-size: clamp(44px, 6vw, 64px); background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pcard--hero ul { margin: 6px 0 14px; padding: 0; list-style: none; display: grid; gap: 8px; }
.pcard--hero ul li { font-size: 14.5px; color: var(--soft); padding-left: 20px; position: relative; }
.pcard--hero ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; background: var(--grad); }
.pcard__note {
  margin-top: auto; padding: 12px 14px; border-radius: 11px; font-size: 13px;
  background: rgba(45, 226, 255, 0.08); border: 1px dashed rgba(10, 125, 150, 0.4); color: var(--ink);
}
.pcard--addon { grid-column: span 7; }
.pcard--a3 { grid-column: span 3; }
.pcard--a4 { grid-column: span 4; }
.pcard__name .promo-badge { margin-left: 10px; vertical-align: 2px; }
.pcard__was { margin: 10px 0 0; font-size: 15px; }
.pcard--hero .pcard__price { margin-top: 0; }
/* 免費功能 vs 加購功能 — two-column feature price card */
.pcard--feats { grid-column: span 12; flex-direction: row; gap: clamp(20px, 4vw, 46px); }
.pcard__featcol { flex: 1; min-width: 0; }
.featlist { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.featlist li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  border-bottom: 1px dashed var(--line); padding-bottom: 8px;
  font-size: 14px; color: var(--soft);
}
.featlist li:last-child { border-bottom: 0; padding-bottom: 0; }
.featlist li b { flex: none; font-family: var(--font-latin); font-weight: 700; font-size: 13.5px; color: var(--violet-ink); white-space: nowrap; }
.featlist li b.featlist__free { color: var(--ok); }
@media (max-width: 760px) { .pcard--feats { flex-direction: column; gap: 22px; } }
.pcard--host { grid-column: span 12; flex-direction: row; align-items: center; gap: 26px; border-color: rgba(91, 61, 240, 0.35); background: linear-gradient(110deg, rgba(124, 92, 255, 0.08), #FFFFFF 55%); }
.pcard--host .pcard__price { margin: 0; }
.pcard--host .pcard__desc { max-width: 520px; }
.pcard--host .pbadge { margin-left: auto; }
.pbadge {
  flex: none; display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em;
  color: #5C3D00; background: #FFE3A9; border-radius: 999px; padding: 6px 16px;
}
@media (max-width: 920px) {
  .pcard--hero, .pcard--addon, .pcard--a3, .pcard--a4 { grid-column: span 12; }
  .pcard--host { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pcard--host .pbadge { margin-left: 0; }
}

/* ============================================================
   Systems & fees — à-la-carte table
   ============================================================ */
.fees__table {
  border: 1.5px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--bg);
}
.fees__row {
  display: grid; grid-template-columns: minmax(160px, 1.1fr) 2.2fr minmax(120px, 0.9fr);
  align-items: baseline; gap: 18px; padding: 18px 22px;
  border-top: 1px solid var(--line);
}
.fees__row:first-child { border-top: 0; }
.fees__row:not(.fees__row--head):hover { background: var(--bg-2); }
.fees__row--head {
  background: var(--bg-2);
  font-family: var(--font-latin); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint);
}
.fees__name { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.fees__name small { font-family: var(--font-latin); font-weight: 500; font-size: 12.5px; color: var(--faint); }
.fees__use { font-size: 14px; color: var(--soft); }
.fees__price {
  text-align: right; font-family: var(--font-latin); font-weight: 700; font-size: 17px;
  color: var(--violet-ink); white-space: nowrap;
}
.fees__price small { font-family: var(--font-latin); font-weight: 500; font-size: 12px; color: var(--faint); margin-left: 2px; }
.fees__badge {
  display: inline-block; vertical-align: middle; margin-left: 6px;
  font-family: var(--font-latin); font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  color: #5C3D00; background: #FFE3A9; border-radius: 999px; padding: 3px 10px;
}
.fees__row--host { background: linear-gradient(110deg, rgba(124, 92, 255, 0.06), transparent 60%); }
.fees__note { margin: 18px 0 0; font-size: 13.5px; color: var(--faint); max-width: 760px; }
.fees__cta { margin-top: 22px; }
@media (max-width: 720px) {
  .fees__row { grid-template-columns: 1fr auto; gap: 4px 14px; padding: 16px 18px; }
  .fees__row--head { display: none; }
  .fees__name { grid-column: 1; }
  .fees__price { grid-column: 2; grid-row: 1; text-align: right; }
  .fees__use { grid-column: 1 / -1; grid-row: 2; }
}

/* ============================================================
   Guarantees strip
   ============================================================ */
.guar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.guar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.guar__item { padding: 34px 26px; border-right: 1px solid var(--line); }
.guar__item:last-child { border-right: 0; }
.guar__item b {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 20px;
  background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 6px;
}
.guar__item span { font-size: 13.5px; color: var(--soft); }
@media (max-width: 880px) {
  .guar__grid { grid-template-columns: 1fr 1fr; }
  .guar__item:nth-child(2) { border-right: 0; }
  .guar__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .guar__grid { grid-template-columns: 1fr; }
  .guar__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .guar__item:last-child { border-bottom: 0; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__wrap { max-width: 820px; }
.faq details {
  border: 1px solid var(--line-2); border-radius: 14px; margin-bottom: 12px;
  background: #FFFFFF; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s;
}
.faq details[open] { border-color: var(--cyan-ink); box-shadow: var(--shadow-soft); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; font-size: 16px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; margin-left: auto; font-family: var(--font-latin); font-size: 22px; font-weight: 500;
  color: var(--cyan-ink); transition: transform 0.25s; flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--soft); font-size: 15px; }

/* ============================================================
   Final CTA — the ONE dark band — + light footer
   ============================================================ */
.cta { position: relative; text-align: left; overflow: hidden; background: var(--dark); color: #EAF0FF; }
.cta__ghost {
  position: absolute; bottom: -18px; right: -2vw; margin: 0; z-index: 0;
  font-family: var(--font-display); font-weight: 800; line-height: 0.8;
  font-size: clamp(90px, 15vw, 230px); color: transparent;
  -webkit-text-stroke: 1px rgba(124, 92, 255, 0.35); user-select: none; pointer-events: none;
}
.cta h2 { font-size: clamp(30px, 5vw, 54px); font-weight: 900; max-width: 700px; margin-bottom: 18px; color: #FFFFFF; }
.cta h2 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta p { color: #9FACC9; max-width: 540px; margin: 0 0 30px; }
.cta__acts { display: flex; flex-wrap: wrap; gap: 14px; position: relative; z-index: 1; }
.cta .btn--ghost { background: transparent; color: #EAF0FF; border-color: rgba(255, 255, 255, 0.3); }
.cta .btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 46px 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding-bottom: 38px; }
.footer h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; font-family: var(--font-latin); }
.footer a { display: block; color: var(--soft); text-decoration: none; font-size: 14.5px; padding: 4px 0; }
.footer a:hover { color: var(--cyan-ink); }
.footer__about p { color: var(--soft); font-size: 14px; max-width: 380px; margin: 12px 0 0; }
.footer__bar { border-top: 1px solid var(--line); padding: 18px 0; font-size: 13px; color: var(--faint); }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; gap: 18px; } }

/* ============================================================
   Chat widget — light glass (wb-chat)
   ============================================================ */
.wb-chat { position: fixed; right: 18px; bottom: 18px; z-index: 90; font-family: var(--font-body); }
.wb-chat__fab {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 12px 18px;
  background: rgba(255, 255, 255, 0.95); color: var(--ink); font-weight: 700; font-size: 14px;
  box-shadow: 0 18px 50px -18px rgba(42, 55, 100, 0.45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.wb-chat__fab:hover { transform: translateY(-2px); border-color: var(--cyan-ink); box-shadow: 0 22px 60px -18px rgba(10, 125, 150, 0.5); }
.wb-chat__fab svg { width: 19px; height: 19px; fill: var(--cyan-ink); flex: none; }
.wb-chat__panel[hidden] { display: none; }
.wb-chat__panel {
  position: absolute; right: 0; bottom: 64px;
  width: min(380px, calc(100vw - 36px)); height: min(560px, calc(100dvh - 120px));
  display: flex; flex-direction: column; overflow: hidden;
  background: rgba(255, 255, 255, 0.98); border: 1px solid var(--line-2); border-radius: 20px;
  box-shadow: 0 50px 110px -40px rgba(22, 34, 61, 0.5);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.wb-chat__head {
  display: flex; align-items: center; gap: 12px; padding: 15px 18px;
  border-bottom: 1px solid var(--line); background: var(--bg-2);
}
.wb-chat__head::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px rgba(45, 226, 255, 0.9); flex: none; }
.wb-chat__head-text { display: grid; line-height: 1.35; }
.wb-chat__head-text strong { font-size: 15px; }
.wb-chat__sub { font-size: 12px; color: var(--faint); }
.wb-chat__head-acts { margin-left: auto; display: flex; gap: 4px; }
.wb-chat__icon {
  width: 32px; height: 32px; border: 0; border-radius: 9px; cursor: pointer;
  background: transparent; color: var(--soft); display: grid; place-items: center;
}
.wb-chat__icon:hover { background: var(--glass-2); color: var(--ink); }
.wb-chat__icon svg { width: 16px; height: 16px; fill: currentColor; }
.wb-chat__list { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; }
.wb-chat__msg {
  max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.65;
  width: fit-content;
}
.wb-chat__msg--assistant { background: var(--bg-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.wb-chat__msg--user { justify-self: end; background: linear-gradient(120deg, rgba(45, 226, 255, 0.18), rgba(124, 92, 255, 0.18)); border: 1px solid rgba(91, 61, 240, 0.25); border-bottom-right-radius: 4px; }
.wb-chat__typing { color: var(--faint); font-style: italic; }
.wb-chat__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wb-chat__chip {
  border: 1px solid rgba(10, 125, 150, 0.45); background: #FFFFFF; color: var(--cyan-ink);
  font-size: 13px; padding: 7px 13px; border-radius: 999px; cursor: pointer; font-family: inherit;
}
.wb-chat__chip:hover { background: rgba(45, 226, 255, 0.12); }
.wb-chat__wa {
  display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: #FFFFFF;
  background: #128C4B; border-radius: 999px; padding: 6px 14px; text-decoration: none;
}
.wb-chat__lead { padding: 0 16px 10px; }
.wb-chat__leadbtn {
  width: 100%; border: 1px solid rgba(91, 61, 240, 0.4); border-radius: 11px; cursor: pointer;
  background: rgba(124, 92, 255, 0.08); color: var(--ink); font-weight: 700; font-size: 13.5px;
  padding: 10px; font-family: inherit;
}
.wb-chat__leadbtn:hover { background: rgba(124, 92, 255, 0.18); }
.wb-chat__form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.wb-chat__input {
  /* 16px floor: <16px makes iOS Safari auto-zoom the page on focus */
  flex: 1; min-width: 0; padding: 11px 14px; border-radius: 11px; font: inherit; font-size: 16px;
  background: #FBFCFE; border: 1px solid var(--line-2); color: var(--ink);
}
.wb-chat__input:focus { outline: none; border-color: var(--cyan-ink); }
.wb-chat__send {
  border: 0; border-radius: 11px; padding: 0 18px; cursor: pointer; font: inherit;
  font-weight: 700; font-size: 14px; background: var(--grad); color: #04121A;
}
.wb-chat__send:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============================================================
   Motion — reveals (gated behind html.motion in webieai.js)
   ============================================================ */
html.motion [data-sr] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.motion [data-sr].is-in { opacity: 1; transform: none; }
html.motion [data-sr-d="1"] { transition-delay: 0.08s; }
html.motion [data-sr-d="2"] { transition-delay: 0.16s; }
html.motion [data-sr-d="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .marquee__track, .stage__ring, .v-toggle i { animation: none !important; }
  .wz__step.is-active, .sys__view.is-on .sys__copy, .sys__view.is-on .sys__art { animation: none !important; }
  * { scroll-behavior: auto !important; }
}

/* ============================================================
   Blog（專欄）— article + listing styles, appended 2026-06-12
   ============================================================ */
/* ============================================================
   Portfolio / case studies page
   ============================================================ */
.folio-page .crumbs { margin-top: 0; }
.cs__status { font-size: 14px; color: var(--faint); margin: 0 0 8px; }
.cs-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.cs-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.cs-card:hover { border-color: var(--line-2); box-shadow: 0 26px 60px -28px rgba(42, 55, 100, 0.3); }
.cs-card__shot { position: relative; overflow: hidden; aspect-ratio: 1200 / 782; background: var(--bg-2); }
.cs-card__shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
html.motion .cs-card:hover .cs-card__shot img { transform: scale(1.035); }
.cs-card__body { display: flex; flex-direction: column; gap: 16px; padding: 22px 24px 24px; }
.cs-card__head { display: grid; gap: 4px; }
.cs-card__title { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.25; margin: 0; }
.cs-card__meta { font-family: var(--font-latin); font-size: 13px; font-weight: 500; color: var(--faint); margin: 0; }
.cs-card__steps { display: grid; gap: 10px; margin: 0; }
.cs-card__steplabel {
  font-family: var(--font-latin); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan-ink); margin: 0;
}
.cs-card__stepval { font-size: 14.5px; color: var(--soft); margin: 2px 0 0; line-height: 1.55; }
.cs-card__tech { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cs-card__tag {
  font-family: var(--font-latin); font-size: 12px; font-weight: 700; color: var(--violet-ink);
  background: rgba(124, 92, 255, 0.08); border: 1px solid rgba(124, 92, 255, 0.18);
  border-radius: 999px; padding: 4px 12px;
}
.cs-card__go {
  align-self: flex-start; font-family: var(--font-latin); font-weight: 700; font-size: 14px;
  color: var(--cyan-ink); text-decoration: none;
}
.cs-card__go:hover { text-decoration: underline; }
@media (max-width: 760px) { .cs-grid { grid-template-columns: 1fr; } }

.blog-wrap { max-width: 900px; margin: 0 auto; padding: 120px 20px 64px; }
.blog-wrap > h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; margin: 0 0 12px; }
.blog-sub { color: var(--soft); max-width: 640px; }
.crumbs { font-size: .85rem; color: var(--faint); margin: 0 0 18px; }
.crumbs a { color: var(--cyan-ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.blog-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 36px; }
.blog-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); box-shadow: var(--shadow-soft); text-decoration: none; color: var(--ink); transition: transform .2s ease, border-color .2s ease; }
.blog-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.blog-card time { font-size: .8rem; color: var(--faint); }
.blog-card h2 { font-size: 1.1rem; line-height: 1.45; margin: 0; }
.blog-card p { font-size: .92rem; color: var(--soft); margin: 0; }
.blog-card .more { font-weight: 700; color: var(--violet-ink); font-size: .9rem; }
.art { max-width: 860px; margin: 0 auto; padding: 110px 20px 64px; }
.art h1 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.3; margin: 0 0 10px; }
.art h2 { font-size: 1.45rem; margin: 44px 0 14px; line-height: 1.4; }
.art h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.art p, .art li { line-height: 1.85; color: var(--soft); }
.art-meta { font-size: .85rem; color: var(--faint); margin: 0 0 24px; }
.art-answer { border-left: 4px solid var(--violet-ink); background: var(--bg-2); padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 26px 0; }
.art-answer p { margin: 0; color: var(--ink); font-weight: 500; }
.art-table-wrap { overflow-x: auto; margin: 24px 0; }
table.art-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
.art-table caption { text-align: left; font-size: .85rem; color: var(--faint); padding-bottom: 8px; }
.art-table th { background: var(--dark); color: #fff; text-align: left; padding: 10px 14px; font-weight: 700; }
.art-table td { border-bottom: 1px solid var(--line); padding: 10px 14px; color: var(--soft); }
.art-table tbody tr:nth-child(even) { background: var(--bg-2); }
.art-table b { color: var(--ink); }
.art-flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; margin: 26px 0; padding: 0; list-style: none; counter-reset: flow; }
.art-flow li { counter-increment: flow; flex: 1 1 150px; position: relative; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); padding: 14px 14px 14px 16px; font-size: .88rem; line-height: 1.6; color: var(--soft); }
.art-flow li::before { content: counter(flow); display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 8px; font-size: .8rem; }
.art-flow li b { display: block; color: var(--ink); margin-bottom: 2px; }
.art-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); color: var(--violet-ink); font-weight: 900; z-index: 1; }
@media (max-width: 640px) { .art-flow { flex-direction: column; } .art-flow li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -16px; transform: translateX(-50%); } }
.art-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 26px 0; }
.art-stat { border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; background: var(--bg-2); text-align: center; }
.art-stat b { display: block; font-family: var(--font-display); font-size: 1.5rem; background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.art-stat span { font-size: .82rem; color: var(--soft); line-height: 1.5; display: block; margin-top: 6px; }
.art-faq details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 10px 0; background: var(--bg); }
.art-faq summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.art-faq p { margin: 10px 0 0; }
.art-cta { margin: 48px 0 0; padding: 34px 28px; border-radius: 18px; background: var(--dark); color: #fff; text-align: center; }
.art-cta h2 { margin: 0 0 10px; color: #fff; }
.art-cta p { color: #B9C3D6; margin: 0 0 18px; }
.related-read { margin: 18px 0; padding: 14px 18px; border: 1px dashed var(--line-2); border-radius: 12px; font-size: .92rem; }
.related-read a { color: var(--violet-ink); font-weight: 700; }

/* ============================================================
   三兄弟主理 — founder mascot cards + footer strip
   ============================================================ */
/* The brothers is a short, supporting section — pull its vertical rhythm in so
   it doesn't float in a sea of whitespace between 系統 and 下單. */
.sec.bros { padding-top: 56px; padding-bottom: 64px; }
.sec.bros .sec__head { margin-bottom: 34px; }
/* Step-1 pickers are long (11 types, 20 styles) — collapse to ~2 rows with a
   "show more" reveal so the order wizard isn't a wall of choices. */
.types:not(.is-open) .type:nth-child(n+7) { display: none; }
.refs--styles:not(.is-open) .refcard:nth-child(n+9) { display: none; }
.wz__more {
  display: inline-flex; align-items: center; gap: 6px; margin: 14px auto 2px; padding: 9px 20px;
  font-family: inherit; font-size: 0.9rem; font-weight: 700; color: var(--violet-ink);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.wz__more:hover { border-color: var(--violet); background: #fff; }
.wz__more:active { transform: scale(0.97); }
/* Compact horizontal tiles (avatar left, info right) — keeps the section short. */
.bros__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px; margin: 0; padding: 0; list-style: none; max-width: 840px;
}
.bros__card {
  display: grid; grid-template-columns: 72px 1fr; column-gap: 14px; align-items: center;
  text-align: left; padding: 16px; background: #FFFFFF;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.bros__card:hover {
  transform: translateY(-4px); border-color: var(--line-2);
  box-shadow: 0 26px 60px -26px rgba(42, 55, 100, 0.32);
}
.bros__card img {
  grid-column: 1; grid-row: 1 / 6;
  width: 72px; height: 72px; border-radius: 12px;
  image-rendering: pixelated; margin: 0;
  border: 1px solid var(--line-2);
}
.bros__card b {
  grid-column: 2;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 1.05rem; color: var(--ink); letter-spacing: 0.02em;
}
.bros__role { grid-column: 2; font-size: 0.86rem; font-weight: 700; color: var(--soft); }
.bros__role i {
  font-style: normal; font-weight: 500; color: var(--faint);
  display: block; font-size: 0.76rem; letter-spacing: 0.03em;
}
.flag { border-radius: 2px; vertical-align: -1px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.bros__loc { grid-column: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--soft); margin-top: 2px; justify-self: start; }
.footer__bros .flag { margin: 0 2px; }
.bros__yrs {
  grid-column: 2; justify-self: start;
  margin-top: 6px; font-size: 0.74rem; font-weight: 700; color: var(--cyan-ink);
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 11px;
}
@media (max-width: 720px) {
  .bros__grid { grid-template-columns: 1fr; max-width: 380px; gap: 12px; }
  .bros__card { grid-template-columns: 64px 1fr; column-gap: 14px; padding: 14px; }
  .bros__card img { width: 64px; height: 64px; }
}

/* Whole priced add-on row is a click target (toggles its checkbox) */
.addon--clickable { cursor: pointer; }
.addon--clickable:hover { border-color: var(--line-2); }

.footer__bar-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 10px 18px;
}
.footer__bros { display: inline-flex; align-items: center; gap: 6px; }
.footer__bros img { width: 36px; height: 36px; image-rendering: pixelated; }
.footer__bros i { font-style: normal; margin-left: 4px; letter-spacing: 0.04em; }

/* ============ 風格參考 20-style picker (Step 1) ============ */
.refs--styles { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .refs--styles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .refs--styles { grid-template-columns: repeat(2, 1fr); } }
.refs--styles .refcard__shot { aspect-ratio: 560 / 400; }
.refs--styles .refcard__name b { font-size: 13px; }
.ck-other > input { display: block; width: 100%; margin-top: 6px; }

/* ============================================================
   Visual upgrade 2026-06 — pixel logo, pose mascots, fx demos,
   feature icons. Appended; decorative bits are motion-gated.
   ============================================================ */

/* pixel logo (nav + footer) */
.logo .logo__px { width: 30px; height: 30px; flex: none; image-rendering: pixelated; border-radius: 6px; }

/* --- action-pose mascots (decorative) --- */
.mx {
  position: absolute; z-index: 3; pointer-events: none;
  image-rendering: pixelated;
  filter: drop-shadow(0 10px 14px rgba(22, 34, 61, 0.18));
  animation: mxBob 4.5s ease-in-out infinite;
}
.mx--hero { left: -14px; bottom: -6px; width: 84px; z-index: 6; }
.mx--how { top: -34px; right: 4px; width: 72px; animation-delay: 0.8s; }
.mx--price { top: 128px; right: 40px; width: 80px; animation-delay: 1.6s; }
.mx--faq { top: 6px; right: -100px; width: 72px; animation-delay: 0.4s; }
@media (max-width: 1023px) { .mx--faq { right: 0; top: -44px; } }
.mx--cta { right: 7%; top: 44px; width: 88px; animation-delay: 1.2s; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.5)); }
.price-grid { position: relative; }
.faq__wrap { position: relative; }
.cta { position: relative; }
.mx-inline { display: block; margin: 0 auto 8px; image-rendering: pixelated; }
@keyframes mxBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 639px) { .mx { display: none; } }
@media (prefers-reduced-motion: reduce) { .mx { animation: none !important; } }

/* --- feature checkbox icons --- */
.ck__ic {
  flex: none; width: 17px; height: 17px; color: var(--cyan-ink);
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.cks--paid .ck__ic { color: var(--violet-ink); }
.ck__ic--srv {
  display: inline-block; width: 19px; height: 19px; vertical-align: -4px;
  margin-right: 7px; color: var(--cyan-ink);
}

/* --- 網站特效 live mini-demos --- */
.cks--fx { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.ck--fx { padding: 9px 12px; }
.fxdemo {
  flex: none; position: relative; width: 70px; height: 44px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2);
  pointer-events: none;
}
/* 滾動動畫 — 3 bars staggering up */
.fxdemo--scroll b {
  position: absolute; bottom: 7px; width: 11px; border-radius: 3px 3px 0 0;
  background: var(--grad); animation: fxRise 2.4s ease-in-out infinite;
}
.fxdemo--scroll b:nth-child(1) { left: 11px; height: 14px; }
.fxdemo--scroll b:nth-child(2) { left: 29px; height: 22px; animation-delay: 0.25s; }
.fxdemo--scroll b:nth-child(3) { left: 47px; height: 30px; animation-delay: 0.5s; }
@keyframes fxRise {
  0% { transform: translateY(26px); opacity: 0; }
  35%, 75% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(0); opacity: 0; }
}
/* 3D 元素 — slow-rotating CSS cube */
.fxdemo--cube { perspective: 130px; }
.fxdemo--cube b {
  position: absolute; left: 27px; top: 14px; width: 16px; height: 16px;
  transform-style: preserve-3d; animation: fxSpin 7s linear infinite;
}
.fxdemo--cube u { position: absolute; inset: 0; display: block; }
.fxdemo--cube u:nth-child(1) { background: var(--cyan); transform: translateZ(8px); }
.fxdemo--cube u:nth-child(2) { background: var(--violet); transform: rotateY(90deg) translateZ(8px); }
.fxdemo--cube u:nth-child(3) { background: #BFEFFC; transform: rotateX(90deg) translateZ(8px); }
@keyframes fxSpin { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }
/* 視差 — 2 layers, different speeds */
.fxdemo--para b, .fxdemo--para u {
  position: absolute; left: -20px; right: -20px; display: block;
}
.fxdemo--para b {
  top: 8px; height: 16px;
  background: radial-gradient(circle 5px at 14px 8px, var(--cyan) 96%, transparent), radial-gradient(circle 4px at 52px 6px, var(--violet) 96%, transparent), radial-gradient(circle 3px at 86px 10px, var(--cyan-ink) 96%, transparent);
  animation: fxDriftA 4s ease-in-out infinite alternate;
}
.fxdemo--para u {
  bottom: 0; height: 15px; border-radius: 6px 6px 0 0;
  background: linear-gradient(120deg, var(--dark-2), #24304E);
  animation: fxDriftB 4s ease-in-out infinite alternate;
}
@keyframes fxDriftA { from { transform: translateX(-7px); } to { transform: translateX(7px); } }
@keyframes fxDriftB { from { transform: translateX(12px); } to { transform: translateX(-12px); } }
/* 深色模式 — sun ↔ moon crossfade */
.fxdemo--dark { animation: fxNight 5s ease-in-out infinite; }
.fxdemo--dark b, .fxdemo--dark u {
  position: absolute; top: 13px; left: 26px; width: 18px; height: 18px;
  display: block; border-radius: 50%;
}
.fxdemo--dark b {
  background: #FFC93C; box-shadow: 0 0 0 3px rgba(255, 201, 60, 0.35);
  animation: fxSun 5s ease-in-out infinite;
}
.fxdemo--dark u {
  background: transparent; box-shadow: inset -5px -4px 0 0 #EAF0FF;
  animation: fxMoon 5s ease-in-out infinite;
}
@keyframes fxNight { 0%, 38%, 100% { background: var(--bg-2); } 55%, 85% { background: var(--dark-2); } }
@keyframes fxSun { 0%, 38%, 100% { opacity: 1; transform: none; } 55%, 85% { opacity: 0; transform: translateY(8px); } }
@keyframes fxMoon { 0%, 38%, 100% { opacity: 0; transform: translateY(-8px); } 55%, 85% { opacity: 1; transform: none; } }
/* Hover 微互動 — button lifting on loop */
.fxdemo--hover b {
  position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -17px;
  width: 34px; height: 18px; border-radius: 6px; background: var(--grad);
  color: #04121A; font-family: var(--font-latin); font-weight: 700; font-size: 8px;
  display: grid; place-items: center; letter-spacing: 0.08em;
  animation: fxLift 2.2s ease-in-out infinite;
}
@keyframes fxLift {
  0%, 55%, 100% { transform: translateY(0); box-shadow: 0 1px 2px rgba(22, 34, 61, 0.25); }
  25%, 35% { transform: translateY(-3px); box-shadow: 0 7px 10px -3px rgba(124, 92, 255, 0.55); }
}
/* 打字／數字動效 — typing caret + counting number */
.fxdemo--type b {
  position: absolute; left: 8px; top: 12px; height: 6px; width: 0; display: block;
  background: var(--line-2); border-right: 2px solid var(--cyan-ink);
  animation: fxTypeLine 3s steps(9) infinite;
}
.fxdemo--type u {
  position: absolute; left: 8px; bottom: 7px; height: 14px; overflow: hidden;
  display: block; text-decoration: none; font-family: var(--font-latin);
  font-weight: 700; font-size: 12px; color: var(--violet-ink);
}
.fxdemo--type u span { display: block; height: 14px; line-height: 14px; animation: fxCount 6s ease-in-out infinite; }
@keyframes fxTypeLine { 0% { width: 0; } 70%, 100% { width: 36px; } }
@keyframes fxCount {
  0%, 28% { transform: translateY(0); }
  33%, 61% { transform: translateY(-14px); }
  66%, 94% { transform: translateY(-28px); }
  100% { transform: translateY(-42px); }
}
/* --- 10 more free effects: mini-demos --- */
.fxdemo--grad { background: linear-gradient(120deg, var(--cyan), var(--violet), #BFEFFC, var(--cyan)); background-size: 300% 300%; animation: fxGrad 5s ease infinite; }
@keyframes fxGrad { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.fxdemo--glass { background: linear-gradient(120deg, var(--cyan), var(--violet)); }
.fxdemo--glass b { position: absolute; inset: 9px; border-radius: 6px; background: rgba(255, 255, 255, 0.4); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); border: 1px solid rgba(255, 255, 255, 0.65); }
.fxdemo--zoom b { position: absolute; inset: 8px; border-radius: 6px; background: var(--grad); animation: fxZoom 3s ease-in-out infinite; }
@keyframes fxZoom { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.16); } }
.fxdemo--flip { perspective: 150px; }
.fxdemo--flip b { position: absolute; inset: 9px 22px; border-radius: 5px; background: var(--grad); transform-style: preserve-3d; animation: fxFlip 4s ease-in-out infinite; }
@keyframes fxFlip { 0%, 100% { transform: rotateY(0); } 50% { transform: rotateY(180deg); } }
.fxdemo--gtext { display: flex; align-items: center; justify-content: center; font: 800 20px/1 "Inter", system-ui, sans-serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.fxdemo--gtext::after { content: "Aa"; }
.fxdemo--spin b { position: absolute; left: 27px; top: 14px; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--violet); animation: fxSpinR 0.9s linear infinite; }
@keyframes fxSpinR { to { transform: rotate(360deg); } }
.fxdemo--prog b { position: absolute; left: 8px; right: 8px; top: 19px; height: 6px; border-radius: 3px; background: var(--grad); transform-origin: left; animation: fxProg 2.6s ease-in-out infinite; }
@keyframes fxProg { 0% { transform: scaleX(0.05); } 70%, 100% { transform: scaleX(1); } }
.fxdemo--float b { position: absolute; left: 28px; top: 14px; width: 16px; height: 16px; border-radius: 5px; background: var(--grad); animation: fxFloat 2.8s ease-in-out infinite; }
@keyframes fxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.fxdemo--glow b { position: absolute; left: 29px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); animation: fxGlow 1.8s ease-in-out infinite; }
@keyframes fxGlow { 0%, 100% { box-shadow: 0 0 6px 1px var(--cyan); opacity: 0.7; } 50% { box-shadow: 0 0 14px 5px var(--violet); opacity: 1; } }
.fxdemo--top b { position: absolute; left: 27px; bottom: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); animation: fxTop 2s ease-in-out infinite; }
.fxdemo--top b::after { content: ""; position: absolute; left: 5px; top: 6px; width: 5px; height: 5px; border-top: 2px solid #fff; border-left: 2px solid #fff; transform: rotate(45deg); }
@keyframes fxTop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

@media (prefers-reduced-motion: reduce) {
  .fxdemo b, .fxdemo u, .fxdemo--dark, .fxdemo--grad { animation: none !important; }
  .fxdemo--type b { width: 36px; }
}

/* ============================================================
   MAX Builder overrides — the builder character + the <$20 gimmick.
   Appended to the forked system stylesheet so every token, radius
   and motion rule matches the original Web Daddies design system.
   ============================================================ */

/* MAX himself, standing in front of the floating windows he builds */
.mx-max {
  position: absolute; left: 6%; bottom: -12px; z-index: 7;
  height: clamp(300px, 30vw, 430px); width: auto;
  filter: drop-shadow(0 26px 30px rgba(42, 55, 100, 0.32));
  pointer-events: none;
}
@media (max-width: 980px) { .mx-max { left: 2%; height: 300px; } }
@media (max-width: 639px) { .mx-max { height: 240px; } }

/* the US$19 gimmick, supersized (Unbounded display via the h1) */
.hero h1 .grad--mega {
  display: block; font-size: 1.6em; line-height: 1.05;
  letter-spacing: -0.01em; margin-top: 4px;
}

/* hard-hat yellow promo badge — the one accent that bridges the character */
.promo-badge--pop {
  background: #FFD100; color: #10151D; border: 0;
  font-weight: 700; transform: rotate(-2deg);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* page scroll progress — gradient hairline under the sticky nav */
.maxb-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}
html:not(.motion) .maxb-progress { display: none; }
