:root {
  --paper: #f9efd8;
  --paper-warm: #f3dfbc;
  --paper-deep: #dfbe8d;
  --ink: #2f2116;
  --ink-soft: #705842;
  --ink-faint: #9a7d5e;
  --line: rgba(118, 76, 35, 0.14);
  --line-strong: rgba(118, 76, 35, 0.24);
  --gold: #d8a95f;
  --gold-soft: #f4dcae;
  --caramel: #a36835;
  --caramel-deep: #74421f;
  --cream: rgba(255, 249, 237, 0.88);
  --cream-strong: rgba(255, 253, 246, 0.97);
  --shadow: 0 28px 76px rgba(93, 53, 21, 0.16);
  --shadow-soft: 0 16px 44px rgba(93, 53, 21, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "LXGW WenKai TC", "Nunito Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 244, 215, 0.92), transparent 24rem),
    radial-gradient(circle at 86% 9%, rgba(222, 166, 91, 0.3), transparent 24rem),
    radial-gradient(circle at 72% 68%, rgba(255, 222, 165, 0.3), transparent 28rem),
    linear-gradient(145deg, #fff8eb 0%, var(--paper) 42%, #ead2aa 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(118, 76, 35, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 76, 35, 0.04) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 22px auto 44px;
  position: relative;
}

.ambient {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.75;
}

.ambient-a {
  top: 72px;
  left: 4vw;
  width: 280px;
  height: 280px;
  background: rgba(255, 225, 171, 0.46);
}

.ambient-b {
  top: 120px;
  right: 6vw;
  width: 230px;
  height: 230px;
  background: rgba(212, 143, 73, 0.28);
}

.ambient-c {
  bottom: 90px;
  right: 22vw;
  width: 260px;
  height: 260px;
  background: rgba(255, 239, 198, 0.56);
}

.glass,
.glass-soft {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.glass {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.94), rgba(248, 228, 192, 0.76)),
    var(--cream);
  box-shadow: var(--shadow);
}

.glass-soft {
  border: 1px solid rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.9), rgba(244, 218, 176, 0.66)),
    rgba(255, 250, 240, 0.68);
  box-shadow: var(--shadow-soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 34px;
  padding: clamp(24px, 4vw, 46px);
  border-radius: 34px;
}

.hero-copy {
  align-self: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(216, 169, 95, 0.34);
  background: rgba(255, 236, 199, 0.66);
  color: var(--caramel-deep);
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
.footer strong {
  margin: 0;
  font-family: "Noto Serif TC", "LXGW WenKai TC", serif;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 {
  margin-top: 16px;
  max-width: 12ch;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  line-height: 1.06;
  text-wrap: balance;
}

.lead {
  max-width: 42rem;
  margin: 18px 0 0;
  font-size: 1.03rem;
  line-height: 1.95;
  color: var(--ink-soft);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.7);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-button {
  color: #fffaf0;
  background: linear-gradient(135deg, var(--caramel-deep) 0%, var(--caramel) 46%, var(--gold) 100%);
  box-shadow: 0 14px 32px rgba(133, 79, 33, 0.26);
}

.secondary-button {
  color: var(--ink);
  background: rgba(255, 252, 245, 0.74);
  border: 1px solid var(--line);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.icon-frame {
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 34px);
  border-radius: 38px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 254, 244, 0.96), transparent 34%),
    radial-gradient(circle at 80% 70%, rgba(214, 151, 75, 0.2), transparent 34%),
    linear-gradient(160deg, rgba(255, 242, 210, 0.88), rgba(231, 188, 125, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    0 28px 60px rgba(136, 82, 34, 0.16);
}

.icon-frame img {
  display: block;
  width: min(100%, 310px);
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(118, 72, 31, 0.2);
}

.hero-note {
  padding: 18px 20px;
  border-radius: 24px;
}

.hero-note strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Noto Serif TC", serif;
  font-size: 1.02rem;
}

.hero-note p,
.support-card p,
.highlight-card p,
.policy-card p,
.policy-card li,
.contact-box p,
.footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.92;
}

.layout {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.panel,
.side-nav,
.footer {
  padding: clamp(22px, 3vw, 32px);
  border-radius: 28px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin-top: 11px;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  line-height: 1.18;
}

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

.support-card,
.highlight-card,
.contact-box {
  padding: 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.86), rgba(248, 226, 190, 0.48)),
    rgba(255, 250, 240, 0.54);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.62);
}

.support-card h3,
.highlight-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.privacy-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
}

.side-nav {
  position: sticky;
  top: 18px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-nav strong {
  font-family: "Noto Serif TC", serif;
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.side-nav a {
  color: var(--ink-faint);
  font-size: 0.93rem;
  line-height: 1.56;
}

.side-nav a:hover {
  color: var(--caramel-deep);
}

.policy-date {
  margin-top: 12px;
  color: var(--ink-faint);
  font-size: 0.92rem;
}

.policy-card {
  background:
    linear-gradient(90deg, rgba(216, 169, 95, 0.07) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 253, 248, 0.97), rgba(250, 232, 202, 0.84));
  background-size: 100% 100%, 100% 100%;
}

.policy-card section + section {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.policy-card h3 {
  margin-bottom: 10px;
  font-size: 1.34rem;
}

.policy-card h4 {
  margin: 19px 0 8px;
  font-size: 1.02rem;
}

.policy-card ul {
  margin: 0;
  padding-left: 22px;
}

.policy-card li + li {
  margin-top: 6px;
}

.contact-box {
  border-color: rgba(216, 169, 95, 0.3);
  background:
    linear-gradient(135deg, rgba(255, 236, 199, 0.78), rgba(255, 250, 240, 0.72)),
    rgba(255, 250, 240, 0.64);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero,
  .privacy-shell {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: static;
  }

  h1 {
    max-width: 13ch;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 18px, 1120px);
    margin: 12px auto 28px;
  }

  .hero,
  .panel,
  .side-nav,
  .footer {
    padding: 20px;
    border-radius: 24px;
  }

  h1 {
    max-width: none;
    font-size: 2rem;
  }

  .section-heading h2,
  .policy-card h3,
  .support-card h3,
  .highlight-card h3 {
    font-size: 1.22rem;
  }

  .lead,
  .hero-note p,
  .support-card p,
  .highlight-card p,
  .policy-card p,
  .policy-card li,
  .contact-box p,
  .footer p {
    font-size: 0.94rem;
    line-height: 1.86;
  }

  .support-grid,
  .highlight-grid {
    grid-template-columns: 1fr;
  }

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

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 245, 0.72);
}

.faq-list summary {
  cursor: pointer;
  font-family: "Noto Serif TC", serif;
  font-weight: 600;
  line-height: 1.6;
}

.faq-list details p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.92;
}

#terms section + section {
  margin-top: 22px;
}
