:root {
  --ink: #1f1a14;
  --muted: #5c463a;
  --paper: #fff9f5;
  --surface: #ffffff;
  --field: #fff7ef;
  --line: #dcc7b3;
  --primary: #9c4500;
  --orange: #ff8c42;
  --yellow: #ffd166;
  --green: #80b069;
  --line-blue: #85a3b3;
  --clay: #9c4500;
  --blue: #496b7c;
  --gold: #d89a24;
  --shadow: 0 20px 60px rgba(156, 69, 0, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "PingFang TC", "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(156, 69, 0, 0.12);
  background:
    linear-gradient(90deg, rgba(255, 209, 102, 0.22), rgba(255, 249, 245, 0.94) 36%, rgba(133, 163, 179, 0.16)),
    rgba(255, 249, 245, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--primary), var(--orange) 58%, var(--yellow));
  color: #fffdf8;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(156, 69, 0, 0.2);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--primary);
  font-size: 20px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  background: rgba(255, 209, 102, 0.5);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(156, 69, 0, 0.08);
}

main {
  min-height: calc(100vh - 180px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(52px, 9vw, 96px) clamp(20px, 5vw, 64px) clamp(36px, 6vw, 64px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 36px);
}

.lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #fffdf8;
}

.button.secondary {
  background: var(--surface);
  color: var(--primary);
}

.hero-media {
  display: grid;
  place-items: center;
  min-height: 360px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.42), rgba(255, 140, 66, 0.2) 44%, rgba(133, 163, 179, 0.25)),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-media img {
  width: min(76%, 430px);
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 30px rgba(31, 35, 32, 0.22));
}

.section,
.page-hero,
.legal,
.support-panel {
  padding-inline: clamp(20px, 5vw, 64px);
}

.section {
  padding-top: 36px;
  padding-bottom: 76px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 22px;
}

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

.info-card,
.support-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 32px rgba(156, 69, 0, 0.07);
}

.info-card {
  min-height: 180px;
  padding: 24px;
  text-decoration: none;
}

.info-card span {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.page-hero.compact {
  padding-top: clamp(48px, 8vw, 84px);
  padding-bottom: 28px;
  background:
    linear-gradient(180deg, rgba(255, 209, 102, 0.24), rgba(255, 249, 245, 0) 72%),
    linear-gradient(90deg, rgba(156, 69, 0, 0.08), rgba(133, 163, 179, 0.12));
  border-bottom: 1px solid rgba(220, 199, 179, 0.55);
}

.page-hero.compact h1 {
  color: var(--primary);
}

.page-hero.compact .lead {
  color: var(--muted);
}

.legal {
  max-width: 960px;
  padding-bottom: 80px;
  margin-top: 12px;
}

.legal-section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  color: var(--primary);
}

.legal-section ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.legal-section li + li {
  margin-top: 8px;
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  margin: 20px clamp(20px, 5vw, 64px) 80px;
  padding: clamp(24px, 5vw, 42px);
}

.email-link {
  color: var(--primary);
  display: inline-block;
  max-width: 100%;
  font-size: clamp(24px, 3.1vw, 38px);
  font-weight: 900;
  line-height: 1.08;
  white-space: nowrap;
}

.support-note ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 247, 239, 0.72);
}

.site-footer p {
  margin: 0;
}

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

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .link-grid,
  .support-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-media {
    min-height: 280px;
  }
}

@media (max-width: 520px) {
  .site-nav a {
    padding-inline: 8px;
  }

  h1 {
    font-size: 42px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .email-link {
    font-size: clamp(22px, 7.2vw, 32px);
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
