:root {
  --bg: #f5f3ff;
  --surface: #ffffff;
  --border: #edebf3;
  --text: #252638;
  --muted: #6a5c9e;
  --primary: #a996e8;
  --primary-strong: #806bd0;
  --shadow: 0 24px 60px rgba(70, 54, 132, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  background: var(--bg);
}

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

.official-page {
  min-height: 100dvh;
  overflow: hidden;
}

.topbar {
  width: 100%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}

.topnav {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.topnav a:hover {
  color: var(--primary-strong);
}

.official-main {
  min-height: calc(100dvh - 68px);
}

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100dvh - 68px);
  display: grid;
  grid-template-columns: minmax(400px, 1fr) minmax(500px, 1fr);
  align-items: center;
  gap: 64px;
  margin: 0 auto;
  padding: 34px 0 64px;
}

.hero-copy {
  max-width: 500px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

h1,
p {
  margin-top: 0;
}

h1 {
  max-width: 480px;
  margin-bottom: 18px;
  font-size: 50px;
  line-height: 1.14;
  font-weight: 800;
}

.summary {
  max-width: 460px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--primary-strong);
  box-shadow: 0 12px 24px rgba(128, 107, 208, 0.22);
  font-size: 14px;
  font-weight: 700;
}

.button:hover {
  background: #705abf;
}

.download-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.download-size {
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
}

.download-icon {
  width: 14px;
  height: 16px;
  position: relative;
  border-bottom: 2px solid currentColor;
}

.download-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6px;
  width: 2px;
  height: 10px;
  background: currentColor;
}

.download-icon::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 3px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.hero-visual {
  min-width: 0;
}

.client-concept {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid #dfdbea;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(70, 54, 132, 0.18);
}

.concept-titlebar {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.concept-brand-logo {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: cover;
}

.concept-window-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.concept-window-controls span {
  width: 9px;
  height: 1px;
  background: #9d94b7;
}

.concept-window-controls span:nth-child(2) {
  height: 9px;
  border: 1px solid #9d94b7;
  background: transparent;
}

.concept-window-controls span:last-child {
  height: 9px;
  position: relative;
  background: transparent;
}

.concept-window-controls span:last-child::before,
.concept-window-controls span:last-child::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 9px;
  height: 1px;
  background: #9d94b7;
  transform: rotate(45deg);
}

.concept-window-controls span:last-child::after {
  transform: rotate(-45deg);
}

.concept-workspace {
  display: grid;
  grid-template-columns: 58px 1fr;
  height: calc(100% - 36px);
}

.concept-sidebar {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 17px;
  padding: 18px 0 12px;
  background: #faf9fe;
  border-right: 1px solid var(--border);
}

.sidebar-item {
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: #d5d0e4;
}

.sidebar-item.active {
  background: var(--primary-strong);
}

.sidebar-spacer {
  flex: 1;
}

.sidebar-avatar {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #d7ceef;
}

.concept-library {
  padding: 20px;
  background: #f5f3ff;
}

.concept-heading,
.concept-section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.concept-heading {
  margin-bottom: 16px;
}

.concept-heading span {
  width: 74px;
  height: 13px;
  border-radius: 3px;
  background: #3d3656;
}

.concept-heading i,
.concept-section-line i {
  width: 25px;
  height: 8px;
  border-radius: 3px;
  background: #d2cbe7;
}

.concept-banner {
  height: 26%;
  min-height: 70px;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 5px;
  background: #dcd4f6;
}

.banner-copy {
  position: absolute;
  z-index: 2;
  top: 19px;
  left: 19px;
  display: grid;
  gap: 8px;
}

.banner-copy span {
  width: 86px;
  height: 11px;
  border-radius: 3px;
  background: #5b4c91;
}

.banner-copy i {
  width: 54px;
  height: 7px;
  border-radius: 3px;
  background: rgba(91, 76, 145, 0.42);
}

.banner-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
}

.banner-shape.one {
  width: 140px;
  height: 140px;
  right: 11%;
  top: -63px;
}

.banner-shape.two {
  width: 110px;
  height: 110px;
  right: -24px;
  bottom: -58px;
  background: rgba(128, 107, 208, 0.34);
}

.concept-section-line {
  margin-bottom: 11px;
}

.concept-section-line span {
  width: 46px;
  height: 8px;
  border-radius: 2px;
  background: #71678d;
}

.concept-app-list {
  display: grid;
  gap: 8px;
}

.concept-app-list article {
  display: grid;
  grid-template-columns: 30px 1fr 30px;
  align-items: center;
  gap: 10px;
  min-height: 45px;
  padding: 7px 10px;
  border: 1px solid #e7e3f1;
  border-radius: 5px;
  background: #ffffff;
}

.concept-app-list b {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: #b8aae7;
}

.concept-app-list b.alt {
  background: #9fbee9;
}

.concept-app-list b.soft {
  background: #a8d5c7;
}

.concept-app-list div {
  display: grid;
  gap: 5px;
}

.concept-app-list span {
  width: 55%;
  height: 6px;
  border-radius: 3px;
  background: #756b91;
}

.concept-app-list i {
  width: 33%;
  height: 5px;
  border-radius: 3px;
  background: #d9d3e8;
}

.concept-app-list em {
  width: 28px;
  height: 16px;
  border-radius: 3px;
  background: #eeeafd;
}

.legal-body {
  min-height: 100dvh;
  overflow: auto;
  background: #f5f3ff;
}

.legal-topbar {
  width: 100%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 920px) / 2));
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.legal-back {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.legal-back:hover {
  color: var(--primary-strong);
}

.legal-main {
  width: min(860px, calc(100% - 48px));
  padding: 72px 0 92px;
  margin: 0 auto;
}

.legal-heading {
  padding-bottom: 34px;
  border-bottom: 1px solid #ddd8ec;
}

.legal-heading h1 {
  max-width: none;
  margin-bottom: 12px;
  font-size: 40px;
}

.legal-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-section {
  padding: 34px 0;
  border-bottom: 1px solid #e3deef;
}

.legal-section h2 {
  margin: 0 0 16px;
  color: #302b46;
  font-size: 21px;
  line-height: 1.35;
}

.legal-section h3 {
  margin: 24px 0 8px;
  color: #423c5b;
  font-size: 16px;
}

.legal-section p,
.legal-section li {
  margin: 0 0 12px;
  color: #5b5375;
  font-size: 15px;
  line-height: 1.9;
}

.legal-section p:last-child,
.legal-section li:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

@media (max-width: 900px) {
  .official-page {
    overflow: auto;
  }

  .official-main,
  .hero {
    min-height: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 42px 0;
  }

  .hero-copy {
    max-width: 560px;
  }

  h1 {
    max-width: 560px;
    font-size: 44px;
  }
}

@media (max-width: 540px) {
  .topbar,
  .hero {
    width: min(100% - 32px, 1180px);
  }

  .topbar {
    width: 100%;
    height: 60px;
    padding: 0 16px;
  }

  .hero {
    padding-top: 24px;
  }

  h1 {
    font-size: 36px;
  }

  .concept-library {
    padding: 14px;
  }

  .legal-topbar {
    height: 60px;
    padding: 0 16px;
  }

  .legal-main {
    width: min(100% - 32px, 860px);
    padding: 44px 0 64px;
  }

  .legal-heading h1 {
    font-size: 32px;
  }

  .legal-section {
    padding: 26px 0;
  }
}
}
