:root {
  --green: #1F4D45;
  --green-deep: #173A34;
  --apricot: #E8B77A;
  --mint: #8CCBB9;
  --ink: #22262B;
  --muted: #5A6068;
  --line: #E4E2DD;
  --paper: #F6F5F2;
  --white: #FFFFFF;
  --radius: 16px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.en { font-family: "Inter", sans-serif; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-header .logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.btn {
  display: inline-block; text-decoration: none; font-weight: 500;
  padding: 10px 20px; border-radius: 10px; font-size: 15px; line-height: 1.4;
}
.btn-primary { background: var(--green); color: var(--white) !important; }
.btn-primary:hover { background: var(--green-deep); }
.btn-accent { background: var(--apricot); color: var(--ink) !important; }
.btn-ghost { border: 1.5px solid var(--green); color: var(--green) !important; }

/* hero */
.hero { padding: 96px 0 88px; background: var(--white); border-bottom: 1px solid var(--line); }
.eyebrow { font-family: "Inter", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; color: var(--green); margin: 0 0 18px; }
.hero h1 { margin: 0; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.3; font-weight: 700; letter-spacing: 0.02em; }
.hero .lead { margin: 22px 0 0; font-size: 19px; color: var(--muted); max-width: 640px; }
.hero .slogan { margin: 28px 0 0; font-size: 15px; color: var(--muted); }
.hero .slogan strong { color: var(--ink); font-weight: 700; letter-spacing: 0.08em; }
.hero .actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

/* sections */
section { padding: 88px 0; }
.section-head { margin-bottom: 40px; }
.section-head h2 { margin: 0; font-size: 32px; line-height: 1.35; }
.section-head p { margin: 10px 0 0; color: var(--muted); max-width: 680px; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .tag { display: inline-block; font-size: 13px; color: var(--green); background: #E6F0EC; border-radius: 6px; padding: 2px 10px; margin-bottom: 14px; }

/* works */
.works { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature {
  background: var(--green); color: var(--white); border-radius: 20px; padding: 40px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; margin-bottom: 20px;
}
.feature .tag { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.feature h3 { margin: 0 0 10px; font-size: 26px; }
.feature p { margin: 0 0 14px; color: #D8EDE6; }
.feature a { color: var(--apricot); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
.stat { background: rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 18px 20px; }
.stat .num { font-family: "Inter", sans-serif; font-size: 34px; font-weight: 600; color: var(--apricot); line-height: 1.2; }
.stat .label { font-size: 14px; color: #D8EDE6; line-height: 1.5; }
.source { font-size: 13px; color: #A9CFC3; grid-column: 1 / -1; margin: 0; }
.work { display: flex; flex-direction: column; }
.work .meta { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.work .status { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.badge { font-size: 13px; padding: 3px 10px; border-radius: 6px; background: #FBF0E1; color: #7A5424; white-space: nowrap; }
.badge.live { background: #E6F0EC; color: var(--green); }
.work .status a { font-weight: 500; text-decoration: none; }
.work .status a:hover { text-decoration: underline; }

.work-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.work-head .tag { margin-bottom: 0; }
.work-icon { width: 56px; height: 56px; border-radius: 13px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.work-icon-plain { box-shadow: none; border-radius: 0; padding: 6px; }
.work-icon-mac { box-shadow: none; border-radius: 0; transform: scale(1.18); }
.feature .work-icon { width: 64px; height: 64px; border-radius: 14px; background: var(--white); }
.feature .work-head { justify-content: flex-start; gap: 16px; }

/* process */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 14px; color: var(--green);
  display: block; margin-bottom: 10px;
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.65; }

/* about */
.about { background: var(--white); border-top: 1px solid var(--line); }
.about-body { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.about-body p { margin: 0 0 16px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.points li { background: var(--paper); border-radius: 12px; padding: 16px 20px; }
.points strong { display: block; }
.points span { color: var(--muted); font-size: 15px; }

/* contact */
.contact { background: var(--green); color: var(--white); text-align: center; }
.contact h2 { margin: 0; font-size: 34px; }
.contact p { margin: 14px auto 0; color: #D8EDE6; max-width: 560px; }
.contact .actions { margin-top: 32px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.contact .mail { font-family: "Inter", sans-serif; font-size: 22px; font-weight: 600; color: var(--white); text-decoration: none; border-bottom: 2px solid var(--apricot); }

/* footer */
.site-footer { background: var(--green-deep); color: #A9CFC3; font-size: 14px; padding: 36px 0; }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer img { height: 30px; width: auto; }
.site-footer p { margin: 0; }

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature, .about-body { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav a:not(.btn) { display: none; }
  .site-header .logo img { height: 28px; }
  .hero { padding: 64px 0; }
  .hero h1 { font-size: 29px; letter-spacing: 0; }
  .eyebrow { font-size: 11px; letter-spacing: 0.1em; }
  section { padding: 64px 0; }
  .grid-3, .grid-2, .steps, .stats { grid-template-columns: 1fr; }
  .feature { padding: 28px 22px; }
  .section-head h2, .contact h2 { font-size: 26px; }
}
