/* tokens.css 与 components.css 由各页面 <link> 单独引入，勿用 @import */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #1a1f2e;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  display: flex;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}

body:not(.app-body):not(.website-page) {
  background:
    radial-gradient(circle at 84% 15%, rgba(80, 166, 255, 0.22), transparent 25rem),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 46%, #f8fbff 100%);
}

body.website-page {
  display: block;
  background: #f4f7fc;
}

body.app-body {
  background: #f2f4f8;
}

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

button {
  font: inherit;
  cursor: pointer;
}

input,
textarea {
  font: inherit;
}

.site-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

body:not(.app-body):not(.website-page) .site-shell {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 14%, rgba(95, 170, 255, 0.2), transparent 19rem),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 48%, #f8fbff 100%);
}

body.website-page .site-shell {
  max-width: none;
  overflow-x: clip;
  background: #f4f7fc;
}

body.app-body .site-shell {
  background: #f2f4f8;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  background: #c41e22;
  border: 3px solid #c41e22;
  border-radius: 50%;
}

.brand-logo {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: #092b73;
  font-size: clamp(18px, 5vw, 30px);
  font-weight: 900;
}

.brand small {
  display: block;
  color: #092b73;
  font-size: 10px;
  letter-spacing: 1.4px;
}
