:root {
  --paper: #f5f0e7;
  --paper-light: #fbf8f1;
  --ink: #24312d;
  --muted: #69736e;
  --line: rgba(36, 49, 45, 0.16);
  --green: #2f7563;
  --green-soft: #dcebe3;
  --coral: #c86652;
  --coral-soft: #f3dfd8;
  --gold: #b28a3d;
  --gold-soft: #eee3c9;
  --shadow: 0 24px 60px rgba(51, 59, 51, 0.08);
  --display: "Iowan Old Style", "Baskerville", "Songti SC", "STSong", serif;
  --body: "Avenir Next", "Avenir", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(220, 235, 227, 0.88), transparent 26rem),
    radial-gradient(circle at 92% 36%, rgba(243, 223, 216, 0.7), transparent 28rem),
    var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.72;
}

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--coral);
}

.paper-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
}

.site-header {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 700;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
}

.brand-mark span {
  position: absolute;
  border: 1.6px solid var(--green);
  border-radius: 50%;
}

.brand-mark span:first-child {
  inset: 0 8px 8px 0;
}

.brand-mark span:last-child {
  inset: 8px 0 0 8px;
  border-color: var(--coral);
}

nav {
  display: flex;
  gap: 26px;
}

nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--green);
  transition: right 180ms ease;
}

nav a:hover,
nav a.active {
  color: var(--ink);
}

nav a:hover::after,
nav a.active::after {
  right: 0;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 560px;
  padding: 110px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 780px);
  align-content: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: 5%;
  top: 22%;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(47, 117, 99, 0.22);
  border-radius: 50%;
  box-shadow:
    58px 52px 0 -1px var(--paper),
    58px 52px 0 0 rgba(200, 102, 82, 0.24);
  animation: drift 9s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.45rem, 8vw, 7.15rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.93;
}

.lede {
  max-width: 620px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-meta {
  display: flex;
  gap: 11px;
  margin-top: 31px;
  color: var(--muted);
  font-size: 0.85rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 130px;
}

.summary-card {
  min-height: 305px;
  padding: 28px;
  border: 1px solid rgba(36, 49, 45, 0.07);
  border-radius: 3px 28px 28px 28px;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.summary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 70px rgba(51, 59, 51, 0.11);
}

.accent-green { background: var(--green-soft); }
.accent-coral { background: var(--coral-soft); }
.accent-gold { background: var(--gold-soft); }

.card-number {
  display: block;
  margin-bottom: 74px;
  color: rgba(36, 49, 45, 0.48);
  font-family: var(--display);
  font-size: 0.92rem;
  font-style: italic;
}

.summary-card h2 {
  margin: 0 0 11px;
  font-family: var(--display);
  font-size: 1.72rem;
  font-weight: 600;
  line-height: 1.1;
}

.summary-card p {
  margin: 0;
  color: #4c5954;
  font-size: 0.94rem;
  line-height: 1.58;
}

.policy {
  width: min(840px, 100%);
  margin: 0 auto;
  padding: 76px clamp(24px, 7vw, 88px) 88px;
  background: rgba(251, 248, 241, 0.82);
  border: 1px solid rgba(36, 49, 45, 0.08);
  border-radius: 4px 48px 4px 48px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.policy-heading {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.policy-heading h2,
.contact-panel h2,
.chinese-support h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.policy section {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  column-gap: 36px;
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
}

.policy section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.policy h3 {
  margin: 2px 0 0;
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.3;
}

.policy section > p,
.policy section > ul {
  grid-column: 2;
}

.policy p {
  margin: 0 0 15px;
  color: #4e5955;
}

.policy p:last-child {
  margin-bottom: 0;
}

.policy ul {
  margin: 0;
  padding-left: 1.2em;
  color: #4e5955;
}

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

.support-email {
  overflow-wrap: anywhere;
}

.language-divider {
  width: min(600px, 80%);
  margin: 105px auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-divider > span:not(.divider-mark) {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.divider-mark {
  width: 14px;
  height: 14px;
  border: 1px solid var(--coral);
  border-radius: 50%;
  box-shadow: 10px 8px 0 -1px var(--paper), 10px 8px 0 0 var(--green);
}

.policy-zh {
  margin-bottom: 120px;
}

.support-hero {
  min-height: 620px;
}

.contact-button {
  width: fit-content;
  margin-top: 36px;
  padding: 14px 18px 14px 22px;
  display: inline-flex;
  gap: 42px;
  align-items: center;
  color: var(--paper-light);
  background: var(--ink);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.contact-button:hover {
  color: white;
  background: var(--green);
  transform: translateY(-2px);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 110px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px 40px 4px 40px;
}

.support-grid article {
  min-height: 300px;
  padding: 38px;
  background: rgba(251, 248, 241, 0.88);
}

.support-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 55px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 1.45rem;
}

.support-grid article:nth-child(3n + 2) .support-icon {
  color: var(--coral);
  background: var(--coral-soft);
}

.support-grid article:nth-child(3n) .support-icon {
  color: var(--gold);
  background: var(--gold-soft);
}

.support-grid h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1.1;
}

.support-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-panel {
  padding: clamp(34px, 7vw, 76px);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 40px;
  color: var(--paper-light);
  background: var(--ink);
  border-radius: 38px 4px 38px 4px;
}

.contact-panel .eyebrow {
  color: #9bc7b9;
}

.contact-panel p:not(.eyebrow) {
  max-width: 600px;
  margin: 25px 0 0;
  color: #bdc7c2;
}

.contact-panel > a {
  padding-bottom: 5px;
  color: #f1cbbf;
  font-family: var(--display);
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  text-align: right;
  overflow-wrap: anywhere;
}

.chinese-support {
  margin: 28px 0 120px;
  padding: clamp(34px, 6vw, 62px);
  background: var(--gold-soft);
  border-radius: 4px 32px 4px 32px;
}

.chinese-support h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.chinese-support p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  color: #5f5a4c;
}

footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

footer p {
  margin: 0;
}

footer div {
  display: flex;
  gap: 20px;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50% { transform: translate(-14px, 10px) rotate(3deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::after { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

@media (max-width: 840px) {
  .hero {
    min-height: 520px;
    padding-top: 86px;
  }

  .hero::after {
    width: 110px;
    height: 110px;
    right: 6%;
    top: 12%;
    opacity: 0.7;
  }

  .summary-grid {
    grid-template-columns: 1fr;
    margin-bottom: 88px;
  }

  .summary-card {
    min-height: 230px;
  }

  .card-number {
    margin-bottom: 38px;
  }

  .policy section {
    grid-template-columns: 1fr;
  }

  .policy section > p,
  .policy section > ul {
    grid-column: 1;
  }

  .policy h3 {
    margin-bottom: 14px;
  }

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

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel > a {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding: 20px 0;
  }

  nav {
    gap: 17px;
  }

  .hero {
    min-height: 500px;
    padding: 68px 0 62px;
  }

  .hero::after {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.7rem);
  }

  .hero-meta {
    flex-wrap: wrap;
  }

  .summary-card,
  .support-grid article {
    padding: 26px;
  }

  .policy {
    padding: 48px 21px 58px;
    border-radius: 3px 28px 3px 28px;
  }

  .language-divider {
    margin: 76px auto;
  }

  .support-grid article {
    min-height: 260px;
  }

  .support-icon {
    margin-bottom: 35px;
  }

  footer {
    flex-direction: column;
  }
}
