:root {
  color: #111;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Noto Sans SC", "PingFang HK", "PingFang TC", "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  --ink: #111;
  --muted: #555;
  --soft: #f7f3ef;
  --line: #e8e8e8;
  --accent: #d64d3d;
  --accent-dark: #a83328;
  --sage: #5f7b6f;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.site-header,
.site-footer {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 82px;
  padding-top: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 118px;
  height: auto;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.document-nav,
.language-switcher {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}

.document-nav a,
.language-switcher a {
  color: var(--muted);
}

.document-nav a[aria-current="page"],
.language-switcher span {
  color: var(--ink);
  font-weight: 600;
}

.language-switcher {
  border-left: 1px solid #dedede;
  padding-left: 18px;
}

.hero {
  position: relative;
  min-height: max(580px, calc(84svh - 82px));
  overflow: hidden;
  isolation: isolate;
  background: #eee7df;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 31%, rgba(255, 255, 255, 0.36) 55%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.78) 100%);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  animation: heroImage 1200ms ease-out both;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: min(100%, var(--max));
  min-height: max(580px, calc(84svh - 82px));
  margin: 0 auto;
  padding: 56px 20px 92px;
}

.hero__content {
  width: 100%;
  max-width: 560px;
  min-width: 0;
  animation: fadeUp 560ms ease-out both;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 66px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 520px;
  margin: 24px 0 0;
  color: #333;
  font-size: 20px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  color: #fff;
  background: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--accent);
}

.text-link {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.hero__note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: break-word;
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 86px 20px;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section--soft {
  width: 100%;
  max-width: none;
  background: var(--soft);
}

.section__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.section h2,
.section--soft h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.14;
  letter-spacing: 0;
}

.section__lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: #333;
  font-size: 19px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 54px;
}

.value-item {
  padding-top: 22px;
  border-top: 1px solid #d8d2cc;
  transition: transform 180ms ease, border-color 180ms ease;
}

.value-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.value-item h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.25;
}

.value-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.proof-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 44px;
  margin-top: 48px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.proof-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.proof-list strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.proof-list span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 15px;
}

.proof-list .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #cfc7be;
  border-radius: 50%;
  color: var(--accent-dark);
  font-weight: 800;
}

.statement {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

.statement__body p {
  margin: 0 0 18px;
  color: #333;
  font-size: 19px;
}

.statement__body p:last-child {
  margin-bottom: 0;
}

.final {
  padding-top: 90px;
  padding-bottom: 96px;
  text-align: left;
}

.final h2 {
  max-width: 840px;
}

.final .button {
  margin-top: 32px;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding-top: 22px;
  padding-bottom: 34px;
}

.site-footer p {
  margin: 0 0 4px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  font-size: 14px;
}

.reveal {
  animation: fadeUp 560ms ease-out both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImage {
  from {
    transform: scale(1.025);
  }
  to {
    transform: scale(1);
  }
}

@supports (animation-timeline: view()) {
  .reveal {
    animation-timeline: view();
    animation-range: entry 12% cover 34%;
  }
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 50px;
  }

  .hero__lead,
  .section__lead,
  .statement__body p {
    font-size: 18px;
  }

  .section h2,
  .section--soft h2 {
    font-size: 34px;
  }

  .value-grid,
  .proof-list,
  .statement {
    grid-template-columns: 1fr;
  }

  .statement {
    gap: 26px;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
  }

  .document-nav,
  .language-switcher {
    gap: 12px;
  }

  .language-switcher {
    border-left: 0;
    padding-left: 0;
  }

  .hero {
    min-height: 500px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 43%, rgba(255, 255, 255, 0.3) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0));
  }

  .hero__image {
    height: 52%;
    top: auto;
    object-position: 60% center;
  }

  .hero__inner {
    align-items: flex-start;
    min-height: 500px;
    padding-top: 54px;
    padding-bottom: 60px;
  }

  .hero__content,
  .hero__lead,
  .hero__note {
    max-width: calc(100vw - 40px);
  }

  .hero__content {
    width: 350px;
  }

  .hero__lead,
  .hero__note {
    width: 330px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.08;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .section {
    padding-top: 62px;
    padding-bottom: 64px;
  }

  .section h2,
  .section--soft h2 {
    font-size: 30px;
  }

  .value-grid,
  .proof-list {
    margin-top: 36px;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
