:root {
  color: #1b1f23;
  background: #f7f8f5;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  background: rgba(247, 248, 245, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #ffffff;
  background: #22594b;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: #56615c;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a:hover {
  color: #1b1f23;
  background: #e9ede7;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 48px 0 78px;
}

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

.eyebrow {
  margin-bottom: 12px;
  color: #22594b;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 22px;
  color: #171b1a;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: #171b1a;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: #1f2724;
  font-size: 1.08rem;
}

p,
li {
  color: #56615c;
  line-height: 1.75;
}

.hero-text {
  margin-bottom: 28px;
  font-size: 1.12rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #ffffff;
  background: #22594b;
}

.button.primary:hover {
  background: #183f36;
}

.button.secondary {
  color: #22594b;
  border: 1px solid #b9c5bf;
  background: #ffffff;
}

.button.secondary:hover {
  border-color: #7f968b;
}

.profile-panel {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid #dce3dc;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(35, 47, 41, 0.1);
}

.profile-panel div {
  padding: 18px;
  border: 1px solid #e4e9e4;
  border-radius: 8px;
  background: #fbfcfa;
}

.profile-panel span {
  display: block;
  margin-bottom: 6px;
  color: #6c7872;
  font-size: 0.85rem;
  font-weight: 750;
}

.profile-panel strong {
  color: #1c2622;
  font-size: 1.08rem;
}

.section {
  padding: 84px 0;
  border-top: 1px solid #dce3dc;
}

.section-heading {
  max-width: 660px;
}

.wide-text {
  max-width: 820px;
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.card {
  min-height: 180px;
  padding: 22px;
  border: 1px solid #dce3dc;
  border-radius: 8px;
  background: #ffffff;
}

.card p {
  margin-bottom: 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
}

.note-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.note-list li {
  padding: 16px 18px;
  border: 1px solid #dce3dc;
  border-radius: 8px;
  background: #ffffff;
  color: #2d3632;
  font-weight: 750;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 24px 0 72px;
  padding: 38px;
  border-radius: 8px;
  color: #ffffff;
  background: #17211d;
}

.contact-band h2,
.contact-band p {
  color: #ffffff;
}

.contact-band p {
  max-width: 680px;
  margin-bottom: 0;
  color: #d2ddd7;
}

.site-footer {
  padding: 24px 0 40px;
  border-top: 1px solid #dce3dc;
}

.site-footer p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .hero,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    min-height: auto;
    padding-top: 34px;
  }

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

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  h1 {
    font-size: 3.1rem;
  }

  .profile-panel,
  .contact-band {
    padding: 24px;
  }
}
