:root {
  --primary: #4937f4;
  --primary-2: #7767ff;
  --ink: #111944;
  --text: #243058;
  --muted: #697595;
  --line: #dfe5f5;
  --soft: #f5f7ff;
  --card: #ffffff;
  --shadow: 0 20px 55px rgba(48, 56, 145, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(circle at 95% 12%, rgba(73, 55, 244, 0.08), transparent 24%),
    linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 86px;
  padding: 0 max(48px, calc((100vw - 1250px) / 2));
  border-bottom: 1px solid rgba(223, 229, 245, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.trust-row,
.footer-brand,
.footer nav,
.help-links,
.form-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 13px;
  font-size: 24px;
  font-weight: 900;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #7769ff, #3729ed);
  box-shadow: 0 10px 18px rgba(73, 55, 244, 0.24);
  font-weight: 900;
}

.nav {
  gap: 50px;
  color: #27315d;
  font-size: 15px;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 33px 0;
}

.nav a.active {
  color: var(--primary);
}

.nav a.active::after {
  position: absolute;
  right: -8px;
  bottom: 0;
  left: -8px;
  height: 4px;
  border-radius: 99px 99px 0 0;
  background: var(--primary);
  content: "";
}

.download,
.primary,
.secondary,
.tab,
.auth-form button {
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.download,
.primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #5d4bff, #3524ee);
  box-shadow: 0 14px 28px rgba(73, 55, 244, 0.24);
}

.download {
  justify-self: end;
  padding: 14px 28px;
}

.secondary {
  border: 1px solid #c7cff0;
  color: var(--primary);
  background: #fff;
}

.home-hero,
.auth-hero,
.guide-hero {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 44px;
  align-items: center;
  min-height: 560px;
  padding: 64px max(48px, calc((100vw - 1250px) / 2)) 42px;
}

.home-hero {
  background:
    radial-gradient(circle at 88% 36%, rgba(73, 55, 244, 0.12), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f4f6ff 100%);
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 26px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--primary);
  background: #eff0ff;
  font-size: 15px;
  font-weight: 800;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(42px, 5.3vw, 64px);
  line-height: 1.17;
  letter-spacing: 0;
}

h1 span,
.section-title span,
.auth-copy span {
  color: var(--primary);
}

.hero-copy p,
.auth-copy p,
.guide-hero p {
  max-width: 520px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.85;
}

.hero-actions {
  gap: 22px;
  margin-top: 34px;
}

.primary,
.secondary {
  display: inline-flex;
  min-width: 176px;
  height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
}

.trust-row {
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 34px;
  color: #46527a;
  font-weight: 700;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.trust-row b {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: #e5392b;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-visual,
.auth-visual,
.guide-hero-visual {
  position: relative;
  min-height: 440px;
}

.product-mock {
  position: absolute;
  width: min(710px, 100%);
  border: 1px solid #d9dffc;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-mock {
  right: 0;
  top: 10px;
}

.mock-toolbar {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 18px;
  border-bottom: 1px solid #e7ebf8;
  background: #fbfcff;
}

.mock-toolbar > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.mock-toolbar span:nth-child(1) {
  background: #ff5f56;
}

.mock-toolbar span:nth-child(2) {
  background: #ffbd2e;
}

.mock-toolbar span:nth-child(3) {
  background: #27c93f;
}

.mock-toolbar select {
  width: 120px;
  height: 26px;
  margin-left: 84px;
  border: 1px solid #dbe2f2;
  border-radius: 5px;
  color: #6d7897;
  background: #fff;
}

.mock-toolbar em {
  margin-left: auto;
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

.mock-body {
  display: grid;
  grid-template-columns: 130px 1fr 245px;
  min-height: 395px;
}

.library-pane,
.paper-pane,
.ai-pane {
  padding: 20px;
}

.library-pane {
  border-right: 1px solid #e7ebf8;
  background: #f8faff;
}

.library-pane h4,
.ai-pane h4 {
  margin-bottom: 12px;
  font-size: 13px;
}

.library-pane p {
  height: 14px;
  margin-bottom: 14px;
  border-radius: 99px;
  background: #ccd6f5;
}

.paper-pane h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.paper-pane small {
  color: var(--muted);
}

.paper-pane p,
.highlight {
  height: 12px;
  margin-bottom: 10px;
  border-radius: 99px;
  background: #d9deed;
}

.paper-pane h5 {
  margin: 22px 0 12px;
  font-size: 14px;
}

.paper-pane .short {
  width: 70%;
}

.highlight {
  height: 16px;
  margin-top: 20px;
}

.highlight.y {
  background: #fff09a;
}

.highlight.b {
  background: #dbe4ff;
}

.ai-pane {
  border-left: 1px solid #e7ebf8;
}

.ai-pane > strong {
  display: inline-flex;
  margin: 0 7px 16px 0;
  padding: 8px 10px;
  border-radius: 8px;
  color: #566084;
  background: #f1f4ff;
  font-size: 13px;
}

.ai-pane > strong:first-child {
  color: var(--primary);
  background: #edefff;
}

.answer {
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 12px;
  color: var(--primary);
  background: #f0f2ff;
  font-weight: 800;
  line-height: 1.65;
}

.ai-pane ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #26315f;
  font-size: 14px;
  line-height: 1.6;
}

.ai-pane li::before {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  margin-right: 8px;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  content: "✓";
  font-size: 10px;
}

.bot {
  position: absolute;
  width: 128px;
  height: 156px;
}

.hero-bot {
  right: 180px;
  bottom: 0;
}

.bot > i {
  position: absolute;
  top: 0;
  left: 63px;
  width: 6px;
  height: 30px;
  background: #7b6dff;
}

.bot > i::before {
  position: absolute;
  top: -12px;
  left: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #afa8ff, #4d38f1);
  content: "";
}

.bot-head {
  position: absolute;
  top: 28px;
  left: 7px;
  display: flex;
  width: 114px;
  height: 68px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 34px;
  background: linear-gradient(145deg, #fff, #dce6ff);
  box-shadow: var(--shadow);
}

.bot-head::before {
  position: absolute;
  inset: 14px 15px;
  border-radius: 24px;
  background: #0c1b4d;
  content: "";
}

.bot-head span {
  z-index: 1;
  width: 14px;
  height: 12px;
  border: 4px solid #65d9ff;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
}

.bot-body {
  position: absolute;
  top: 88px;
  left: 31px;
  display: grid;
  width: 68px;
  height: 64px;
  place-items: center;
  border-radius: 20px 20px 32px 32px;
  color: var(--primary);
  background: linear-gradient(145deg, #fff, #dce6ff);
  box-shadow: var(--shadow);
  font-size: 42px;
  font-weight: 900;
}

.bot b {
  position: absolute;
  top: 70px;
  left: 0;
  width: 16px;
  height: 34px;
  border-radius: 99px;
  background: linear-gradient(#6857ff, #78e0ff);
}

.section {
  padding: 46px max(48px, calc((100vw - 1250px) / 2));
  background: #fff;
}

.section-title {
  margin-bottom: 30px;
  text-align: center;
}

.section-title h2 {
  margin-bottom: 11px;
  font-size: 30px;
}

.section-title i {
  display: block;
  width: 54px;
  height: 4px;
  margin: 0 auto;
  border-radius: 99px;
  background: var(--primary);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.reason-card,
.ability-card,
.auth-box,
.process-grid article,
.faq-grid article,
.guide-main,
.guide-extra article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(38, 47, 98, 0.04);
}

.reason-card {
  min-height: 218px;
  padding: 24px 18px;
  text-align: center;
}

.icon {
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--primary);
  background: linear-gradient(145deg, #f4f5ff, #e7ebff);
  box-shadow: 0 12px 24px rgba(73, 55, 244, 0.12);
  font-size: 27px;
  font-weight: 900;
}

.reason-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.reason-card p,
.ability-card p,
.auth-help p,
.auth-help li,
.process-grid p,
.faq-grid p,
.guide-step p,
.guide-extra p,
.guide-extra li,
.footer p,
.footer small {
  color: var(--muted);
  line-height: 1.75;
}

.ability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ability-card {
  min-height: 292px;
  padding: 22px;
}

.mini-panel {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #e5e9f6;
  border-radius: 12px;
  background: #fbfcff;
}

.tabs-panel b {
  color: var(--primary);
}

.tabs-panel nav {
  display: flex;
  gap: 12px;
  margin: 14px 0;
  color: #5d6886;
  font-size: 13px;
}

.tabs-panel li {
  margin-bottom: 10px;
  color: var(--text);
}

table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  font-size: 13px;
}

td,
th {
  border: 1px solid #e2e7f4;
  padding: 12px;
  text-align: left;
}

.mind-map {
  position: relative;
  min-height: 220px;
  margin-top: 18px;
}

.mind-map strong {
  position: absolute;
  top: 78px;
  left: 16px;
  display: grid;
  width: 104px;
  height: 58px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--primary);
  text-align: center;
  font-size: 13px;
}

.mind-map small {
  font-weight: 400;
}

.mind-map span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  padding: 8px 12px;
  border-radius: 8px;
  background: #f4f6ff;
  color: var(--text);
  font-size: 13px;
}

.home-cta,
.support-cta,
.guide-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  margin: 26px max(48px, calc((100vw - 1250px) / 2));
  padding: 24px 34px;
  border: 1px solid #cdd4ff;
  border-radius: 12px;
  background: linear-gradient(135deg, #f4f5ff, #ffffff);
}

.wechat-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  margin: 24px max(48px, calc((100vw - 1250px) / 2)) 34px;
  padding: 32px 38px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 18%, rgba(73, 55, 244, 0.1), transparent 30%),
    #fff;
  box-shadow: 0 10px 30px rgba(38, 47, 98, 0.05);
}

.wechat-section h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.wechat-section p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.wechat-section img {
  width: 156px;
  height: 156px;
  border: 10px solid #fff;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.doc-badge {
  display: grid;
  width: 96px;
  height: 80px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #dfe5ff, #654fff);
  font-size: 38px;
  font-weight: 900;
}

.auth-hero {
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 360px;
  background: #fff;
}

.auth-copy h1 {
  margin-bottom: 22px;
}

.help-links {
  gap: 36px;
  margin-top: 30px;
  color: var(--primary);
  font-weight: 800;
}

.auth-bot {
  left: 90px;
  bottom: 22px;
}

.shield {
  position: absolute;
  left: 230px;
  top: 18px;
  display: grid;
  width: 150px;
  height: 176px;
  place-items: center;
  clip-path: polygon(50% 0, 96% 18%, 84% 78%, 50% 100%, 16% 78%, 4% 18%);
  color: #fff;
  background: linear-gradient(145deg, #897cff, #4b32f0);
  box-shadow: var(--shadow);
  font-size: 74px;
  font-weight: 900;
}

.status-card {
  position: absolute;
  right: 80px;
  top: 44px;
  width: 280px;
  min-height: 178px;
  padding: 22px;
  border: 1px solid #cfd6f2;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.status-card h3 {
  font-size: 20px;
}

.status-card b {
  margin-left: 16px;
  padding: 7px 12px;
  border-radius: 9px;
  color: #ff8a00;
  background: #fff0d8;
}

.status-card span {
  position: absolute;
  right: 26px;
  bottom: 24px;
  display: grid;
  width: 68px;
  height: 76px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, #a79dff, #6755f4);
  font-size: 34px;
}

.auth-main {
  padding: 16px max(48px, calc((100vw - 1250px) / 2)) 26px;
  background: #fff;
}

.donation-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 1250px;
  margin: 0 auto 22px;
  padding: 24px 28px;
  border: 1px solid #d7def8;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(241, 244, 255, 0.94), rgba(255, 255, 255, 0.98)),
    #fff;
  box-shadow: 0 12px 30px rgba(38, 47, 98, 0.06);
}

.donation-copy {
  min-width: 0;
}

.donation-copy h2 {
  margin: 8px 0 10px;
  font-size: 25px;
  line-height: 1.35;
}

.donation-copy p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.75;
}

.donation-open {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #654df5, #3628e8);
  box-shadow: 0 14px 28px rgba(72, 54, 234, 0.22);
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.donation-modal[hidden] {
  display: none;
}

.donation-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.donation-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(5px);
}

.donation-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(470px, calc(100vw - 44px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 28px;
  border: 1px solid #d7def8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(22, 31, 84, 0.28);
  text-align: center;
}

.donation-modal-panel h2 {
  margin: 10px 0 8px;
  font-size: 26px;
}

.donation-modal-panel p {
  max-width: 360px;
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.donation-modal-panel img {
  width: min(360px, 100%);
  height: auto;
  border: 10px solid #fff;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(38, 47, 98, 0.16);
}

.donation-form {
  display: grid;
  width: min(360px, 100%);
  gap: 9px;
  margin-top: 18px;
  text-align: left;
}

.donation-form label {
  color: #27315f;
  font-size: 14px;
  font-weight: 800;
}

.donation-form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.donation-form input {
  width: 100%;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid #cbd5f5;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.donation-form button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #654df5, #3628e8);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.donation-status {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.donation-status.success {
  color: #0f8f5f;
}

.donation-status.error {
  color: #c2410c;
}

.donation-status.info {
  color: #4937f4;
}

.donation-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #d7def8;
  border-radius: 999px;
  color: #27315f;
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

.auth-box {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  overflow: hidden;
}

.auth-form-card {
  border-right: 1px solid var(--line);
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 46px;
  border-bottom: 1px solid var(--line);
}

.tab {
  height: 64px;
  border: 0;
  color: #29335f;
  background: transparent;
}

.tab.active {
  color: var(--primary);
  box-shadow: inset 0 -4px 0 var(--primary);
}

.auth-form {
  display: grid;
  gap: 13px;
  padding: 26px 46px 34px;
}

.auth-form label {
  font-weight: 800;
}

.auth-form input,
.auth-form textarea {
  width: 100%;
  border: 1px solid #cfd7ef;
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.auth-form input {
  height: 46px;
}

.auth-form textarea {
  height: 82px;
  padding-top: 14px;
  resize: vertical;
}

.form-actions {
  gap: 16px;
  margin-top: 8px;
}

.form-actions .primary,
.form-actions .secondary {
  flex: 1;
}

.form-status {
  min-height: 24px;
  font-weight: 800;
}

.form-status.info {
  color: var(--primary);
}

.form-status.success {
  color: #168653;
}

.form-status.error {
  color: #c94252;
}

.auth-help {
  display: grid;
  gap: 22px;
  padding: 34px 28px;
}

.auth-help article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.auth-help a,
.faq-grid a {
  color: var(--primary);
  font-weight: 800;
}

.auth-help ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-help li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
}

.process-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.process-grid article,
.faq-grid article {
  padding: 26px;
}

.auth-methods {
  padding-top: 34px;
  padding-bottom: 24px;
}

.auth-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.login-flow-card {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 12%, rgba(73, 55, 244, 0.08), transparent 30%),
    #fff;
  box-shadow: 0 14px 36px rgba(38, 47, 98, 0.08);
}

.login-flow-copy h3 {
  margin-bottom: 12px;
  font-size: 26px;
}

.login-flow-copy p {
  color: var(--muted);
  line-height: 1.85;
}

.login-flow-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.login-menu-shot,
.sync-setting-shot {
  position: relative;
  overflow: hidden;
  height: 236px;
  border: 1px solid #dfe5f5;
  border-radius: 12px;
  background: #fff;
}

.login-menu-shot {
  background:
    linear-gradient(90deg, #f3f5fa 0 22%, transparent 22%),
    repeating-linear-gradient(180deg, #fff 0 30px, #f8f9fc 30px 60px);
}

.edit-menu-card {
  position: absolute;
  left: 86px;
  top: 30px;
  display: grid;
  width: 148px;
  border: 1px solid #cfd6e9;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 38px rgba(20, 31, 70, 0.18);
  font-size: 12px;
}

.edit-menu-card span,
.edit-menu-card b {
  padding: 10px 12px;
}

.edit-menu-card b {
  background: linear-gradient(90deg, #edefff, #f8f9ff);
  color: var(--primary);
}

.sync-setting-shot {
  display: grid;
  grid-template-columns: 150px 1fr;
}

.sync-setting-shot aside {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 14px;
  border-right: 1px solid #e4e8f3;
  background: #f8f9fc;
}

.sync-setting-shot aside span,
.sync-setting-shot aside b,
.sync-setting-shot aside i {
  padding: 11px 12px;
  border-radius: 8px;
  font-style: normal;
  font-weight: 800;
}

.sync-setting-shot aside b {
  color: #fff;
  background: var(--primary);
}

.sync-setting-shot aside i {
  margin-top: 18px;
  color: var(--primary);
  background: #eef0ff;
}

.sync-setting-shot main {
  padding: 30px 24px;
}

.sync-setting-shot h4 {
  margin-bottom: 20px;
  font-size: 22px;
}

.sync-setting-shot strong {
  display: block;
  margin-bottom: 8px;
}

.sync-setting-shot p {
  color: var(--muted);
  line-height: 1.7;
}

.sync-setting-shot button {
  margin-right: 20px;
  border: 1px solid #cfd6e7;
  border-radius: 6px;
  padding: 8px 28px;
  background: #fff;
  font-weight: 800;
}

.sync-setting-shot a {
  display: inline-block;
  margin-right: 14px;
  color: var(--primary);
  font-weight: 800;
}

.auth-route-hint {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}

.auth-route-hint article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid #dfe5f5;
  border-radius: 12px;
  background: #f8f9ff;
}

.auth-route-hint b {
  color: var(--primary);
}

.auth-route-hint span {
  color: var(--muted);
  line-height: 1.65;
}

.auth-method-card {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 20px;
  min-height: 350px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(38, 47, 98, 0.08);
}

.method-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: #eff0ff;
  font-size: 13px;
  font-weight: 900;
}

.method-copy h3 {
  margin-bottom: 12px;
  font-size: 23px;
}

.method-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.method-value {
  margin-top: 22px;
  padding: 14px;
  border: 1px solid #dfe5f5;
  border-radius: 10px;
  background: #f8f9ff;
}

.method-value small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 800;
}

.method-value b {
  display: block;
  color: var(--primary);
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.auth-shot {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid #dbe2f4;
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 20%, rgba(73, 55, 244, 0.08), transparent 34%),
    linear-gradient(135deg, #f8faff, #fff);
}

.paper-pal-panel {
  position: absolute;
  right: 18px;
  bottom: 22px;
  width: 72%;
  height: 210px;
  border: 1px solid #dfe5f5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(38, 47, 98, 0.12);
}

.paper-pal-panel header {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid #eef1f8;
  color: var(--primary);
  font-weight: 900;
}

.paper-pal-panel header span {
  width: 18px;
  height: 18px;
  margin-left: auto;
  border-radius: 5px;
  background: #eef2ff;
}

.paper-pal-panel header span + span,
.paper-pal-panel header span + span + span {
  margin-left: 0;
}

.paper-pal-panel main {
  padding: 20px 22px;
}

.paper-pal-panel h4 {
  margin-bottom: 12px;
  font-size: 22px;
}

.paper-pal-panel p {
  height: 10px;
  margin-bottom: 11px;
  border-radius: 99px;
  background: #dfe5f5;
  filter: blur(1px);
}

.paper-pal-panel p.mid {
  width: 70%;
}

.paper-pal-panel p.short {
  width: 48%;
}

.paper-pal-panel button {
  margin: 22px 8px 0 0;
  border: 1px solid #ccd5ea;
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--ink);
  background: #f8fbff;
  font-weight: 800;
}

.paper-pal-panel button:first-of-type {
  border-color: #9fd0df;
  box-shadow: 0 0 0 4px rgba(112, 194, 214, 0.22);
}

.license-dialog {
  position: absolute;
  left: 18px;
  top: 34px;
  z-index: 2;
  width: 245px;
  padding: 16px 16px 14px;
  border: 1px solid #cdd6e9;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 48px rgba(30, 39, 92, 0.18);
}

.license-dialog.wide {
  width: 315px;
}

.license-dialog strong,
.license-dialog em {
  display: block;
  color: #0f183f;
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

.license-dialog em {
  font-weight: 800;
}

.license-dialog i {
  display: block;
  height: 34px;
  margin-top: 10px;
  border-bottom: 2px solid #3f6cff;
  background: #fbfcff;
}

.license-dialog footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.license-dialog footer span {
  min-width: 66px;
  padding: 7px 12px;
  border: 1px solid #cfd6e7;
  border-radius: 6px;
  text-align: center;
  font-size: 12px;
}

.privacy-mask {
  position: absolute;
  border-radius: 99px;
  background: rgba(105, 117, 149, 0.22);
  filter: blur(4px);
}

.privacy-mask.one {
  left: 24px;
  bottom: 34px;
  width: 130px;
  height: 14px;
}

.privacy-mask.two {
  right: 46px;
  top: 62px;
  width: 160px;
  height: 16px;
}

.privacy-mask.three {
  right: 34px;
  top: 86px;
  width: 190px;
  height: 16px;
}

.auth-privacy-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid #dfe5f5;
  border-radius: 12px;
  background: #f8f9ff;
  color: var(--muted);
  line-height: 1.75;
}

.auth-privacy-note b {
  flex: 0 0 auto;
  color: var(--ink);
}

.support-cta {
  grid-template-columns: 150px 1fr auto;
}

.support-bot {
  position: relative;
}

.guide-hero {
  grid-template-columns: 0.72fr 1.28fr;
  min-height: 300px;
  background: linear-gradient(135deg, #ffffff 0%, #f7f8ff 100%);
}

.guide-hero h1 {
  font-size: clamp(42px, 4.8vw, 58px);
}

.guide-product {
  right: 12px;
  top: -4px;
  transform: scale(0.82);
  transform-origin: top right;
}

.guide-bot {
  right: 190px;
  bottom: 4px;
  transform: scale(0.88);
}

.guide-main {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  margin: 20px max(48px, calc((100vw - 1250px) / 2)) 12px;
  padding: 18px;
}

.guide-sidebar {
  padding: 18px 0;
  border-right: 1px solid var(--line);
}

.guide-sidebar h3 {
  padding: 0 18px;
}

.guide-sidebar a {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  color: #596580;
  font-weight: 800;
}

.guide-sidebar a.active {
  border-left: 4px solid var(--primary);
  color: var(--primary);
  background: #f1f3ff;
}

.guide-sidebar a span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #e7ebf6;
}

.guide-sidebar a.active span {
  color: #fff;
  background: var(--primary);
}

.help-card {
  margin: 44px 14px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.help-card b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-size: 24px;
}

.guide-steps {
  display: grid;
  gap: 10px;
}

.guide-step {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid #e6eaf6;
  border-radius: 12px;
}

.guide-step-link {
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.guide-step-link:hover,
.guide-step-link:focus-visible {
  border-color: #b8c2ff;
  box-shadow: 0 14px 34px rgba(73, 55, 244, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.guide-step-link h2::after {
  color: var(--primary);
  content: "  前往授权申请 ›";
  font-size: 14px;
  font-weight: 900;
}

.guide-step:first-child,
.guide-step-wide {
  grid-template-columns: 1fr;
}

.guide-step:first-child .step-copy,
.guide-step-wide .step-copy {
  max-width: 760px;
}

.step-copy {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
}

.step-copy > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
}

.guide-step h2 {
  font-size: 24px;
}

.step-preview {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.step-preview header {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid #edf0f8;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.step-preview header span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.step-preview header span:nth-child(1) {
  background: #ff5f56;
}

.step-preview header span:nth-child(2) {
  background: #ffbd2e;
}

.step-preview header span:nth-child(3) {
  background: #27c93f;
}

.step-preview main {
  padding: 18px;
}

.step-preview p,
.step-preview div {
  height: 12px;
  margin: 0 0 12px;
  border-radius: 99px;
  background: #dbe2f4;
}

.step-preview div {
  height: 42px;
  background: #f0f3ff;
}

.install-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.install-shot {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 14px;
  border: 1px solid #dfe5f5;
  border-radius: 12px;
  background:
    radial-gradient(circle at 88% 10%, rgba(73, 55, 244, 0.08), transparent 32%),
    #fff;
  box-shadow: 0 14px 32px rgba(38, 47, 98, 0.08);
}

.install-shot h3 {
  margin: 14px 2px 6px;
  font-size: 17px;
}

.install-shot p {
  margin: 0 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.zotero-frame,
.plugin-frame,
.file-frame {
  position: relative;
  height: 190px;
  overflow: hidden;
  border: 1px solid #d8def0;
  border-radius: 10px;
  background: #f8f9fc;
}

.zotero-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 30px;
  padding: 0 10px;
  border-bottom: 1px solid #e4e8f3;
  background: #fff;
  font-size: 12px;
}

.zotero-menu b {
  color: #d92828;
  font-size: 18px;
}

.zotero-menu strong {
  padding: 7px 13px;
  border-radius: 6px 6px 0 0;
  background: #eef0f6;
}

.zotero-body {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  height: 160px;
}

.zotero-body aside {
  padding: 18px 9px;
  border-right: 1px solid #e4e8f3;
  background: #f1f4fb;
}

.zotero-body aside p,
.blur-title,
.plugin-frame section p,
.path-bar span,
.file-list p {
  height: 10px;
  border-radius: 99px;
  background: rgba(105, 117, 149, 0.24);
  filter: blur(1px);
}

.zotero-body aside p {
  margin: 0 0 12px;
}

.zotero-body main {
  padding: 20px 16px;
}

.blur-title {
  width: 92%;
  margin-bottom: 13px;
}

.blur-title.short {
  width: 48%;
}

.blur-title.mid {
  width: 68%;
}

.menu-card,
.gear-menu {
  position: absolute;
  z-index: 2;
  display: grid;
  border: 1px solid #cfd6e9;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 38px rgba(20, 31, 70, 0.18);
  font-size: 12px;
}

.menu-card {
  left: 74px;
  top: 29px;
  width: 128px;
}

.menu-card span,
.menu-card b,
.gear-menu span,
.gear-menu b {
  padding: 9px 12px;
  color: #202943;
  font-weight: 500;
}

.menu-card b,
.gear-menu b {
  background: linear-gradient(90deg, #edefff, #f8f9ff);
  color: var(--primary);
  font-weight: 900;
}

.guide-arrow {
  position: absolute;
  z-index: 3;
  width: 95px;
  height: 3px;
  background: #ff5b5b;
  transform: rotate(-26deg);
  transform-origin: right center;
}

.guide-arrow::after {
  position: absolute;
  right: -2px;
  top: -6px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 14px solid #ff5b5b;
  content: "";
}

.zotero-frame .guide-arrow {
  left: 124px;
  top: 78px;
}

.plugin-frame header,
.file-frame header {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid #e3e8f5;
  background: linear-gradient(90deg, #fff, #eefaff);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.plugin-frame header button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  background: #f0f3ff;
  color: #495473;
}

.plugin-frame section {
  position: relative;
  height: 154px;
  padding: 28px 30px;
  background: #fff;
}

.plugin-frame h4 {
  margin-bottom: 18px;
  text-align: center;
  font-size: 20px;
}

.plugin-frame section p {
  width: 54%;
  margin: 0 0 11px;
}

.plugin-frame section p.short {
  width: 36%;
}

.gear-menu {
  right: 26px;
  top: 54px;
  width: 190px;
}

.plugin-frame .guide-arrow {
  right: 126px;
  top: 98px;
}

.file-frame {
  background: #fff;
}

.path-bar {
  display: flex;
  gap: 8px;
  padding: 13px 14px;
  border-bottom: 1px solid #e8ecf6;
}

.path-bar span {
  width: 24%;
  filter: blur(1.5px);
}

.file-list {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
}

.file-list p {
  width: 58%;
  margin: 0;
}

.file-list b {
  display: block;
  padding: 9px 12px;
  border: 1px solid #9fb8ff;
  border-radius: 5px;
  background: #e9f1ff;
  color: var(--ink);
  font-size: 13px;
}

.file-frame footer {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.file-frame footer span {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #d6ddec;
  border-radius: 6px;
  color: #27315d;
  font-size: 12px;
}

.file-frame footer button {
  border: 0;
  border-radius: 6px;
  padding: 9px 16px;
  color: #fff;
  background: var(--primary);
  font-weight: 800;
}

.model-entry-frame,
.model-provider-frame,
.model-test-frame,
.auth-id-frame,
.auth-submit-frame,
.auth-license-frame {
  position: relative;
  height: 190px;
  overflow: hidden;
  border: 1px solid #d8def0;
  border-radius: 10px;
  background: #fff;
}

.model-entry-frame header,
.model-provider-frame header,
.model-test-frame header,
.auth-id-frame header,
.auth-submit-frame header,
.auth-license-frame header {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid #e3e8f5;
  background: linear-gradient(90deg, #fff, #eefaff);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.model-entry-frame header b {
  margin-right: auto;
}

.model-entry-frame header span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f2f5ff;
}

.model-entry-frame header i {
  padding: 6px 9px;
  border-radius: 7px;
  color: #fff;
  background: var(--primary);
  font-style: normal;
}

.model-entry-frame main {
  padding: 28px 18px;
}

.model-entry-frame h4 {
  margin-bottom: 14px;
  font-size: 22px;
}

.model-entry-frame p,
.model-provider-frame strong {
  height: 10px;
  border-radius: 99px;
  background: rgba(105, 117, 149, 0.24);
}

.model-entry-frame p {
  width: 92%;
  margin-bottom: 12px;
}

.model-entry-frame p.mid {
  width: 72%;
}

.model-entry-frame p.short {
  width: 48%;
}

.model-entry-frame div {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.model-entry-frame button,
.model-test-frame button {
  border: 1px solid #cbd5f0;
  border-radius: 7px;
  padding: 7px 10px;
  color: var(--text);
  background: linear-gradient(180deg, #fff, #f5fbff);
  font-size: 12px;
  font-weight: 900;
}

.model-entry-frame .guide-arrow {
  right: 46px;
  top: 58px;
  width: 76px;
  transform: rotate(-32deg);
}

.model-provider-frame header span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.model-provider-frame header span:nth-child(1) {
  background: #ff5f56;
}

.model-provider-frame header span:nth-child(2) {
  background: #ffbd2e;
}

.model-provider-frame header span:nth-child(3) {
  background: #27c93f;
}

.model-provider-frame nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  padding: 8px;
  background: #f4f6fb;
  font-size: 11px;
  text-align: center;
}

.model-provider-frame nav b,
.model-provider-frame nav span {
  padding: 7px 4px;
  border-radius: 7px;
}

.model-provider-frame nav b {
  color: var(--primary);
  background: #fff;
}

.model-provider-frame main {
  padding: 10px 14px;
}

.model-provider-frame label {
  display: block;
  margin: 7px 0 5px;
  color: #5b6686;
  font-size: 11px;
  font-weight: 900;
}

.model-provider-frame strong {
  display: block;
  height: auto;
  min-height: 24px;
  padding: 6px 8px;
  border: 1px solid #d9e0f1;
  border-radius: 7px;
  background: #fff;
  color: #17214a;
  font-size: 11px;
  word-break: break-all;
}

.masked-key {
  color: #7b849d !important;
  letter-spacing: 1px;
}

.model-test-frame header button {
  margin-left: auto;
  padding: 4px 9px;
  color: var(--primary);
  background: #fff;
}

.model-test-frame main {
  display: grid;
  gap: 10px;
  padding: 20px 14px;
}

.model-test-frame main div {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  border: 1px solid #dce3f4;
  border-radius: 9px;
  padding: 8px;
  background: #fff;
  font-size: 11px;
}

.model-test-frame button {
  padding: 5px 8px;
  color: var(--primary);
}

.model-test-frame i {
  border-radius: 999px;
  padding: 5px 7px;
  color: #0f8a51;
  background: #eafaf2;
  font-style: normal;
  font-weight: 900;
}

.model-test-frame footer {
  padding: 10px 12px;
  border-radius: 8px;
  color: #526080;
  background: #f5f7ff;
  font-size: 11px;
  line-height: 1.6;
}

.auth-id-frame header b {
  margin-right: auto;
}

.auth-id-frame header span {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--primary);
  background: #f2f5ff;
  font-weight: 900;
}

.auth-id-frame main {
  display: grid;
  gap: 10px;
  padding: 18px 14px;
}

.auth-id-frame h4 {
  margin-bottom: 2px;
  font-size: 18px;
}

.auth-id-frame main div {
  display: grid;
  gap: 6px;
  border: 1px solid #dce3f4;
  border-radius: 9px;
  padding: 10px;
  background: #fff;
  font-size: 11px;
}

.auth-id-frame main div:first-of-type {
  border-color: #bfc8ff;
  background: #f8f9ff;
}

.auth-id-frame span {
  color: #53617f;
  word-break: break-all;
}

.auth-submit-frame main {
  padding: 14px;
}

.auth-submit-frame label {
  display: block;
  margin: 8px 0 5px;
  color: #5b6686;
  font-size: 11px;
  font-weight: 900;
}

.auth-submit-frame strong,
.auth-license-frame strong {
  display: block;
  min-height: 26px;
  border: 1px solid #d9e0f1;
  border-radius: 7px;
  padding: 6px 8px;
  background: #fff;
  color: #17214a;
  font-size: 11px;
  word-break: break-all;
}

.auth-submit-frame button {
  width: 100%;
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  background: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.masked-email {
  color: #7b849d !important;
}

.auth-license-frame main {
  padding: 28px 18px 18px;
}

.auth-license-frame p {
  margin-bottom: 8px;
  color: #5b6686;
  font-size: 12px;
  font-weight: 900;
}

.auth-license-frame strong {
  border-color: #bcc8ff;
  background: #f8f9ff;
  color: var(--primary);
  letter-spacing: 1px;
}

.auth-license-frame footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
}

.auth-license-frame footer span,
.auth-license-frame footer button {
  border: 1px solid #cbd5f0;
  border-radius: 7px;
  padding: 8px 16px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.auth-license-frame footer button {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
}

.guide-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 14px max(48px, calc((100vw - 1250px) / 2));
}

.guide-extra article {
  padding: 24px;
}

.operation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.operation-grid div {
  min-height: 126px;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
}

.operation-grid .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  font-size: 22px;
}

.guide-cta {
  grid-template-columns: 150px 1fr auto auto;
}

.guide-cta-bot {
  position: relative;
  transform: scale(0.82);
  transform-origin: left center;
}

.legal-hero {
  padding: 76px max(48px, calc((100vw - 920px) / 2)) 44px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f6ff 100%);
}

.about-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: center;
  min-height: 430px;
  padding: 70px max(48px, calc((100vw - 1250px) / 2)) 56px;
  background:
    radial-gradient(circle at 88% 28%, rgba(73, 55, 244, 0.1), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f6f7ff 100%);
}

.about-hero p {
  max-width: 560px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.85;
}

.about-visual {
  position: relative;
  min-height: 360px;
}

.about-product {
  right: 0;
  top: 0;
  transform: scale(0.82);
  transform-origin: top right;
}

.about-bot {
  right: 140px;
  bottom: 0;
}

.about-section {
  padding: 52px max(48px, calc((100vw - 1250px) / 2));
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-grid article,
.value-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(38, 47, 98, 0.04);
}

.about-grid article {
  padding: 34px;
}

.about-grid h2,
.about-contact h2 {
  font-size: 28px;
}

.about-grid p,
.about-grid li,
.value-grid p,
.about-contact p {
  color: var(--muted);
  line-height: 1.85;
}

.about-grid ul {
  margin: 0;
  padding-left: 20px;
}

.about-grid li {
  margin-bottom: 10px;
}

.about-values {
  padding-top: 30px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.value-grid article {
  padding: 28px 22px;
  text-align: center;
}

.about-contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin: 20px max(48px, calc((100vw - 1250px) / 2)) 34px;
  padding: 32px 38px;
  border: 1px solid #cdd4ff;
  border-radius: 14px;
  background: linear-gradient(135deg, #f5f6ff, #fff);
}

.updates-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  min-height: 330px;
  padding: 70px max(48px, calc((100vw - 1250px) / 2)) 52px;
  background:
    radial-gradient(circle at 88% 28%, rgba(73, 55, 244, 0.11), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f6f7ff 100%);
}

.updates-hero p {
  max-width: 650px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.85;
}

.updates-summary-card {
  min-width: 280px;
  padding: 28px;
  border: 1px solid #cdd4ff;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.updates-summary-card small,
.updates-summary-card span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.updates-summary-card strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--primary);
  font-size: 48px;
  line-height: 1;
}

.updates-wrap {
  padding: 42px max(48px, calc((100vw - 1250px) / 2));
  background: #fff;
}

.updates-summary-grid,
.highlight-grid {
  display: grid;
  gap: 18px;
}

.updates-summary-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
}

.updates-summary-grid article,
.highlight-grid article,
.release-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(38, 47, 98, 0.05);
}

.updates-summary-grid article {
  padding: 24px;
}

.updates-summary-grid b {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 28px;
}

.updates-summary-grid span,
.highlight-grid span {
  color: var(--muted);
  font-weight: 800;
}

.highlight-grid {
  grid-template-columns: repeat(2, 1fr);
}

.highlight-grid article {
  padding: 22px 24px;
}

.highlight-grid p {
  margin: 10px 0 0;
  color: var(--text);
  line-height: 1.75;
}

.updates-timeline {
  display: grid;
  gap: 20px;
  padding-top: 14px;
}

.release-card {
  overflow: hidden;
}

.release-card header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #fbfcff, #fff);
}

.release-card header span {
  display: inline-flex;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 7px 12px;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
}

.release-card header h2 {
  font-size: 24px;
}

.release-card header small {
  color: var(--muted);
  font-weight: 900;
}

.release-sections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 26px 28px 30px;
}

.release-sections section {
  border: 1px solid #e7ebf6;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
}

.release-sections h3 {
  margin-bottom: 14px;
  font-size: 18px;
}

.release-sections ul {
  margin: 0;
  padding-left: 20px;
}

.release-sections li {
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.7;
}

.release-sections code,
.highlight-grid code,
.release-summary-list code {
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--primary);
  background: #f0f2ff;
  font-family: inherit;
  font-weight: 900;
}

.release-summary-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 26px 30px 30px;
  list-style: none;
}

.release-summary-list li {
  position: relative;
  padding: 14px 18px 14px 44px;
  border: 1px solid #e7ebf6;
  border-radius: 12px;
  color: var(--text);
  background: #fff;
  line-height: 1.75;
}

.release-summary-list li::before {
  position: absolute;
  left: 16px;
  top: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(73, 55, 244, 0.1);
  content: "";
}

.legal-hero h1 {
  margin-bottom: 12px;
}

.legal-hero p {
  color: var(--muted);
  font-weight: 700;
}

.legal-wrap {
  padding: 42px max(48px, calc((100vw - 920px) / 2)) 70px;
  background: #fff;
}

.legal-card {
  padding: 42px 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(38, 47, 98, 0.05);
}

.legal-card h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 22px;
}

.legal-card p,
.legal-card li {
  color: var(--text);
  line-height: 1.9;
}

.legal-card ul {
  margin: 0 0 0 20px;
  padding: 0;
}

.legal-note {
  margin-top: 34px;
  padding: 18px 20px;
  border-radius: 10px;
  color: var(--muted) !important;
  background: #f6f7ff;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 26px max(48px, calc((100vw - 1250px) / 2));
  color: #65708e;
  background: #fff;
}

.footer-brand {
  gap: 12px;
}

.footer-brand b {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.footer nav {
  gap: 46px;
}

.footer p {
  margin: 0;
  text-align: right;
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: auto;
    padding: 18px 22px;
  }

  .nav {
    grid-column: 1 / -1;
    gap: 18px;
    overflow-x: auto;
  }

  .nav a {
    white-space: nowrap;
    padding: 12px 0;
  }

  .home-hero,
  .auth-hero,
  .guide-hero,
  .about-hero,
  .updates-hero,
  .updates-wrap,
  .about-section,
  .legal-hero,
  .legal-wrap,
  .donation-card,
  .section,
  .auth-main {
    padding-right: 22px;
    padding-left: 22px;
  }

  .home-hero,
  .auth-hero,
  .guide-hero,
  .about-hero,
  .updates-hero,
  .about-grid,
  .value-grid,
  .updates-summary-grid,
  .highlight-grid,
  .release-sections,
  .about-contact,
  .auth-box,
  .login-flow-card,
  .login-flow-visual,
  .auth-route-hint,
  .auth-method-grid,
  .auth-method-card,
  .donation-card,
  .guide-main,
  .guide-step,
  .guide-extra,
  .home-cta,
  .support-cta,
  .guide-cta,
  .wechat-section,
  .footer {
    grid-template-columns: 1fr;
  }

  .reason-grid,
  .ability-grid,
  .process-grid,
  .faq-grid,
  .operation-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .auth-visual,
  .guide-hero-visual {
    min-height: 470px;
  }

  .product-mock,
  .hero-mock,
  .guide-product,
  .about-product {
    right: auto;
    left: 0;
    transform: none;
  }

  .mock-body {
    grid-template-columns: 1fr;
  }

  .library-pane,
  .ai-pane {
    display: none;
  }

  .home-cta,
  .support-cta,
  .guide-cta,
  .wechat-section,
  .donation-card,
  .about-contact,
  .guide-main,
  .guide-extra {
    margin-right: 22px;
    margin-left: 22px;
  }

  .wechat-section img {
    width: 150px;
    height: 150px;
  }

  .donation-open {
    justify-self: start;
  }

  .auth-form-card {
    border-right: 0;
  }

  .guide-sidebar {
    border-right: 0;
  }

  .footer nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer p {
    text-align: left;
  }
}
