:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #596674;
  --paper: #f5f4f1;
  --surface: #fff;
  --line: #d7d9d9;
  --red: #f0cd00;
  --red-soft: #fff5c2;
  --navy: #172a39;
  --navy-soft: #dce5e9;
  --green: #2f6d54;
  --font: Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --page-gutter: clamp(18px, 4vw, 64px);
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #1c6b8a; outline-offset: 3px; }

.site-header {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 82px;
  padding: 14px var(--page-gutter);
  background: var(--paper);
}
.brand {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  background: var(--navy);
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.055em;
  text-decoration: none;
}
.brand-mark {
  display: block;
  width: 150px;
  height: auto;
  object-fit: contain;
}
.brand-copy { display: grid; gap: 2px; }
.brand-copy small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .01em;
}
.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
}
.site-nav a, .header-tools a, .header-tools button {
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
  text-decoration: none;
}
.site-nav a:hover, .header-tools a:hover { color: #675700; }
.header-tools { display: flex; align-items: center; gap: 16px; }
.header-tools .cart-link { font-weight: 700; }
.lang-toggle {
  padding: 7px 9px;
  border: 1px solid var(--line) !important;
}
.menu-toggle { display: none; }
.prototype-note {
  padding: 8px var(--page-gutter);
  color: #fff;
  background: var(--navy);
  font-size: 12px;
  text-align: center;
}

main { min-height: 55vh; }
.page-wrap { width: min(100%, 1600px); margin-inline: auto; padding: 48px var(--page-gutter) 88px; }
.page-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .7fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}
.page-heading h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.page-heading p { max-width: 48ch; margin: 0 0 5px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.section-title {
  margin: 0 0 22px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.body-copy { max-width: 70ch; color: var(--muted); font-size: 16px; line-height: 1.65; }
.body-copy p { margin: 0 0 16px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  color: white;
  background: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.button:hover { color: var(--ink); background: #d7b600; border-color: #d7b600; transform: translateY(-1px); }
.button.secondary { color: var(--ink); background: transparent; }
.button.secondary:hover { color: white; }
.button.red { border-color: var(--red); color: var(--ink); background: var(--red); }
.button.red:hover { border-color: var(--ink); color: white; background: var(--ink); }
.text-link { color: #665600; font-weight: 700; }
.home-stage {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  max-width: 1800px;
  margin-inline: auto;
}
.home-stage-media {
  position: sticky;
  top: 0;
  align-self: start;
  height: calc(100svh - 34px);
  min-height: 580px;
  margin: 0;
  overflow: hidden;
  background: #dfe1dd;
}
.home-stage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: image-drift 24s ease-in-out infinite alternate;
}
.home-stage-media figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 8px 10px;
  color: white;
  background: rgb(23 33 43 / 84%);
  font-size: 12px;
}
.home-stage-content { min-width: 0; }
.home-stage-content > .hero-copy {
  min-height: calc(100svh - 116px);
  background: var(--navy);
  color: white;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(34px, 6vw, 90px) var(--page-gutter);
}
.hero-copy h1 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: .93;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.hero-copy p { max-width: 43ch; margin: 26px 0 28px; color: #e2e8eb; font-size: 17px; line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-copy .button { border-color: white; color: var(--navy); background: white; }
.hero-copy .button:hover { border-color: var(--red); color: white; background: var(--red); }
.hero-copy .button.secondary { color: white; background: transparent; }
.hero-media { position: relative; min-height: 430px; overflow: hidden; background: #dfe1dd; }
.hero-media img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.hero-media figcaption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  max-width: 38ch;
  padding: 9px 12px;
  color: white;
  background: rgb(23 33 43 / 78%);
  font-size: 12px;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 26px var(--page-gutter);
  background: #e9e9e5;
}
.home-stage .trust-row { grid-template-columns: 1fr 1fr; gap: 16px 8px; margin-top: 40px; padding: 0; color: white; background: transparent; }
.home-stage .trust-row p { padding: 4px 10px; border-left-color: var(--red); font-size: 12px; }
.home-stage .trust-row strong { font-size: 13px; }
.home-stage-content .home-section { padding: 58px clamp(22px, 3.6vw, 52px); }
.home-stage-content .page-heading { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
.home-stage-content .page-heading h2 { margin-bottom: 0; }
.trust-row p { margin: 0; padding: 5px 18px; border-left: 2px solid var(--red); font-size: 13px; line-height: 1.4; }
.trust-row strong { display: block; margin-bottom: 4px; font-size: 15px; }
.home-section { padding: clamp(60px, 8vw, 112px) var(--page-gutter); }
.home-section-inner { width: min(100%, 1472px); margin-inline: auto; }
.split-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; align-items: start; }
.split-intro .section-title { max-width: 10ch; }
.system-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.system-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.system-item span:last-child { color: var(--red); font-size: 20px; font-weight: 400; }
.product-section { background: #e9e9e5; }
.product-feature {
  display: grid;
  grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
}
.product-feature-visual {
  display: grid;
  min-height: 390px;
  place-items: center;
  background: white;
}
.product-feature-visual img { width: min(82%, 500px); max-height: 420px; object-fit: contain; mix-blend-mode: multiply; }
.product-feature-copy h2 { margin: 0 0 18px; font-size: clamp(34px, 4.2vw, 58px); line-height: .98; letter-spacing: -.05em; }
.product-feature-copy p { max-width: 54ch; color: var(--muted); font-size: 16px; line-height: 1.6; }
.product-feature-copy .button { margin-top: 12px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.product-tile { min-width: 0; }
.product-tile a { text-decoration: none; }
.product-tile figure { display: grid; min-height: 260px; margin: 0 0 16px; place-items: center; background: white; }
.product-tile img { width: 82%; height: 230px; object-fit: contain; mix-blend-mode: multiply; }
.product-tile h3 { margin: 0 0 5px; font-size: 19px; letter-spacing: -.02em; }
.product-tile p { margin: 0; color: var(--muted); font-size: 14px; }
.tile-foot { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 12px; }
.tile-foot strong { font-size: 16px; }
.tile-foot .text-link { font-size: 13px; }
.service-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.service-list { border-top: 1px solid var(--line); }
.service-line { display: grid; grid-template-columns: 1fr auto; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.service-line h3 { margin: 0 0 6px; font-size: 18px; }
.service-line p { max-width: 62ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.service-line a { align-self: center; color: var(--red); font-weight: 700; text-decoration: none; }
.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: clamp(30px, 5vw, 62px);
  color: white;
  background: var(--navy);
}
.contact-band h2 { max-width: 14ch; margin: 0; font-size: clamp(30px, 4vw, 54px); line-height: 1; letter-spacing: -.045em; }
.contact-band p { max-width: 56ch; margin: 14px 0 0; color: #dce3e6; line-height: 1.55; }
.contact-band .button { border-color: var(--red); color: var(--ink); background: var(--red); }
.contact-band .button:hover { border-color: white; color: var(--navy); background: white; }
.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 36px;
  padding: 56px var(--page-gutter);
  color: #e7ecef;
  background: var(--navy);
}
.site-footer .brand { color: white; }
.site-footer .brand-mark { width: 190px; }
.site-footer p, .site-footer a { color: #d0d8dd; font-size: 13px; line-height: 1.55; }
.site-footer h2 { margin: 0 0 14px; color: white; font-size: 15px; }
.footer-links { display: grid; gap: 7px; justify-items: start; }
.copyright { grid-column: 1 / -1; margin: 5px 0 0; padding-top: 18px; border-top: 1px solid #41515d; font-size: 11px !important; }

.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 25px; }
.field, .select, .textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #aeb5b7;
  border-radius: 0;
  color: var(--ink);
  background: white;
}
.toolbar .field { width: min(100%, 360px); }
.select { width: auto; min-width: 180px; }
.textarea { min-height: 130px; resize: vertical; }
.field-label { display: grid; gap: 7px; color: var(--ink); font-size: 14px; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-stack { display: grid; gap: 18px; }
.form-stack .full { grid-column: 1 / -1; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.form-message { min-height: 20px; margin: 8px 0 0; color: var(--green); font-size: 14px; }
.surface { padding: clamp(22px, 3vw, 38px); background: var(--surface); }
.detail-grid { display: grid; grid-template-columns: minmax(240px, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); }
.detail-image { display: grid; min-height: 420px; padding: 22px; place-items: center; background: white; }
.detail-image img { width: 100%; height: 380px; object-fit: contain; mix-blend-mode: multiply; }
.detail-copy h1 { margin: 0 0 16px; font-size: clamp(36px, 4vw, 58px); line-height: .98; letter-spacing: -.055em; }
.detail-copy .price { margin: 18px 0; font-size: 26px; font-weight: 700; }
.detail-copy .body-copy { margin-bottom: 24px; }
.meta-list { display: grid; gap: 11px; margin: 20px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meta-list div { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 14px; }
.meta-list strong { color: var(--ink); text-align: right; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line); background: white; }
.qty-control button { width: 42px; height: 42px; border: 0; background: white; font-size: 18px; }
.qty-control output { min-width: 36px; text-align: center; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(270px, .65fr); gap: 42px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 88px; height: 78px; object-fit: contain; background: white; mix-blend-mode: multiply; }
.cart-line h2 { margin: 0 0 7px; font-size: 17px; }
.cart-line p { margin: 0; color: var(--muted); font-size: 13px; }
.cart-line .qty-control { margin-top: 10px; }
.cart-line .qty-control button { width: 32px; height: 32px; }
.cart-total { display: grid; gap: 14px; }
.cart-total h2 { margin: 0; font-size: 22px; }
.total-row { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.total-row.total { border-bottom: 0; font-size: 19px; font-weight: 700; }
.demo-disclaimer { padding: 14px 16px; color: #4a4b37; background: #f0eddd; font-size: 13px; line-height: 1.5; }
.account-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 42px; align-items: start; }
.account-nav { display: grid; gap: 4px; }
.account-nav a { padding: 12px 14px; text-decoration: none; }
.account-nav a[aria-current="page"] { color: var(--red); background: var(--red-soft); font-weight: 700; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th { padding: 12px 10px; color: var(--muted); font-size: 12px; font-weight: 600; }
.data-table td { padding: 15px 10px; border-top: 1px solid var(--line); font-size: 14px; }
.status { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; color: var(--ink); background: #e8ebec; font-size: 12px; white-space: nowrap; }
.status.good { color: #225a43; background: #e0eee6; }
.status.pending { color: #805617; background: #f3eddb; }
.notice-list { display: grid; }
.notice { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.notice-dot { width: 9px; height: 9px; margin-top: 7px; background: var(--red); }
.notice h3 { margin: 0 0 5px; font-size: 16px; }
.notice p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.notice time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.review { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.review h3 { margin: 0 0 6px; font-size: 17px; }
.review p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.review-stars { color: var(--red); font-size: 15px; }
.legal-copy h2 { margin: 30px 0 10px; font-size: 22px; }
.legal-copy ul { padding-left: 21px; color: var(--muted); line-height: 1.7; }
.split-content { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.address-block { display: grid; gap: 12px; margin-top: 22px; }
.address-block p { margin: 0; line-height: 1.55; }
.statements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.statement { padding-top: 15px; border-top: 2px solid var(--red); }
.statement strong { display: block; margin-bottom: 7px; font-size: 17px; }
.statement p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.service-card { display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.service-card img { width: 100%; height: 145px; object-fit: cover; background: white; }
.service-card h2 { margin: 0 0 8px; font-size: 20px; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.stars { color: var(--red); }
.mobile-only { display: none; }

@keyframes image-drift {
  from { transform: scale(1.02); }
  to { transform: scale(1.07); }
}
body.motion-ready [data-motion]:not(.motion-in) { transform: translateY(18px); }
body.motion-ready [data-motion] { transition: opacity .55s ease, transform .55s ease; transition-delay: var(--motion-delay, 0ms); }
body.motion-ready [data-motion].motion-in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 18px; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; padding: 12px var(--page-gutter) 20px; background: var(--paper); }
  .site-nav.open { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: inline-flex; min-height: 40px; padding: 0 10px; border: 1px solid var(--line); background: transparent; }
  .header-tools { justify-self: end; }
  .home-hero { grid-template-columns: 1fr 1fr; }
  .hero-copy h1 { font-size: clamp(42px, 6vw, 68px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .home-stage { grid-template-columns: 1fr; }
  .home-stage-media { position: relative; top: auto; height: min(55svh, 460px); min-height: 300px; }
  .home-stage-content > .hero-copy { min-height: auto; }
}
@media (max-width: 650px) {
  .site-header { min-height: 70px; padding-block: 10px; gap: 10px; }
  .brand { padding: 4px 6px; }
  .brand-mark { width: 116px; }
  .site-footer .brand-mark { width: 150px; }
  .header-tools { gap: 8px; }
  .header-tools a { font-size: 12px; }
  .lang-toggle { padding: 6px 7px; font-size: 12px !important; }
  .menu-toggle { min-height: 35px; font-size: 12px; }
  .prototype-note { font-size: 11px; }
  .page-wrap { padding-top: 34px; padding-bottom: 64px; }
  .page-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 25px; }
  .page-heading h1 { max-width: 13ch; font-size: clamp(36px, 10vw, 52px); }
  .page-heading p { font-size: 15px; }
  .home-stage-media { height: 340px; min-height: 300px; }
  .home-stage-content > .hero-copy { min-height: 0; padding: 48px var(--page-gutter); }
  .hero-copy { padding: 44px var(--page-gutter); }
  .hero-copy h1 { max-width: 13ch; font-size: clamp(44px, 13vw, 58px); }
  .hero-copy p { margin: 20px 0 23px; font-size: 15px; }
  .hero-media { min-height: 330px; }
  .trust-row { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .trust-row p { padding-left: 10px; font-size: 12px; }
  .trust-row strong { font-size: 13px; }
  .home-section { padding-block: 60px; }
  .home-stage-content .home-section { padding: 52px var(--page-gutter); }
  .home-stage-content .page-heading { margin-bottom: 20px; }
  .split-intro, .product-feature, .service-row, .split-content, .detail-grid { grid-template-columns: 1fr; gap: 26px; }
  .split-intro .section-title { max-width: 13ch; }
  .system-list { grid-template-columns: 1fr; }
  .product-feature-visual { min-height: 300px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .product-tile figure { min-height: 170px; }
  .product-tile img { height: 155px; }
  .product-tile h3 { font-size: 16px; }
  .product-tile p { font-size: 12px; line-height: 1.4; }
  .tile-foot { align-items: flex-start; flex-direction: column; gap: 5px; }
  .contact-band { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-block: 40px; }
  .site-footer > :first-child { grid-column: 1 / -1; }
  .copyright { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-stack .full { grid-column: auto; }
  .detail-image { min-height: 300px; }
  .detail-image img { height: 270px; }
  .account-grid { grid-template-columns: 1fr; gap: 22px; }
  .account-nav { grid-template-columns: repeat(2, 1fr); }
  .account-nav a { padding: 10px; font-size: 13px; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table thead { display: none; }
  .data-table tr { padding: 12px 0; border-top: 1px solid var(--line); }
  .data-table td { display: flex; justify-content: space-between; gap: 16px; padding: 5px 8px; border: 0; text-align: right; }
  .data-table td::before { content: attr(data-label); color: var(--muted); text-align: left; }
  .notice { grid-template-columns: auto 1fr; }
  .notice time { grid-column: 2; }
  .statements { grid-template-columns: 1fr; gap: 22px; }
  .service-card { grid-template-columns: 100px 1fr; gap: 14px; }
  .service-card img { height: 100px; }
  .service-card .button { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  body.motion-ready [data-motion] { opacity: 1; transform: none; transition: none; }
}
