/* 马上开始了 · 官网预览稿
   色板仅用：bg #FFFFFF / ink #1C1C1E / mute #C7C7CC / secondary #6E6E73 / hairline #E5E5EA
   签名：AY 对阵括号 + Resource Han Rounded CN 字标。其余全部安静。 */

@font-face {
  font-family: "Resource Han Rounded CN";
  src: url("fonts/RHR-CN-Regular-subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Resource Han Rounded CN";
  src: url("fonts/RHR-CN-Medium-subset.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --ink: #1c1c1e;
  --mute: #c7c7cc;
  --secondary: #6e6e73;
  --hairline: #e5e5ea;
  --font: "Resource Han Rounded CN", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  --measure: 32rem;
  --pad: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: only light;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--mute);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-color: var(--ink);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--pad);
  top: 0.75rem;
  z-index: 10;
  padding: 0.4rem 0.7rem;
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-150%);
}

.skip:focus {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip:focus-visible {
  transform: none;
}

.wrap {
  width: min(var(--measure), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

/* —— 首页英雄 —— */
.hero {
  padding-top: 4.5rem;
  padding-bottom: 4rem;
  text-align: center;
}

.hero__mark {
  width: 7.5rem;
  height: auto;
  margin: 0 auto 2rem;
}

.hero__name {
  margin: 0;
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.35;
  letter-spacing: 0.12em;
  margin-right: -0.12em;
}

.hero__value {
  margin: 0.85rem auto 0;
  max-width: 16em;
  color: var(--secondary);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
}

/* —— 要点 —— */
.features {
  padding-bottom: 1rem;
}

.feature {
  margin: 0 0 2rem;
}

.feature h2 {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
}

.feature p {
  margin: 0;
  color: var(--secondary);
  font-size: 0.9375rem;
}

/* —— 下载 —— */
.download {
  margin-top: 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--hairline);
}

.download-block + .download-block {
  margin-top: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.6rem;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
}

.btn-primary {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.btn-primary:disabled,
.btn-primary[aria-disabled="true"] {
  background: var(--ink);
  color: #ffffff;
}

.btn-quiet {
  border: 1px solid var(--hairline);
  background: var(--bg);
  color: var(--secondary);
}

.btn-quiet:disabled,
.btn-quiet[aria-disabled="true"] {
  color: var(--secondary);
}

.status {
  margin: 0.65rem 0 0;
  color: var(--secondary);
  font-size: 0.8125rem;
}

.meta {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.3rem 0.75rem;
  margin: 1.15rem 0 0;
  color: var(--secondary);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.meta div {
  display: contents;
}

.meta dt {
  margin: 0;
  color: var(--secondary);
}

.meta dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.hint {
  margin: 1rem 0 0;
  color: var(--secondary);
  font-size: 0.8125rem;
  line-height: 1.65;
}

/* —— 页脚 —— */
.site-footer {
  margin-top: 4rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--hairline);
}

.site-footer p {
  margin: 0 0 0.45rem;
  color: var(--secondary);
  font-size: 0.8125rem;
  line-height: 1.65;
}

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

.site-footer a {
  color: var(--secondary);
}

.site-footer a:hover {
  color: var(--ink);
}

/* —— 内页 —— */
.masthead {
  padding-top: 1.75rem;
  padding-bottom: 1.5rem;
}

.masthead a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.masthead a:hover {
  text-decoration: none;
}

.masthead__mark {
  width: 1.75rem;
  height: auto;
}

.masthead__name {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.page {
  padding-bottom: 2rem;
}

.page h1 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.notice {
  margin: 0 0 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--hairline);
}

.notice__flag {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.notice p {
  margin: 0;
  color: var(--secondary);
  font-size: 0.9375rem;
}

.page h2 {
  margin: 2.25rem 0 0.7rem;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
}

.page h2:first-of-type {
  margin-top: 0;
}

.page p,
.page li {
  color: var(--ink);
}

.page p {
  margin: 0 0 0.85rem;
}

.page p .pending,
.page li .pending,
.lede-pending {
  color: var(--secondary);
}

.page ul {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
}

.page li {
  margin: 0 0 0.4rem;
}

.page li:last-child {
  margin-bottom: 0;
}

.dates {
  margin: 0.5rem 0 0;
}

.dates p {
  margin: 0 0 0.35rem;
  color: var(--secondary);
}

@media (min-width: 640px) {
  :root {
    --pad: 2rem;
  }

  .hero {
    padding-top: 5.5rem;
    padding-bottom: 4rem;
  }

  .hero__mark {
    width: 8.25rem;
    margin-bottom: 2.25rem;
  }

  .hero__name {
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
