: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;
}

.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;
}

.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;
}

.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;
}

.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);
}

.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,
  .about-section,
  .legal-hero,
  .legal-wrap,
  .section,
  .auth-main {
    padding-right: 22px;
    padding-left: 22px;
  }

  .home-hero,
  .auth-hero,
  .guide-hero,
  .about-hero,
  .about-grid,
  .value-grid,
  .about-contact,
  .auth-box,
  .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,
  .about-contact,
  .guide-main,
  .guide-extra {
    margin-right: 22px;
    margin-left: 22px;
  }

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

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

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

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

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