:root {
  --bg: #f3f5f7;
  --surface: rgba(255, 255, 255, 0.32);
  --text: #1f2730;
  --line: rgba(52, 66, 82, 0.08);
}

* {
  box-sizing: border-box;
}

.zh,
.en {
  display: none;
}

body.lang-zh .es,
body.lang-zh .en,
body.lang-en .es,
body.lang-en .zh {
  display: none !important;
}

body.lang-zh .zh,
body.lang-en .en,
body.lang-es .es {
  display: inline !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(197, 208, 219, 0.16), transparent 24%),
    radial-gradient(circle at bottom right, rgba(220, 226, 232, 0.22), transparent 28%),
    linear-gradient(180deg, #fafbfd 0%, var(--bg) 100%);
  line-height: 1.74;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 15px 36px;
  background: rgba(247, 249, 251, 0.9);
  border-bottom: 1px solid rgba(52, 66, 82, 0.035);
  backdrop-filter: blur(10px);
}

.site-header-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  font-size: 1.16rem;
  letter-spacing: 0.1em;
  color: rgba(31, 39, 48, 0.78);
}

.site-nav {
  display: flex;
  gap: 18px;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: rgba(102, 113, 124, 0.58);
}

.site-nav a[aria-current="page"] {
  color: rgba(31, 39, 48, 0.88);
}

.site-nav a:hover {
  color: rgba(31, 39, 48, 0.72);
}

.lang-switcher {
  display: flex;
  gap: 6px;
}

.lang-toggle {
  border: 1px solid rgba(52, 66, 82, 0.05);
  background: rgba(255, 255, 255, 0.42);
  color: rgba(102, 113, 124, 0.64);
  padding: 5px 9px;
  cursor: pointer;
  font-family: inherit;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.lang-toggle:hover,
.lang-toggle.is-active {
  color: #f7f9fb;
  background: linear-gradient(135deg, rgba(85, 100, 115, 0.92), rgba(147, 161, 173, 0.86));
  border-color: transparent;
}

main {
  padding: 22px 28px 26px;
}

.section {
  width: min(1340px, calc(100vw - 56px));
  margin: 0 auto;
  padding: 82px 0;
}

.section-kicker,
.series-label {
  margin: 0 0 12px;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(85, 100, 115, 0.56);
}

.subtle-link {
  color: rgba(31, 39, 48, 0.34);
  text-decoration: none;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-transform: uppercase;
}

.subtle-link:hover {
  color: rgba(31, 39, 48, 0.68);
}

.hero-actions,
.development-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.hero-actions {
  margin-top: 34px;
  color: rgba(85, 100, 115, 0.28);
}

.hero-link {
  text-decoration: none;
  color: rgba(31, 39, 48, 0.46);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.hero-link:hover {
  color: rgba(31, 39, 48, 0.76);
  transform: translateY(-1px);
}

.development-page {
  padding-top: 64px;
}

.development-hero {
  padding-top: 62px;
  padding-bottom: 24px;
}

.development-hero h1 {
  margin: 0;
  max-width: 10em;
  font-size: clamp(2.28rem, 4.8vw, 4.4rem);
  line-height: 1.02;
}

.development-intro {
  margin: 18px 0 0;
  max-width: 38rem;
  color: rgba(67, 80, 93, 0.62);
  font-size: 0.9rem;
  line-height: 1.72;
}

.development-sheet {
  display: grid;
  grid-template-columns: minmax(190px, 0.26fr) minmax(0, 1fr);
  gap: 20px 64px;
  padding-top: 0;
}

.development-sheet--full {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.bio-sheet {
  padding-top: 4px;
}

.bio-sheet .statement-text,
.statement-text {
  max-width: 42rem;
}

.development-sheet-intro {
  padding-top: 2px;
  opacity: 0.82;
}

.development-sheet-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(1.06rem, 1.42vw, 1.28rem);
  line-height: 1.08;
}

.development-sheet-intro p:last-child {
  margin: 0;
  color: rgba(102, 113, 124, 0.58);
  font-size: 0.88rem;
  line-height: 1.76;
}

.development-links {
  margin-top: 22px;
}

.development-links .hero-link,
.development-links .subtle-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
}

.statement-index {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(52, 66, 82, 0.06);
  background: rgba(255, 255, 255, 0.28);
}

.statement-index p {
  margin: 0;
}

.statement-index nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.statement-block {
  padding-top: 10px;
  border-top: 1px solid rgba(52, 66, 82, 0.06);
}

.statement-block + .statement-block {
  margin-top: 14px;
}

.development-sheet--full .statement-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
}

.development-sheet--full .statement-block + .statement-block {
  margin-top: 10px;
}

.statement-block p:last-child {
  margin: 0;
  color: rgba(67, 80, 93, 0.82);
  font-size: 0.94rem;
  line-height: 1.72;
}

.development-sheet--full .statement-block p:last-child {
  flex: 0 0 auto;
  line-height: 1;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 6px 0 8px;
  color: rgba(102, 113, 124, 0.62);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.download-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid rgba(52, 66, 82, 0.06);
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.development-sheet--full .download-meta {
  margin: 0;
}

.development-sheet--full .hero-link {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}

@media (max-width: 980px) {
  .development-sheet {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 12px 7px;
    gap: 4px;
  }

  .site-header-right {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

  .site-nav {
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    min-width: 0;
    padding-bottom: 1px;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    font-size: 0.66rem;
    letter-spacing: 0.03em;
  }

  .brand {
    font-size: 0.92rem;
    letter-spacing: 0.08em;
  }

  .lang-switcher {
    gap: 5px;
    flex: 0 0 auto;
  }

  .lang-toggle {
    padding: 4px 7px;
    font-size: 0.66rem;
  }

  main {
    padding: 14px;
  }

  .section {
    width: min(100%, calc(100vw - 28px));
    padding: 34px 0;
  }

  .development-hero {
    padding-top: 22px;
    padding-bottom: 14px;
  }

  .development-hero h1 {
    max-width: 8.8em;
    font-size: clamp(1.9rem, 10.8vw, 2.8rem);
    line-height: 1.04;
  }

  .development-intro {
    margin-top: 12px;
    max-width: 30rem;
    font-size: 0.84rem;
    line-height: 1.64;
  }

  .development-sheet {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .development-sheet--full .statement-block {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .series-label {
    margin-bottom: 6px;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
  }

  .statement-index {
    margin-bottom: 12px;
    padding: 11px 12px;
    gap: 10px;
  }

  .statement-index nav {
    gap: 6px 12px;
  }

  .statement-block + .statement-block {
    margin-top: 8px;
  }

  .statement-block {
    padding-top: 8px;
  }

  .statement-block p:last-child {
    font-size: 0.84rem;
    line-height: 1.62;
  }

  .development-sheet-intro {
    padding-top: 0;
    opacity: 0.9;
  }

  .development-sheet-intro h2 {
    margin-bottom: 8px;
    font-size: 0.96rem;
    line-height: 1.16;
  }

  .development-sheet-intro p:last-child {
    font-size: 0.8rem;
    line-height: 1.64;
  }

  .development-links {
    margin-top: 16px;
    gap: 6px 10px;
  }

  .download-meta {
    gap: 5px 6px;
    margin: 5px 0 7px;
    font-size: 0.62rem;
    letter-spacing: 0.09em;
  }

  .download-tag {
    padding: 3px 6px;
  }
}
