:root {
  --ink: #152239;
  --muted: #5f6c7d;
  --night: #071326;
  --night-soft: #102541;
  --accent: #e4ad63;
  --accent-dark: #9b6632;
  --paper: #f6f0e7;
  --paper-soft: #fbf8f2;
  --line: rgba(21, 34, 57, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper-soft);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Noto Sans TC",
    "PingFang TC", "Microsoft JhengHei", sans-serif;
  text-rendering: optimizeLegibility;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(1080px, calc(100% - 40px));
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: rgba(7, 19, 38, 0.78);
  box-shadow: 0 18px 50px rgba(3, 11, 23, 0.22);
  color: white;
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
  letter-spacing: 0.03em;
}

.brand-icon,
.footer-brand img {
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

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

nav a {
  padding: 10px 14px;
  border-radius: 13px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 650;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  place-items: center;
  overflow: hidden;
  background: var(--night);
  color: white;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(4, 15, 30, 0.3);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(800px, calc(100% - 40px));
  padding-top: 70px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.85;
}

.primary-action {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 14px 32px rgba(1, 8, 18, 0.2);
  color: var(--night);
  font-weight: 750;
}

.primary-action svg,
.contact-icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.primary-action:hover,
.primary-action:focus-visible {
  transform: translateY(-2px);
  outline: 3px solid rgba(228, 173, 99, 0.48);
  outline-offset: 3px;
}

.section {
  padding: 112px max(24px, calc((100vw - 1120px) / 2));
}

.support-section {
  background: var(--paper-soft);
}

.privacy-section {
  background: var(--paper);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 5vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.8;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.82fr) minmax(0, 1.6fr);
  gap: 24px;
  align-items: start;
}

.contact-card {
  position: sticky;
  top: 106px;
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: var(--night-soft);
  box-shadow: 0 20px 52px rgba(12, 29, 51, 0.15);
  color: white;
}

.contact-card:hover,
.contact-card:focus-visible {
  outline: 3px solid rgba(228, 173, 99, 0.48);
  outline-offset: 3px;
}

.contact-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 14px;
  background: rgba(228, 173, 99, 0.14);
  color: var(--accent);
}

.contact-card small,
.contact-card em {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  font-style: normal;
}

.contact-card strong {
  display: block;
  margin: 5px 0 10px;
  overflow-wrap: anywhere;
  font-size: 0.98rem;
}

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

.support-grid article,
.privacy-grid article,
.policy-note {
  border: 1px solid var(--line);
  border-radius: 22px;
}

.support-grid article {
  min-height: 190px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.58);
}

.support-grid h3,
.privacy-grid h3,
.policy-note h3 {
  margin-bottom: 11px;
  font-size: 1.1rem;
}

.support-grid p,
.privacy-grid p,
.policy-note p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.privacy-intro {
  max-width: 920px;
  margin: -16px 0 34px;
  padding-left: 22px;
  border-left: 3px solid var(--accent-dark);
}

.privacy-intro p {
  color: #344157;
  font-family: "Iowan Old Style", "Songti TC", "Noto Serif TC", serif;
  font-size: clamp(1.2rem, 2.3vw, 1.65rem);
  line-height: 1.65;
}

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

.privacy-grid article {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.36);
}

.number {
  color: var(--accent-dark);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.policy-note {
  margin-top: 16px;
  padding: 28px;
  background: #fffaf1;
}

.policy-note a {
  margin-left: 0.35em;
  color: #744719;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  padding: 28px max(24px, calc((100vw - 1120px) / 2));
  background: var(--night);
  color: rgba(255, 255, 255, 0.68);
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 780px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 58px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

  nav a {
    padding: 9px 10px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    padding-top: 46px;
  }

  .section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

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

  .contact-card {
    position: static;
  }
}

@media (max-width: 540px) {
  .brand {
    gap: 8px;
    font-size: 0.92rem;
  }

  nav {
    gap: 0;
  }

  nav a {
    font-size: 0.85rem;
  }

  h1 {
    font-size: 3.35rem;
  }

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

  .support-grid article {
    min-height: 0;
  }

  .privacy-grid article {
    padding: 24px 20px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .primary-action,
  nav a {
    transition: color 160ms ease, background-color 160ms ease,
      transform 160ms ease, outline-color 160ms ease;
  }
}
