:root {
  color-scheme: light;
  --paper: #f7f5f0;
  --surface: #fffdf8;
  --ink: #24231f;
  --muted: #706d66;
  --line: #ded8cc;
  --accent: #a9352a;
  --accent-soft: #f3ddd8;
  --olive: #6f7359;
  --bluegray: #596976;
  --shadow: 0 18px 44px rgba(42, 38, 30, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Noto Sans TC", "Noto Sans JP", "Yu Gothic UI", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(222, 216, 204, 0.88);
  background: rgba(247, 245, 240, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 180px;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav a,
.language-switch a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a[aria-current="page"],
.language-switch a[aria-current="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.language-switch {
  display: inline-flex;
  gap: 4px;
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(44px, 8vw, 96px) clamp(20px, 6vw, 84px) clamp(30px, 6vw, 72px);
}

.hero-copy {
  max-width: 650px;
}

.eyebrow,
.section-label,
.card-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-lead,
.section-lead {
  color: #46433d;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button,
.text-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.hero-visual figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.status-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 clamp(20px, 6vw, 84px) 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.status-strip p {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 13px;
}

.status-strip strong {
  display: block;
  max-width: 880px;
}

.text-link {
  background: var(--accent-soft);
  color: var(--accent);
  white-space: nowrap;
}

.text-link.is-muted {
  background: #eeece6;
  color: var(--muted);
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(20px, 6vw, 84px) 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metric {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  background: var(--surface);
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
}

.content-band {
  padding: clamp(30px, 5vw, 66px) clamp(20px, 6vw, 84px);
  border-top: 1px solid rgba(222, 216, 204, 0.74);
}

.content-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-card:nth-child(3n + 2) {
  border-top-color: var(--olive);
}

.feature-card:nth-child(3n + 3) {
  border-top-color: var(--bluegray);
}

.feature-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.plain-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 20px;
  color: #47443f;
}

.plain-list li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 20px;
  align-items: start;
  padding: 30px clamp(20px, 6vw, 84px);
  border-top: 1px solid var(--line);
  background: #efebe1;
  color: #44413b;
}

.site-footer p,
.site-footer small {
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    justify-self: end;
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--ink);
  }

  .site-nav,
  .language-switch {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .site-nav {
    display: none;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .metrics-row,
  .card-grid,
  .two-column,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .status-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: 38px;
  }

  .site-nav a,
  .language-switch a {
    font-size: 13px;
  }

  .metric {
    min-height: 92px;
  }
}