:root {
  --bg: #f7f5f0;
  --text: #242424;
  --muted: #6f6f68;
  --brand: #5f7f55;
  --brand-dark: #4a6342;
  --border: #e8e4dc;
  --card: #fdfcf9;
  --max-width: 42rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    'PingFang TC',
    'Noto Sans TC',
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  max-width: calc(var(--max-width) + 3rem);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--text);
}

.site-logo:hover {
  text-decoration: none;
  color: var(--text);
}

.site-logo img {
  width: 2rem;
  height: auto;
  display: block;
}

.site-logo span {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--brand-dark);
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
}

.lang-toggle button {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.02em;
}

.lang-toggle button.is-active {
  background: var(--brand);
  color: #fff;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}

.hero {
  margin-bottom: 3rem;
  padding-top: 0.5rem;
}

.hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 0 0 1rem;
}

.hero .lead {
  font-size: 1.0625rem;
  color: var(--muted);
  margin: 0;
  max-width: 36rem;
  line-height: 1.7;
}

.section {
  margin-bottom: 2.75rem;
}

.section h2 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.875rem;
}

.section-note {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: -0.5rem 0 0.875rem;
}

.section-body {
  color: var(--muted);
  font-size: 0.975rem;
  margin: 0 0 1rem;
  line-height: 1.7;
}

.contact-email {
  display: inline-block;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--brand);
  word-break: break-all;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.125rem 0;
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  position: relative;
  padding-right: 1.5rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 1.125rem;
  color: var(--muted);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item .faq-answer {
  padding: 0 0 1.125rem;
  margin: 0;
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.7;
}

.privacy-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.privacy-card p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
}

.text-link:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.site-footer {
  max-width: calc(var(--max-width) + 3rem);
  margin: 0 auto;
  padding: 2rem 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.policy-main {
  max-width: var(--max-width);
}

.policy-doc-title {
  font-size: clamp(1.5rem, 4.5vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.policy-updated {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.policy-body {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.policy-section {
  margin-top: 2rem;
}

.policy-section:first-child {
  margin-top: 0;
}

.policy-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin: 0 0 0.625rem;
}

.policy-subsection {
  margin-top: 0.75rem;
}

.policy-subsection-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin: 0 0 0.5rem;
}

.policy-paragraph,
.policy-lead {
  margin: 0 0 0.625rem;
  line-height: 1.7;
}

.policy-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding-left: 0.25rem;
  margin-bottom: 0.375rem;
}

.policy-bullet-mark {
  flex-shrink: 0;
  width: 0.75rem;
  line-height: 1.7;
}

.policy-email {
  margin: 0.5rem 0 0.625rem;
  font-weight: 500;
}

.policy-email a {
  color: var(--brand);
  text-decoration: none;
}

.policy-email a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .site-header {
    padding: 1rem 1.25rem;
  }

  .site-nav {
    gap: 0.875rem;
  }

  main {
    padding: 1rem 1.25rem 3rem;
  }

  .hero {
    margin-bottom: 2.25rem;
  }
}
