:root {
  --forest: #1a3c2e;
  --forest-2: #234d3c;
  --moss: #4a7c59;
  --sage: #6b8f71;
  --kraft: #6B4423;
  --kraft-mid: #8B5E3C;
  --kraft-soft: #c4a574;
  --ink: #2a2118;
  --ink-2: #3d3228;
  --paper: #f8f4ec;
  --white: #fffdf8;
  --line: #e0d5c4;
  --muted: #6b5e52;
  --draft: #8a3b2b;
  --shadow: 0 1px 2px rgba(42, 33, 24, 0.04), 0 10px 28px rgba(42, 33, 24, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans TC", "Plus Jakarta Sans", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--kraft); }
img { max-width: 100%; display: block; }
h1, h2, h3, p, .lead, .note, .ai-note, li {
  text-wrap: pretty;
}

.draft-bar {
  background: var(--forest);
  color: #f3ebe0;
  text-align: center;
  font-size: 12px;
  letter-spacing: .12em;
  padding: 8px 16px;
}

.wrap { width: min(1120px, calc(100% - 56px)); margin: 0 auto; }

header {
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: saturate(1.15) blur(14px);
  -webkit-backdrop-filter: saturate(1.15) blur(14px);
  border-bottom: 1px solid rgba(107, 68, 35, 0.12);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 14px; color: inherit; }
.brand:hover { color: inherit; }
.mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--forest);
  color: #f6f1e8;
  display: grid;
  place-items: center;
  font-family: "Plus Jakarta Sans", "Noto Sans TC", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 14px;
  flex-shrink: 0;
}
.brand-text .zh {
  display: block;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .08em;
  line-height: 1.25;
  color: var(--forest);
}
.brand-text .en {
  display: block;
  font-family: "Plus Jakarta Sans", "Noto Sans TC", sans-serif;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 500;
}
nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
}
nav a {
  letter-spacing: .02em;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
}
nav a:hover { color: var(--forest); }
nav a.active { color: var(--forest); }
nav a.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--kraft-mid);
  border-radius: 2px;
}
.lang {
  border: 1px solid rgba(107, 68, 35, 0.22);
  background: var(--white);
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: .08em;
  cursor: pointer;
  color: var(--ink);
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", "Noto Sans TC", sans-serif;
  font-weight: 600;
}
.lang:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.hero {
  color: var(--ink);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 70% 80% at 88% 12%, rgba(74, 124, 89, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(139, 94, 60, 0.1), transparent 55%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(107, 68, 35, 0.025) 3px,
      rgba(107, 68, 35, 0.025) 4px
    );
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy {
  max-width: 42em;
  position: relative;
  z-index: 1;
}
.hero .kicker {
  color: var(--kraft-mid);
  font-family: "Plus Jakarta Sans", "Noto Sans TC", sans-serif;
  letter-spacing: .22em;
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 18px;
  text-transform: uppercase;
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 52px);
  letter-spacing: .02em;
  line-height: 1.22;
  margin: 0 0 22px;
  color: var(--forest);
  text-wrap: pretty;
}
.hero p { max-width: 38em; color: var(--ink-2); margin: 0; font-size: 17px; text-wrap: pretty; }

.hero-visual {
  position: relative;
  height: 280px;
  pointer-events: none;
}
.hero-sheet {
  position: absolute;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.hero-sheet.sheet-a {
  width: 210px;
  height: 250px;
  right: 36px;
  top: 16px;
  background: var(--forest);
  transform: rotate(10deg);
}
.hero-sheet.sheet-b {
  width: 200px;
  height: 230px;
  right: 92px;
  top: 8px;
  background: #efe3cf;
  transform: rotate(-8deg);
  border: 1px solid rgba(107, 68, 35, 0.12);
}
.hero-sheet.sheet-c {
  width: 180px;
  height: 200px;
  right: 8px;
  top: 48px;
  background: var(--moss);
  opacity: 0.88;
  transform: rotate(18deg);
}
.hero-mono {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 72px;
  letter-spacing: -0.06em;
  color: var(--forest);
  line-height: 1;
  mix-blend-mode: multiply;
  opacity: 0.9;
}

section { padding: 88px 0; }
section.alt { background: var(--white); }
h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: .06em;
  margin: 0 0 10px;
  color: var(--forest);
  line-height: 1.3;
}
.rule {
  width: 56px;
  height: 3px;
  background: var(--kraft-mid);
  margin: 0 0 28px;
  border-radius: 3px;
}
.lead { font-size: 18px; max-width: 42em; color: var(--ink-2); }
.muted { color: var(--muted); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.card {
  background: var(--white);
  border: 1px solid rgba(107, 68, 35, 0.1);
  padding: 32px 28px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: .04em; color: var(--forest); }

.placeholder {
  border: 1px dashed var(--kraft-soft);
  background: #f6f1e8;
  padding: 16px 18px;
  color: var(--kraft);
  font-size: 14px;
  border-radius: 12px;
}

dl.contact { margin: 0; }
dl.contact dt {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted);
  margin: 18px 0 4px;
  font-weight: 600;
  font-family: "Plus Jakarta Sans", "Noto Sans TC", sans-serif;
  text-transform: uppercase;
}
dl.contact dt:first-child { margin-top: 0; }
dl.contact dd { margin: 0; font-size: 16px; }
dl.contact a { color: var(--forest); font-weight: 600; }

footer {
  background: var(--forest);
  color: #d9e3dc;
  padding: 48px 0 32px;
  font-size: 13px;
}
footer .zh-name {
  color: #fff;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: 16px;
}
footer a { color: #f3ebe0; }
footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; }
.legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(243, 235, 224, 0.16);
  color: #a8b8b0;
  font-size: 12px;
}

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.product {
  background: var(--white);
  border: 1px solid rgba(107, 68, 35, 0.1);
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.product .pic {
  aspect-ratio: 1;
  overflow: hidden;
  background: #efe6d6;
  display: grid;
  place-items: center;
}
.product .pic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product .body { padding: 20px 20px 22px; }
.product h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: .04em; color: var(--forest); }
.product p { margin: 0; font-size: 14px; color: var(--muted); }
.caption { margin: 20px 0 0; font-size: 12.5px; color: var(--muted); }
.product .pic.sign { color: var(--forest); text-align: center; padding: 20px; }
.product .pic.sign .zh-line {
  font-weight: 700;
  letter-spacing: .12em;
  font-size: 18px;
}
.product .pic.sign .en-line {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--muted);
  font-family: "Plus Jakarta Sans", "Noto Sans TC", sans-serif;
  font-weight: 600;
}

.cta { margin-top: 32px; }
.cta a {
  display: inline-block;
  background: var(--forest);
  color: #f6f1e8;
  padding: 14px 26px;
  letter-spacing: .04em;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(26, 60, 46, 0.18);
}
.cta a:hover { background: var(--forest-2); color: #fff; }
.hero .cta a { background: var(--forest); color: #f6f1e8; }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.points .card p { margin: 0; color: var(--muted); font-size: 15px; }
.note { font-size: 14px; color: var(--muted); max-width: 46em; }

.process-overview {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}
.process-overview li { text-align: center; position: relative; }
.process-overview img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(107, 68, 35, 0.1);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.process-overview .n {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--kraft-mid);
  font-weight: 700;
  font-family: "Plus Jakarta Sans", "Noto Sans TC", sans-serif;
}
.process-overview .t {
  display: block;
  font-size: 13px;
  letter-spacing: .02em;
  margin-top: 2px;
  line-height: 1.4;
  color: var(--ink-2);
}

.process {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.process:before {
  content: "";
  position: absolute;
  left: 251px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--moss), var(--kraft-soft));
  border-radius: 2px;
  opacity: 0.55;
}
.process-step {
  display: grid;
  grid-template-columns: 220px 62px 1fr;
  gap: 8px 18px;
  align-items: center;
  margin: 0 0 32px;
  position: relative;
}
.process-step:last-child { margin-bottom: 0; }
.process-illu img {
  width: 220px;
  height: auto;
  display: block;
  border: 1px solid rgba(107, 68, 35, 0.1);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.process-num {
  width: 46px;
  height: 46px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--forest);
  color: #f6f1e8;
  display: grid;
  place-items: center;
  font-size: 13px;
  letter-spacing: .04em;
  font-weight: 700;
  position: relative;
  z-index: 1;
  border: 3px solid var(--paper);
  font-family: "Plus Jakarta Sans", "Noto Sans TC", sans-serif;
}
.process-body h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: .04em; color: var(--forest); }
.process-body p { margin: 0; color: var(--muted); font-size: 15px; max-width: 40em; }

.related { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; margin-top: 8px; }
.related-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(107, 68, 35, 0.1);
  padding: 14px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.related-item img { width: 64px; height: 64px; display: block; border-radius: 10px; }
.related-item h3 { margin: 0 0 4px; font-size: 16px; letter-spacing: .04em; color: var(--forest); }
.related-item p { margin: 0; font-size: 13px; color: var(--muted); }

.ai-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ai-card {
  background: var(--white);
  border: 1px solid rgba(107, 68, 35, 0.1);
  padding: 24px 24px 26px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.ai-card img { width: 64px; height: 64px; border-radius: 10px; }
.ai-card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: .04em; color: var(--forest); }
.ai-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ai-note {
  margin-top: 32px;
  border-left: 3px solid var(--kraft-mid);
  padding: 4px 0 4px 18px;
  color: var(--muted);
  font-size: 14px;
  max-width: 48em;
}

[lang="en"] .only-zh, :lang(en) .only-zh { display: none !important; }
[lang="zh-Hant"] .only-en, :lang(zh-Hant) .only-en { display: none !important; }
body[data-lang="en"] .only-zh { display: none !important; }
body[data-lang="zh"] .only-en { display: none !important; }

@media (max-width: 900px) {
  .process-overview { grid-template-columns: repeat(4, 1fr); }
  .process:before { left: 16px; }
  .process-step { grid-template-columns: 32px 1fr; }
  .process-illu { grid-column: 2; }
  .process-illu img { width: 100%; max-width: 280px; }
  .process-num { width: 32px; height: 32px; font-size: 11px; margin: 0; }
  .process-body { grid-column: 2; }
  .related, .ai-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .wrap { width: min(1120px, calc(100% - 36px)); }
  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 13px;
    width: 100%;
    order: 3;
  }
  nav a.active:after { bottom: -3px; }
  .header-row { flex-wrap: wrap; gap: 14px; }
  .grid, .foot-grid, .points, .products { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 56px 0 52px; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { max-width: none; }
  .hero-visual { display: none; }
  .hero h1 { font-size: clamp(28px, 8vw, 40px); }
}
