:root {
  --accent: #ff5233;
  --accent-light: #fff3ee;
  --accent-grad: linear-gradient(135deg, #ffb74d, #ff5233);
  --text: #1c1410;
  --text-2: #5c5049;
  --text-3: #a39a94;
  --bg: #ffffff;
  --bg-2: #faf8f6;
  --border: #ece6e2;
  --radius: 20px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg-2);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 840px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 60px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--text); }
.brand:hover { text-decoration: none; }
.logo-img { width: 34px; height: 34px; object-fit: contain; display: block; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent-grad);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -.5px;
}
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-home { font-size: 14px; color: var(--text-2); }
.nav-home:hover { color: var(--accent); text-decoration: none; }
.lang-selector select {
  border: 1px solid var(--border); background-color: var(--bg); color: var(--text-2);
  border-radius: 999px; padding: 6px 30px 6px 14px; font-size: 13px; cursor: pointer;
  max-width: 160px; outline: none; transition: all .2s;
  font-family: inherit;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235c5049' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
[dir="rtl"] .lang-selector select { padding: 6px 14px 6px 30px; background-position: left 12px center; }
.lang-selector select:hover { border-color: var(--accent); color: var(--accent); }

.container {
  max-width: 840px; margin: 40px auto 56px; padding: 0 24px;
}
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 48px 48px 40px;
}
h1 { font-size: 30px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 8px; }
h2 { font-size: 19px; font-weight: 700; margin: 36px 0 10px; }
p, .section-body { color: var(--text-2); font-size: 15.5px; }
p + p { margin-top: 10px; }
ul { margin: .5em 0; padding-left: 1.4em; color: var(--text-2); font-size: 15.5px; }
li { margin: .35em 0; }
[dir="rtl"] ul, [dir="rtl"] .section-body ul { padding-right: 1.4em; padding-left: 0; }
strong { color: var(--text); }

footer { border-top: 1px solid var(--border); padding: 36px 0; background: var(--bg); }
.footer-inner {
  max-width: 840px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13.5px; color: var(--text-3);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-3); }
.footer-links a:hover { color: var(--accent); text-decoration: none; }
.beian { color: inherit; }
.beian:hover { color: var(--accent); text-decoration: none; }

@media (max-width: 640px) {
  .card { padding: 32px 24px; }
  h1 { font-size: 24px; }
  .container { margin-top: 24px; }
}
