:root {
  --green: #143c2d;
  --green-deep: #0d2b20;
  --orange: #da8134;
  --orange-dark: #b96524;
  --white: #ffffff;
  --paper: #f7f1e3;
  --paper-deep: #ece2cc;
  --gold: #c9a963;
  --ink: #18251f;
  --muted: #626d65;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 8% 10%, rgba(218, 129, 52, 0.11), transparent 22rem),
    linear-gradient(180deg, #fcfaf4 0%, var(--paper) 58%, #efe5d2 100%);
  color: var(--ink);
  font-family:
    "PingFang HK", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei",
    system-ui, sans-serif;
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.wishTopbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 76rem;
  padding: 22px 24px;
}

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

.wishBrand img {
  display: block;
  height: 58px;
  width: 58px;
}

.wishBrand span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wishBrand strong,
.wishBrand small {
  color: var(--green);
}

.wishBrand strong {
  font-family: "Songti TC", "Noto Serif TC", "PMingLiU", serif;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
}

.wishBrand small {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.returnLink {
  border: 1px solid rgba(20, 60, 45, 0.35);
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 750;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
}

main {
  margin: 0 auto;
  max-width: 76rem;
  padding: 12px 24px 72px;
}

.wishHero {
  padding: clamp(54px, 9vw, 112px) clamp(12px, 5vw, 64px) 72px;
  text-align: center;
}

.wishHero > p:first-child,
.cardHeading p,
.transparencyNote p {
  color: var(--orange-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0 0 14px;
}

.wishHero h1 {
  color: var(--green);
  font-family: "Songti TC", "Noto Serif TC", "PMingLiU", serif;
  font-size: clamp(2.3rem, 7vw, 5.2rem);
  font-weight: 650;
  letter-spacing: 0.06em;
  line-height: 1.16;
  margin: 0 auto;
  max-width: 58rem;
}

.heroRule {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 36px auto 26px;
  width: min(26rem, 78%);
}

.heroRule::before,
.heroRule::after {
  background: var(--gold);
  content: "";
  height: 1px;
  width: 50%;
}

.heroRule span {
  border: 1px solid var(--orange);
  height: 9px;
  margin: 0 15px;
  transform: rotate(45deg);
  width: 9px;
}

.wishHeroIntro {
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: 1.85;
  margin: 0 auto;
  max-width: 48rem;
}

.wishSupportGrid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.featureWishCard,
.founderSupportCard {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(201, 169, 99, 0.72);
  box-shadow: 0 22px 65px rgba(8, 31, 22, 0.09);
  padding: clamp(26px, 4vw, 46px);
}

.founderSupportCard {
  background: var(--green);
  color: var(--white);
}

.cardHeading {
  align-items: center;
  display: flex;
  gap: 16px;
}

.cardHeading > span {
  align-items: center;
  border: 1px solid var(--gold);
  color: var(--orange-dark);
  display: flex;
  flex: 0 0 56px;
  font-family: "Songti TC", "Noto Serif TC", serif;
  font-size: 1.4rem;
  height: 56px;
  justify-content: center;
}

.founderSupportCard .cardHeading > span,
.founderSupportCard .cardHeading p {
  color: var(--gold);
}

.cardHeading p {
  margin-bottom: 6px;
}

.cardHeading h2 {
  color: var(--green);
  font-family: "Songti TC", "Noto Serif TC", serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 650;
  letter-spacing: 0.05em;
  margin: 0;
}

.founderSupportCard .cardHeading h2 {
  color: var(--white);
}

.cardIntro {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin: 24px 0 28px;
}

.founderSupportCard .cardIntro {
  color: rgba(255, 255, 255, 0.78);
}

#wish-form label {
  color: var(--green);
  display: block;
  font-size: 1.03rem;
  font-weight: 800;
  margin-bottom: 10px;
}

#feature-wish {
  background: var(--paper);
  border: 1px solid rgba(20, 60, 45, 0.32);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 190px;
  padding: 16px;
  resize: vertical;
  width: 100%;
}

#feature-wish::placeholder {
  color: #747d76;
}

.textareaMeta {
  color: var(--muted);
  display: flex;
  font-size: 0.78rem;
  justify-content: flex-end;
  margin-top: 6px;
}

.privacyNote,
.supportBoundary {
  font-size: 0.84rem;
  line-height: 1.75;
}

.privacyNote {
  color: var(--muted);
  margin: 20px 0;
}

#wish-form button,
.downloadPayme,
.threadsDmLink {
  align-items: center;
  border: 1px solid #f0ac68;
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  font-weight: 800;
  justify-content: center;
  min-height: 56px;
  padding: 14px 20px;
  text-decoration: none;
  width: 100%;
}

#wish-form button {
  background: var(--orange);
  color: var(--white);
}

#wish-form button:hover {
  background: #e28b3f;
}

.wishStatus {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.6;
  min-height: 1.6em;
  text-align: center;
}

.threadsDmLink {
  background: var(--green);
  color: var(--white);
}

.threadsDmLink:hover {
  background: var(--green-deep);
}

.threadsHelp {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 12px 0 0;
  text-align: center;
}

.threadsHelp strong {
  color: var(--green);
  overflow-wrap: anywhere;
}

.paymeFigure {
  background: var(--white);
  margin: 0;
  padding: 12px;
}

.paymeFigure a,
.paymeFigure img {
  display: block;
}

.paymeFigure img {
  height: auto;
  width: 100%;
}

.paymeFigure figcaption {
  color: var(--green-deep);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.6;
  padding: 12px 8px 5px;
  text-align: center;
}

.paymeSteps {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
  line-height: 1.75;
  margin: 24px 0;
  padding-left: 1.4rem;
}

.downloadPayme {
  background: var(--orange);
  color: var(--white);
}

.supportBoundary {
  border-top: 1px solid rgba(201, 169, 99, 0.42);
  color: rgba(255, 255, 255, 0.72);
  margin: 24px 0 0;
  padding-top: 20px;
}

.transparencyNote {
  align-items: center;
  background: var(--orange);
  color: var(--white);
  display: flex;
  gap: 24px;
  margin-top: 22px;
  padding: 32px clamp(24px, 5vw, 54px);
}

.transparencyNote > span {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  display: flex;
  flex: 0 0 56px;
  font-family: "Songti TC", serif;
  font-size: 1.4rem;
  height: 56px;
  justify-content: center;
}

.transparencyNote p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 7px;
}

.transparencyNote h2 {
  font-family: "Songti TC", "Noto Serif TC", serif;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

footer {
  align-items: center;
  border-top: 1px solid rgba(20, 60, 45, 0.14);
  color: var(--green);
  display: flex;
  font-size: 0.86rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 76rem;
  padding: 32px 24px 54px;
}

footer a {
  font-weight: 750;
  text-underline-offset: 4px;
}

footer p {
  font-family: "Songti TC", serif;
  letter-spacing: 0.12em;
}

@media (max-width: 780px) {
  .wishTopbar {
    padding: 16px;
  }

  .wishBrand img {
    height: 46px;
    width: 46px;
  }

  .wishBrand strong {
    font-size: 1.14rem;
  }

  .wishBrand small {
    font-size: 0.62rem;
  }

  .returnLink {
    font-size: 0.82rem;
    min-height: 44px;
    padding: 11px 13px;
  }

  main {
    padding: 0 0 48px;
  }

  .wishHero {
    padding: 62px 22px 52px;
  }

  .wishHero h1 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .wishSupportGrid {
    gap: 0;
    grid-template-columns: 1fr;
  }

  .featureWishCard,
  .founderSupportCard {
    border-left: 0;
    border-right: 0;
    padding: 32px 22px 38px;
  }

  .paymeFigure {
    margin-left: auto;
    margin-right: auto;
    max-width: 32rem;
  }

  .transparencyNote {
    align-items: flex-start;
    margin-top: 0;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 30px 22px 50px;
  }

  footer p {
    order: -1;
  }
}

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