:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --border: #e8e8e8;
  --max: 100%;
  --header-top-h: 34px;
  --header-h: 86px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}
/* 1. 声明字体文件 */
@font-face {
  font-family: 'DouyinSans';
  src: url('../fonts/DouyinSansBold.otf') format('opentype');
}
@font-face {
    font-family: 'MiSans-Bold';
    src: url('../fonts/MiSans-Bold.otf') format('opentype');
}
@font-face {
  font-family: 'MiSans-Demibold';
  src: url('../fonts/MiSans-Demibold.otf') format('opentype');
}
@font-face {
  font-family: 'MiSans-ExtraLight';
  src: url('../fonts/MiSans-ExtraLight.otf') format('opentype');
}
@font-face {
  font-family: 'MiSans-Heavy';
  src: url('../fonts/MiSans-Heavy.otf') format('opentype');
}
@font-face {
  font-family: 'MiSans-Normal';
  src: url('../fonts/MiSans-Normal.otf') format('opentype');
}
@font-face {
  font-family: 'MiSans-Semibold';
  src: url('../fonts/MiSans-Semibold.otf') format('opentype');
}
@font-face {
  font-family: 'MiSans-Thin';
  src: url('../fonts/MiSans-Thin.otf') format('opentype');
}
@font-face {
  font-family: 'MiSans-Medium';
  src: url('../fonts/MiSans-Medium.otf') format('opentype');
}
@font-face {
  font-family: 'MiSans-Regular';
  src: url('../fonts/MiSans-Regular.otf') format('opentype');
}
@font-face {
  font-family: 'MiSans-Light';
  src: url('../fonts/MiSans-Light.otf') format('opentype');
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "小米兰亭 Pro Normal", "DM Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  max-width: 1170px;
  margin: 0 auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
  backdrop-filter: blur(12px);
  padding-bottom: 0.5%;
}
.header__top {
  height: var(--header-top-h);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #8b8b8b;
  font-size: 12px;
  letter-spacing: 0.02em;
  user-select: none;
}

.lang-switch__trigger {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  font: inherit;
  cursor: pointer;
  line-height: 1;
}

.lang-switch__divider {
  width: 2px;
  height: 16px;
  background: #bdbdbd;
  display: inline-block;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  padding: 6px 0;
  display: none;
  z-index: 200;
}
.lang-switch.lang-open .lang-menu {
  display: block;
}

.lang-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: #222;
  white-space: nowrap;
}
.lang-menu a:hover {
  background: #f6f6f6;
}
.header__inner {
  max-width: var(--max);
  margin: 2% auto;
  padding: 0 6% 0 4%;
  height: var(--header-h);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.header__logo img { height: 98px; width: auto; }
.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}
.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid #9a9a9a;
  color: #111;
  background: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1;
  transition: transform 0.15s var(--ease), opacity 0.15s var(--ease), border-color 0.15s var(--ease);
}
.pill-link:hover {
  opacity: 0.85;
  border-color: #7f7f7f;
  transform: translateY(-1px);
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  color: var(--text);
}
.nav a {
  transition: opacity 0.2s var(--ease);
}
.nav a:hover { opacity: 0.6; }
.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav__burger {
  width: 22px;
  height: 14px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.nav__burger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}
.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { top: 6px; }
.nav__burger span:nth-child(3) { bottom: 0; }
@media (max-width: 900px) {
  .nav__links { display: none; }
}
@media (min-width: 901px) {
  .nav__burger { display: none; }
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.hero img { width: 100%; object-fit: cover; }

/* Sections */
.section {
  padding: 88px 0;
}
.section--tight { padding: 64px 0; padding-bottom: 0; }
/* .section--soft { background: var(--bg-soft); } */

.intro-grid {
  display: grid;
  grid-template-columns: 0.53fr 0.68fr;
  gap: 40px 88px;
  align-items: start;
}
.intro-grid div:last-child{
  padding-top: 10px;
}
@media (max-width: 768px) {
  .intro-grid { grid-template-columns: 1fr; }
}
.intro-grid h2 {
  font-size: 50px;
  font-family: "MiSans-Bold";
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 590px;
}
.intro-grid h3 {
  font-size: clamp(34px, 4.7vw, 60px);
}
.intro-grid p {
  color: #5a5a5a;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 0;
  padding: 20px 26px;
  border: 1.5px dashed #bdbdbd;
  border-radius: 0;
}
.tag-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0 36px;
  font-size: 18px;
  font-weight: 700;
  color: #6a6a6a;
  margin-top: 22px;
}
.section--intro .tag-row span:not(:last-child)::after {
  content: none;
  margin-left: 0;
}

@media (max-width: 900px) {
  .section--intro .tag-row {
    flex-wrap: wrap;
    gap: 14px 24px;
  }
}

/* Water block */
.water-block {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}
@media (max-width: 640px) {
  .water-block { grid-template-columns: 1fr; text-align: center; }
  .water-block .water-mark { justify-self: center; }
}
.water-mark { text-align: center; }
.water-mark img { max-width: 100%; margin: 0 auto 16px; }
.water-mark .cn {
  font-size: 56px;
  font-weight: 300;
  letter-spacing: 0.2em;
  line-height: 1;
}
.water-mark .sub {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-muted);
}
.water-copy h3 {
  font-size: clamp(24px, 4vw, 100px);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.35;
}
.water-copy p { color: var(--text-muted); font-size: 15px; max-width: 52em; }

.center-title {
  text-align: center;
  max-width: 900px;
  margin: 5% auto 7%;
}
.center-title h2 {
  font-size: clamp(26px, 3.5vw, 66px);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.center-title .logo-strip {
  margin: 0 auto;
  max-width: 640px;
}

.img-bleed { width: 100%; }
