:root {
  color-scheme: light;
  --ink: #101513;
  --ink-2: #24332e;
  --muted: #5e6c66;
  --quiet: #87928d;
  --paper: #f7f2e8;
  --white: #ffffff;
  --rice: #ebe0cf;
  --tea-wash: #e7ede8;
  --leaf: #153f34;
  --leaf-dark: #0a211b;
  --moss: #677a56;
  --oolong: #aa7a39;
  --clay: #8b5945;
  --charcoal: #1f2723;
  --line: #ded4c2;
  --line-strong: #bfb2a0;
  --shadow: 0 28px 86px rgba(16, 21, 19, 0.16);
  --radius: 8px;
  font-family:
    "Noto Sans TC", "Microsoft JhengHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(16, 21, 19, 0.035) 1px, transparent 1px) 0 0 / 84px 84px,
    linear-gradient(180deg, #fbf7ef 0%, var(--paper) 460px);
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin-top: 0;
}

p,
li,
dd {
  color: var(--muted);
  line-height: 1.78;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(222, 215, 202, 0.92);
  background: rgba(247, 242, 232, 0.94);
  backdrop-filter: blur(14px);
  transition: box-shadow 160ms ease, border-color 160ms ease;
}

.site-header.is-compact {
  border-color: rgba(201, 191, 174, 0.75);
  box-shadow: 0 8px 28px rgba(23, 32, 28, 0.08);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.15;
}

.brand small {
  color: var(--quiet);
  font-size: 12px;
  line-height: 1.2;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 15px;
  white-space: nowrap;
}

nav a {
  padding: 8px 0;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--leaf);
}

.hero {
  display: grid;
  min-height: min(760px, calc(100vh - 72px));
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: clamp(42px, 7vw, 72px) clamp(20px, 6vw, 84px) clamp(34px, 6vw, 62px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 7% 12%, rgba(170, 122, 57, 0.12), transparent 32%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0));
}

.hero-content {
  max-width: 810px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 810px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 28px;
  color: var(--ink-2);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.82;
}

.hero-actions,
.contact-band {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 850;
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: #ffffff;
  background: var(--charcoal);
  box-shadow: 0 10px 26px rgba(33, 74, 60, 0.18);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--leaf);
}

.button.secondary {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.76);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--leaf);
  background: #ffffff;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 740px;
  gap: 1px;
  margin: 34px 0 0;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: 0 18px 50px rgba(16, 21, 19, 0.06);
}

.hero-facts div {
  min-width: 0;
  padding: 16px;
  background: rgba(255, 253, 248, 0.9);
}

.hero-facts dt {
  margin-bottom: 5px;
  color: var(--quiet);
  font-size: 13px;
  font-weight: 850;
}

.hero-facts dd {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}

.hero-visual,
.case-photo {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  border: 1px solid rgba(16, 21, 19, 0.2);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  position: absolute;
  inset: 14px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 4px;
  content: "";
  pointer-events: none;
}

.hero-visual img,
.case-photo img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.hero-visual img {
  aspect-ratio: 16 / 10.6;
}

.case-photo img {
  aspect-ratio: 16 / 10;
}

.hero-visual figcaption,
.case-photo figcaption {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.hero-visual figcaption span,
.case-photo figcaption span {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-visual figcaption strong,
.case-photo figcaption strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.case-screen {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
}

.case-screen span {
  display: block;
  margin-bottom: 7px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 850;
}

.client-proof {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
  padding: 28px clamp(20px, 6vw, 84px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 80px 80px,
    #0f211b;
}

.client-proof div {
  display: grid;
  gap: 4px;
}

.client-proof span {
  color: #b9cdbb;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.client-proof strong {
  color: #ffffff;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.25;
}

.client-proof a {
  width: fit-content;
  color: #f3d48a;
  font-size: 14px;
  text-decoration: none;
}

.client-proof a:hover,
.client-proof a:focus-visible {
  text-decoration: underline;
}

.client-proof p {
  margin-bottom: 0;
  color: #dce7df;
  font-size: 17px;
}

.section {
  scroll-margin-top: 90px;
  padding: clamp(58px, 8vw, 104px) clamp(20px, 6vw, 84px);
}

.contact-band {
  scroll-margin-top: 90px;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 30px;
}

.section-heading.narrow {
  max-width: 760px;
}

.section-heading h2,
.contact-band h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(30px, 4.3vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p:last-child,
.contact-band p {
  max-width: 760px;
}

.services-section {
  background: var(--paper);
}

.offer-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 30px;
  border: 1px solid var(--line);
  background: var(--line);
}

.offer-strip article {
  min-width: 0;
  padding: clamp(18px, 3vw, 26px);
  background: #fffdf7;
}

.offer-strip span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--oolong);
  font-size: 12px;
  font-weight: 950;
}

.offer-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.offer-strip p {
  margin-bottom: 0;
  color: var(--ink-2);
}

.service-lines {
  border-top: 1px solid var(--line);
}

.service-lines article {
  display: grid;
  grid-template-columns: 64px minmax(260px, 0.78fr) minmax(280px, 1fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-index,
.process-list span,
.privacy-table span {
  color: var(--oolong);
  font-size: 13px;
  font-weight: 950;
}

.service-lines h3,
.case-feature h3,
.case-grid h3,
.process-list h3,
.privacy-table h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.34;
}

.service-lines p {
  margin-bottom: 0;
  color: var(--ink-2);
}

.service-lines ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-lines li,
.check-list li {
  position: relative;
  padding-left: 20px;
}

.service-lines li::before,
.check-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
  content: "";
}

.cases-section {
  background: #eef1ec;
}

.case-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(31, 91, 70, 0.16);
}

.case-copy {
  max-width: 610px;
}

.case-copy > p:not(.eyebrow) {
  color: var(--ink-2);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.case-grid article {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 18px;
  border: 1px solid rgba(17, 24, 21, 0.12);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(17, 24, 21, 0.06);
}

.case-grid p {
  margin-bottom: 0;
}

.case-screen {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 16px;
}

.case-image-screen {
  min-height: 190px;
  padding: 0;
  background: #121a17;
}

.case-image-screen img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  opacity: 0.82;
  filter: saturate(0.82) contrast(1.02);
}

.case-image-screen::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(17, 24, 21, 0.08), rgba(17, 24, 21, 0.58));
}

.case-image-screen span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 1;
  margin-bottom: 0;
  color: #ffffff;
}

.erp-screen {
  background: #f6f6f2;
}

.masked-lines {
  display: grid;
  gap: 11px;
  margin-top: 22px;
}

.masked-lines i {
  height: 18px;
  margin-top: 0;
}

.masked-lines i:nth-child(2) {
  width: 86%;
}

.masked-lines i:nth-child(3) {
  width: 64%;
}

.masked-lines i:nth-child(5) {
  width: 78%;
}

.ads-screen {
  background: #fbf7ed;
}

.ads-screen strong,
.stock-screen strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}

.mini-bars {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  height: 70px;
  align-items: end;
  gap: 10px;
}

.mini-bars i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--clay);
}

.mini-bars i:nth-child(1) {
  height: 42%;
}

.mini-bars i:nth-child(2) {
  height: 66%;
}

.mini-bars i:nth-child(3) {
  height: 52%;
}

.mini-bars i:nth-child(4) {
  height: 86%;
}

.line-screen {
  background: #eef6ef;
}

.line-screen p {
  padding: 14px;
  margin: 20px 0 12px;
  border-radius: 8px 8px 8px 2px;
  color: var(--ink-2);
  background: #ffffff;
}

.line-screen em {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--leaf);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.stock-screen {
  background: #f1f2ed;
}

.signal-list {
  display: grid;
  gap: 9px;
  margin-top: 24px;
}

.signal-list i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: var(--oolong);
}

.signal-list i:nth-child(2) {
  width: 74%;
  background: var(--leaf);
}

.signal-list i:nth-child(3) {
  width: 88%;
  background: var(--clay);
}

.privacy-section {
  background: var(--paper);
}

.proof-section {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--charcoal);
}

.proof-section .eyebrow {
  color: #d6c38b;
}

.proof-section h2 {
  color: #ffffff;
}

.proof-section .section-heading p {
  color: #d5ddd8;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.proof-grid article {
  min-width: 0;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.055);
}

.proof-grid span {
  color: #d6c38b;
  font-size: 13px;
  font-weight: 950;
}

.proof-grid h3 {
  margin: 12px 0 8px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.3;
}

.proof-grid p {
  margin-bottom: 0;
  color: #d5ddd8;
}

.privacy-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.privacy-table article {
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.78);
}

.privacy-table p {
  margin-bottom: 0;
}

.process-section {
  background: var(--rice);
}

.process-list {
  display: grid;
  gap: 1px;
  padding: 0;
  margin: 0;
  background: var(--line-strong);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: clamp(14px, 3vw, 30px);
  padding: 24px clamp(18px, 4vw, 34px);
  background: #fffdf7;
}

.process-list p {
  max-width: 760px;
  margin-bottom: 0;
}

.contact-band {
  justify-content: space-between;
  padding: clamp(44px, 7vw, 82px) clamp(20px, 6vw, 84px);
  background:
    linear-gradient(90deg, rgba(214, 195, 139, 0.12), transparent 48%),
    var(--leaf-dark);
  color: #ffffff;
}

.contact-band .eyebrow {
  color: #cbdcbd;
}

.contact-band h2 {
  max-width: 900px;
  margin-bottom: 12px;
  color: #ffffff;
}

.contact-band p {
  color: #dce7df;
}

.contact-band .button.primary {
  background: #ffffff;
  color: var(--leaf-dark);
}

.contact-band .button.primary:hover,
.contact-band .button.primary:focus-visible {
  background: #f1eadc;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 6vw, 84px);
  border-top: 1px solid var(--line);
  background: #fffdf7;
  font-size: 14px;
}

footer p {
  margin-bottom: 0;
  color: var(--quiet);
}

@media (max-width: 1180px) {
  .hero,
  .case-feature {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 860px;
  }

  .service-lines article {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .service-lines ul {
    grid-column: 2;
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 10px 16px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand strong {
    font-size: 14px;
  }

  nav {
    width: 100%;
    gap: 4px;
    justify-content: space-between;
    overflow-x: auto;
    font-size: 14px;
  }

  nav a {
    flex: 0 0 auto;
    padding: 8px 6px;
  }

  .hero {
    min-height: auto;
    gap: 20px;
    padding: 32px 20px 26px;
  }

  h1 {
    margin-bottom: 16px;
    font-size: clamp(32px, 9.3vw, 39px);
    line-height: 1.09;
  }

  .hero-copy {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    min-height: 44px;
  }

  .button {
    width: 100%;
  }

  .hero-facts,
  .privacy-table,
  .offer-strip,
  .client-proof {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    display: none;
  }

  .hero-visual img {
    aspect-ratio: 16 / 8.8;
  }

  .hero-visual figcaption,
  .case-photo figcaption {
    padding: 12px;
  }

  .hero-visual figcaption {
    display: none;
  }

  .hero-visual figcaption strong {
    font-size: 13px;
  }

  .section {
    scroll-margin-top: 118px;
    padding: 50px 20px;
  }

  .contact-band {
    scroll-margin-top: 118px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading h2,
  .contact-band h2 {
    font-size: clamp(28px, 8.8vw, 38px);
  }

  .service-lines article {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 24px 0;
  }

  .service-lines ul {
    grid-column: 1 / -1;
  }

  .case-feature {
    gap: 22px;
    padding-bottom: 28px;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .case-grid article {
    padding: 16px;
  }

  .process-list li {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 20px 16px;
  }

  .contact-band {
    align-items: stretch;
    padding: 42px 20px;
  }
}

@media (max-width: 420px) {
  .hero-visual {
    margin-right: -4px;
    margin-left: -4px;
  }

}
