@font-face {
  font-family: "DingTalk JinBuTi";
  src: url("./assets/fonts/DingTalk-JinBuTi.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --page-bg: #f0efff;
  --ink: #111032;
  --muted: #35335b;
  --purple: #7866f5;
  --purple-deep: #6d5bf2;
  --green: #85ed6e;
  --card: #fffefa;
}

* {
  box-sizing: border-box;
}

html {
  background: #f7f7ff;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: start center;
  background:
    radial-gradient(circle at 50% 0%, rgba(210, 204, 255, 0.35), transparent 42%),
    #f7f7ff;
  color: var(--ink);
  font-family:
    "DingTalk JinBuTi",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}

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

.site-page {
  width: min(100vw, 375px);
  min-height: 811px;
  padding: 34px 12px 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(242, 241, 255, 0.94), rgba(246, 245, 255, 0.98)),
    var(--page-bg);
}

.hero {
  position: relative;
  padding: 0 10px;
}

h1 {
  margin: 0 0 6px;
  font-size: 29px;
  line-height: 1.06;
  letter-spacing: 0;
}

.slogan {
  position: relative;
  z-index: 1;
  width: max-content;
  max-width: 100%;
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: 0;
}

.slogan span {
  position: relative;
  display: inline-block;
  padding: 0 2px;
}

.slogan span::before {
  position: absolute;
  z-index: -1;
  inset: 9px -1px 2px;
  display: block;
  content: "";
  background: var(--green);
}

.intro-card {
  position: relative;
  min-height: 108px;
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 108px 1fr;
  align-items: center;
  gap: 4px;
  padding: 14px 15px 12px;
  border-radius: 15px 15px 3px 3px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(114, 99, 210, 0.08);
}

.intro-card p {
  margin: 0;
  color: var(--muted);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 5.5px;
  font-weight: 600;
  line-height: 1.85;
  letter-spacing: 0;
}

.watch {
  width: 120px;
  max-width: none;
  justify-self: center;
  transform: translateY(-25px);
  filter: drop-shadow(0 12px 18px rgba(69, 55, 144, 0.18));
}

.pill-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: -22px;
  padding: 0 0 8px;
}

.pill {
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--purple-deep);
  box-shadow: 0 7px 12px rgba(92, 72, 201, 0.16);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.pill.active {
  background: linear-gradient(180deg, #8978ff 0%, #725ff0 100%);
  color: #fff;
}

.screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px 10px;
  margin-top: 10px;
}

.phone-shot {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 10px 18px rgba(88, 73, 173, 0.05);
}

.phone-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer {
  margin-top: 24px;
  padding: 18px 8px 8px;
  border-top: 1px solid rgba(120, 102, 245, 0.12);
  text-align: center;
  color: rgba(53, 51, 91, 0.58);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 10px;
  line-height: 1.4;
}

.company-name {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
}

.site-footer a {
  color: inherit;
}

.legal-page {
  min-height: 100vh;
  padding: 22px 14px 18px;
  overflow: visible;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  height: 30px;
  margin-bottom: 12px;
  color: var(--purple-deep);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.legal-card {
  padding: 20px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(88, 73, 173, 0.08);
}

.legal-card header {
  margin-bottom: 18px;
}

.legal-kicker,
.legal-updated,
.legal-card p {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.legal-kicker {
  margin: 0 0 8px;
  color: var(--purple-deep);
  font-size: 12px;
  font-weight: 700;
}

.legal-updated {
  margin: 8px 0 0;
  color: rgba(53, 51, 91, 0.58);
  font-size: 12px;
}

.legal-card section + section {
  margin-top: 18px;
}

.legal-card h1 {
  font-size: 26px;
}

.legal-card h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
}

@media (min-width: 520px) {
  body {
    padding: 28px 0;
  }

  .site-page {
    border-radius: 28px;
    box-shadow: 0 18px 60px rgba(64, 57, 124, 0.16);
  }
}
