@font-face {
  font-family: "Instrument Serif";
  src: url("./InstrumentSerif-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "CiTY Song";
  src: url("./CiTY-Song-Headings.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #111;
  --muted: #666;
  --line: #ccc;
  --gutter: clamp(24px, 5vw, 88px);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 1px solid var(--ink); outline-offset: 6px; }
button, input, textarea, select { font: inherit; border-radius: 0; }
.page { max-width: 1728px; margin: 0 auto; padding: 0 var(--gutter) 64px; }
.skip-link { position: fixed; left: 16px; top: 16px; padding: 12px; background: #fff; transform: translateY(-160%); z-index: 2; }
.skip-link:focus { transform: none; }
.masthead { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding: 32px 0 24px; border-bottom: 1px solid var(--ink); }
.wordmark { font-family: "Instrument Serif", "Times New Roman", serif; font-size: clamp(96px, 10vw, 160px); font-weight: 400; line-height: .78; letter-spacing: -.055em; padding-right: .055em; }
.wordmark:hover { text-decoration: none; }
nav { display: flex; align-items: center; gap: 32px; padding-bottom: 4px; }
nav a { font-size: 12px; line-height: 24px; padding: 10px 0; white-space: nowrap; }
nav a[aria-current="page"] { text-decoration: underline; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin: 80px 0 88px; }
h1 { font-family: "CiTY Song", "Songti SC", SimSun, serif; font-weight: 400; font-size: clamp(52px, 6.7vw, 100px); line-height: 1.15; letter-spacing: -.035em; margin: 0; }
.edition { font-size: 11px; color: var(--muted); line-height: 1.8; margin: 0 0 4px; text-align: right; font-variant-numeric: tabular-nums; }
.contact-link { font-size: 14px; padding: 12px 0; overflow-wrap: anywhere; }
.policy-body { max-width: 1120px; }
.policy-section { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; margin-bottom: 64px; }
h2 { font-size: 16px; font-weight: 500; line-height: 1.7; margin: 0; }
.prose { max-width: 680px; }
.prose p { margin: 0 0 20px; font-size: 15px; font-weight: 400; line-height: 1.95; text-align: justify; overflow-wrap: anywhere; }
.prose p:last-child { margin-bottom: 0; }
.prose a { text-decoration: underline; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 9vw, 152px); }
.support-section h2 { margin-bottom: 36px; }
.row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; row-gap: 32px; }
.full { grid-column: 1 / -1; }
label { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; margin-bottom: 6px; }
input, textarea, select { display: block; width: 100%; min-width: 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; font-size: 16px; line-height: 1.5; }
input, select { min-height: 44px; }
textarea { min-height: 112px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 0; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.btns { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
button { min-height: 44px; padding: 10px 28px; color: var(--ink); background: transparent; border: 1px solid var(--ink); font-size: 12px; cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
button.primary, button:hover { color: #fff; background: var(--ink); }
button.primary:hover { background: #333; }
button:disabled { cursor: wait; opacity: .5; }
.status { margin: 20px 0 0; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.status:empty, pre:empty { display: none; }
.errT { text-decoration: underline; }
pre { font-family: inherit; font-size: 14px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; margin: 32px 0; }
#replyForm { margin-top: 32px; }
.admin { margin-top: 112px; border-top: 1px solid var(--line); }
summary { width: fit-content; min-height: 44px; padding: 20px 0; font-size: 12px; color: var(--muted); cursor: pointer; }
.admin-section { margin: 40px 0 64px; }
.admin-section h2 { margin-bottom: 28px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
@media (max-width: 760px) {
  .page { padding-bottom: 40px; }
  .masthead { align-items: flex-start; padding: 28px 0 20px; gap: 20px; }
  .wordmark { font-size: 92px; }
  nav { flex-direction: column; align-items: flex-end; gap: 0; padding: 0; }
  nav a { font-size: 11px; padding: 4px 0; line-height: 24px; }
  .page-heading { margin: 56px 0 56px; gap: 24px; }
  h1 { font-size: clamp(44px, 10vw, 68px); }
  .edition { font-size: 10px; }
  .policy-section { display: block; margin-bottom: 40px; }
  .policy-section h2 { margin-bottom: 16px; }
  .prose p { font-size: 14px; line-height: 1.95; text-align: left; }
  .support-page .page-heading { display: block; }
  .contact-link { display: inline-block; margin-top: 20px; font-size: 13px; }
  .support-grid, .split { grid-template-columns: 1fr; gap: 64px; }
  .row { column-gap: 24px; row-gap: 28px; }
  .admin { margin-top: 72px; }
}
@media (prefers-reduced-motion: reduce) { button { transition: none; } }
