@font-face {
  font-family: "MingShi Brand Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-han-serif-brand-regular.woff2") format("woff2");
}

@font-face {
  font-family: "MingShi Brand Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/source-han-serif-brand-bold.woff2") format("woff2");
}

:root {
  --ink: #111827;
  --muted: #667085;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --purple: #9333ea;
  --purple-dark: #7e22ce;
  --footer: #111827;
  color-scheme: light;
  --font-brand: "MingShi Brand Serif", "Source Han Serif SC", "Source Han Serif CN", "Noto Serif CJK SC", "Songti SC", STSong, serif;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

body.auth-modal-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

img,
svg {
  display: block;
}

.page-width {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 20px 0 auto;
  z-index: 50;
  height: 60px;
  background: transparent;
  border: 0;
}

.nav-shell {
  width: min(100% - 48px, 960px);
  height: 100%;
  margin-inline: auto;
  padding: 0 10px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.54));
  box-shadow: 0 14px 34px rgba(91, 63, 160, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #161d2d;
  font-family: var(--font-brand);
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
}

.nav-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.main-nav,
.nav-actions {
  display: flex;
  align-items: center;
}

.main-nav {
  gap: 38px;
}

.main-nav a,
.nav-login {
  color: #5f6878;
  font-size: 15px;
  font-weight: 520;
  transition: color 160ms ease;
}

.main-nav a:hover,
.nav-login:hover {
  color: var(--ink);
}

.main-nav span {
  display: inline-block;
  margin-left: 4px;
  font-size: 18px;
  line-height: 0;
}

.nav-actions {
  gap: 16px;
}

.button {
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.menu-toggle:focus-visible,
summary:focus-visible,
.subscribe-form input:focus-visible,
.subscribe-form button:focus-visible {
  outline: 3px solid rgba(147, 51, 234, 0.28);
  outline-offset: 3px;
}

.button-small {
  min-height: 38px;
  padding-inline: 18px;
  border-radius: 10px;
  font-size: 14px;
}

.button-large {
  min-height: 54px;
  padding-inline: 32px;
  font-size: 16px;
}

.button-dark {
  color: #fff;
  background: #111827;
  border-color: #111827;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.14);
}

.button-dark:hover {
  background: #20293a;
}

.button-outline {
  color: var(--ink);
  background: #fff;
  border-color: #dfe3e8;
}

.button-outline:hover {
  border-color: #cbd1d9;
  background: #f9fafb;
}

.button-purple {
  color: #fff;
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 4px 10px rgba(147, 51, 234, 0.18);
}

.button-purple:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
}

.button-full {
  width: 100%;
  min-height: 56px;
  border-radius: 10px;
  font-size: 17px;
}

.button-glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.button-glass:hover {
  background: rgba(255, 255, 255, 0.15);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  padding: 196px 0 0;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: #101827;
  font-size: clamp(52px, 5.25vw, 76px);
  font-weight: 780;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: inherit;
}

.hero-description {
  margin: 30px auto 0;
  color: #737d8d;
  font-size: 20px;
  line-height: 1.55;
}

.hero-points {
  margin: 9px 0 0;
  color: #a442f1;
  font-size: 14px;
  font-weight: 650;
}

.button-row {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.button-row-left {
  justify-content: flex-start;
  margin-top: 26px;
}

.hero-note {
  margin: 23px 0 0;
  color: #838c9b;
  font-size: 14px;
}

.hero-aurora {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  width: 100%;
  height: 440px;
  opacity: 0.65;
  pointer-events: none;
}

.hero-preview {
  position: relative;
  z-index: 2;
  margin-top: 92px;
  padding-inline: 68px;
}

.hero-preview img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  aspect-ratio: 2560 / 1270;
  object-fit: cover;
  border: 1px solid #dfe4ea;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 28px 55px rgba(15, 23, 42, 0.16);
}

.preview-glow {
  position: absolute;
  inset: -18px 48px 0;
  border: 1px solid #eff0f4;
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  background: linear-gradient(180deg, rgba(244, 238, 255, 0.62), rgba(255, 255, 255, 0));
}

.section {
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.section-soft {
  background: #f8fafc;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 68px;
  text-align: center;
}

.section-heading.narrow {
  max-width: 650px;
}

.section-heading h2,
.faq-intro h2,
.cta-copy h2 {
  margin: 0;
  color: #111827;
  font-size: 42px;
  font-weight: 760;
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.section-heading p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.section-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #7e22ce;
  background: #f1e7fa;
}

.section-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.capability-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.capability-item {
  min-height: 268px;
  padding: 32px;
  border: 1px solid #e1e5eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.capability-item:hover {
  transform: translateY(-3px);
  border-color: #d9c5e9;
  box-shadow: 0 14px 30px rgba(62, 36, 88, 0.08);
}

.capability-icon {
  width: 48px;
  height: 48px;
  border: 1px solid #e8d9f3;
  border-radius: 13px;
  background: #f7f1fb;
  display: grid;
  place-items: center;
  color: #7e22ce;
}

.capability-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-item h3 {
  margin: 44px 0 12px;
  color: #111827;
  font-size: 21px;
  line-height: 1.35;
}

.capability-item p {
  max-width: 34ch;
  margin: 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.72;
}

.pricing-card {
  max-width: 860px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #dfe3e8;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.pricing-head {
  padding: 43px 48px 35px;
  text-align: center;
}

.pricing-head h3 {
  margin: 0;
  font-size: 25px;
}

.price {
  margin: 12px 0 9px !important;
  color: var(--purple) !important;
  font-size: 52px !important;
  font-weight: 800;
  line-height: 1.15 !important;
  letter-spacing: -0.04em;
}

.pricing-head > p:last-child,
.pricing-note {
  margin: 0;
  color: #7b8493;
  font-size: 14px;
  line-height: 1.6;
}

.pricing-body {
  padding: 38px 48px 30px;
  background: #f8fafc;
  border-top: 1px solid #edf0f3;
}

.pricing-body ul {
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 18px;
  list-style: none;
}

.pricing-body li {
  position: relative;
  padding-left: 38px;
  color: #465062;
  font-size: 16px;
}

.pricing-body li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: -2px;
  color: #22c55e;
  font-size: 23px;
  font-weight: 700;
}

.pricing-note {
  margin-top: 18px;
  text-align: center;
}

.section-examples {
  padding-bottom: 98px;
}

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

.example-grid article {
  min-height: 195px;
  padding: 28px;
  border: 1px solid #dfe3e8;
  border-radius: 13px;
  background: #fafbfc;
}

.example-grid h3 {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 1.3;
}

.example-grid p {
  margin: 0 0 20px;
  color: #667085;
  font-size: 14px;
  line-height: 1.6;
}

.example-grid a {
  color: #a43df0;
  font-size: 14px;
  font-weight: 650;
}

.example-grid a:hover {
  text-decoration: underline;
}

.pattern-bg {
  background-color: #fff;
  background-image: radial-gradient(#e7e9ed 1px, transparent 1px);
  background-size: 20px 20px;
}

.faq-section {
  padding: 95px 0 80px;
  border-top: 1px solid var(--line);
}

.faq-layout {
  display: block;
}

.faq-intro {
  margin-bottom: 42px;
  text-align: center;
}

.faq-intro h2 {
  margin: 0;
}

.faq-list {
  width: min(100%, 900px);
  margin-inline: auto;
}

.faq-list details {
  border-bottom: 1px solid #dfe3e8;
}

.faq-list summary {
  min-height: 77px;
  padding: 24px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #222938;
  font-size: 16px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.faq-list summary span::before,
.faq-list summary span::after {
  content: "";
  position: absolute;
  inset: 8px 0 auto;
  height: 1.5px;
  background: #98a1af;
  transition: transform 180ms ease;
}

.faq-list summary span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: rotate(0deg);
}

.faq-list details > p {
  margin: -9px 40px 24px 2px;
  color: #667085;
  font-size: 14px;
  line-height: 1.7;
}

.cta-section {
  padding: 125px 24px 98px;
}

.cta-card {
  position: relative;
  width: min(100%, 1070px);
  min-height: 310px;
  margin-inline: auto;
  padding: 60px 72px;
  overflow: hidden;
  border-radius: 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background-color: #111827;
  background-image: radial-gradient(rgba(126, 34, 206, 0.32) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.14);
}

.cta-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.cta-copy h2 {
  color: #fff;
}

.cta-copy p {
  margin: 22px 0 0;
  color: #c4cbd6;
  font-size: 17px;
}

.cta-pixels {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.cta-pixels i {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  background: #9333ea;
}

.cta-pixels i:nth-child(2) { opacity: 0.72; }
.cta-pixels i:nth-child(3) { opacity: 0.42; }

.site-footer {
  padding: 78px 0 34px;
  color: #fff;
  background: var(--footer);
  border-top: 1px solid #263042;
}

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

.auth-modal[hidden] {
  display: none !important;
}

.auth-modal [hidden] {
  display: none !important;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(12px) saturate(88%);
  -webkit-backdrop-filter: blur(12px) saturate(88%);
  cursor: pointer;
}

.auth-modal__card {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  max-height: min(760px, calc(100svh - 48px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.32), 0 4px 16px rgba(15, 23, 42, 0.14);
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.auth-modal.is-open .auth-modal__card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.auth-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #667085;
  background: #f4f5f7;
  cursor: pointer;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease;
}

.auth-modal__close:hover {
  color: #111827;
  background: #e9ebef;
}

.auth-modal__header {
  min-height: 134px;
  padding: 30px 66px 24px 30px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-bottom: 1px solid #edf0f3;
  background: linear-gradient(125deg, #faf8ff 0%, #fff 72%);
}

.auth-modal__logo {
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 9px 18px rgba(147, 51, 234, 0.18);
}

.auth-modal__eyebrow {
  margin: 2px 0 5px;
  color: #9333ea;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.auth-modal__header h2 {
  margin: 0;
  color: #111827;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.auth-modal__header div > p:last-child {
  margin: 7px 0 0;
  color: #7a8493;
  font-size: 12px;
  line-height: 1.6;
}

.auth-modal__body {
  padding: 26px 30px 30px;
}

.auth-modal__loading {
  min-height: 240px;
  display: grid;
  place-content: center;
  grid-auto-flow: column;
  gap: 9px;
  color: #7a8493;
  font-size: 14px;
}

.auth-modal__loading span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9333ea;
  animation: auth-modal-pulse 1.1s ease-in-out infinite;
}

@keyframes auth-modal-pulse {
  50% { opacity: 0.35; transform: scale(0.7); }
}

.auth-modal__form {
  display: grid;
  gap: 17px;
}

.auth-modal__methods {
  margin-bottom: 20px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  border-radius: 12px;
  background: #f1f4f8;
}

.auth-modal__method {
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #667085;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.auth-modal__method.is-active {
  background: #fff;
  color: #111827;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .09);
}

.auth-modal__wechat {
  text-align: center;
}

.auth-modal__qr-stage {
  width: 220px;
  height: 220px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}

.auth-modal__qr-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.auth-modal__qr-placeholder {
  padding: 20px;
  color: #94a3b8;
  font-size: 13px;
}

.auth-modal__qr-title {
  margin: 0 0 6px;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.auth-modal__wechat .auth-modal__status {
  min-height: 18px;
  margin: 0;
  line-height: 1.5;
}

.auth-modal__wechat .auth-modal__note {
  margin-top: 18px;
  line-height: 1.6;
}

.auth-modal__qr-refresh {
  margin: 12px auto 0;
}

.auth-modal__consent {
  width: min(100%, 350px);
  margin: 16px auto 0;
  padding: 11px 13px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border: 1px solid #e2e7ee;
  border-radius: 10px;
  background: #f8fafc;
  text-align: left;
}

.auth-modal__consent input {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: #9333ea;
}

.auth-modal__consent p {
  margin: 0;
  color: #778195;
  font-size: 11px;
  line-height: 1.65;
}

.auth-modal__consent label {
  cursor: pointer;
}

.auth-modal__consent a {
  color: #7e22ce;
  text-decoration: underline;
  text-decoration-color: rgba(126, 34, 206, .28);
  text-underline-offset: 2px;
}

.auth-modal__consent a:hover {
  text-decoration-color: currentColor;
}

.auth-modal__field {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 650;
}

.auth-modal__field > input,
.auth-modal__code-row > input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d8dde5;
  border-radius: 10px;
  outline: none;
  color: #111827;
  background: #fff;
  font-size: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.auth-modal__field > input:focus,
.auth-modal__code-row > input:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.13);
}

.auth-modal__field > input[aria-invalid="true"],
.auth-modal__code-row > input[aria-invalid="true"] {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.auth-modal__code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.auth-modal__secondary-button,
.auth-modal__submit {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.auth-modal__secondary-button {
  border: 1px solid #d8dde5;
  color: #4b5565;
  background: #fff;
  white-space: nowrap;
}

.auth-modal__secondary-button:hover:not(:disabled) {
  border-color: #c4a0eb;
  background: #faf7ff;
}

.auth-modal__submit {
  width: 100%;
  border: 1px solid #7e22ce;
  color: #fff;
  background: linear-gradient(110deg, #9333ea, #7e22ce);
  box-shadow: 0 8px 18px rgba(126, 34, 206, 0.22);
}

.auth-modal__submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(126, 34, 206, 0.26);
}

.auth-modal__secondary-button:disabled,
.auth-modal__submit:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.auth-modal__status {
  min-height: 18px;
  margin: -7px 0 -4px;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}

.auth-modal__status.is-error {
  color: #c03329;
}

.auth-modal__note {
  margin: 18px 0 0;
  color: #98a1af;
  font-size: 11px;
  text-align: center;
}

.auth-modal__message {
  min-height: 240px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.auth-modal__message-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #16804e;
  background: #e8f7ef;
  font-size: 26px;
  font-weight: 700;
}

.auth-modal__message-icon--error {
  color: #c03329;
  background: #fcebea;
}

.auth-modal__message h3 {
  margin: 0;
  color: #111827;
  font-size: 22px;
}

.auth-modal__message p {
  margin: 9px 0 22px;
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
}

.auth-modal__message .auth-modal__secondary-button {
  min-width: 126px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  margin-bottom: 70px;
}

.footer-brand-column {
  padding-right: 64px;
  border-right: 1px solid #273142;
}

.footer-contact h2 {
  margin: 3px 0 28px;
  color: #fff;
  font-size: 22px;
  line-height: 1.3;
}

.footer-contact address {
  display: grid;
  gap: 17px;
  color: #a5afbf;
  font-size: 15px;
  font-style: normal;
  line-height: 1.7;
}

.footer-contact address p {
  margin: 0;
}

.footer-contact address span {
  color: #d4dae3;
  font-weight: 650;
}

.footer-contact address a {
  color: inherit;
  transition: color 160ms ease;
}

.footer-contact address a:hover {
  color: #fff;
}

.brand-light {
  margin-bottom: 46px;
  color: #fff;
}

.footer-brand-column > p {
  margin: 0 0 18px;
  color: #8f98a8;
  font-size: 14px;
}

.subscribe-form {
  max-width: 500px;
  display: flex;
}

.subscribe-form input {
  min-width: 0;
  flex: 1;
  height: 44px;
  padding: 0 16px;
  color: #fff;
  background: #202a3a;
  border: 1px solid #374155;
  border-right: 0;
  border-radius: 6px 0 0 6px;
}

.subscribe-form input::placeholder {
  color: #d1d5dc;
}

.subscribe-form button {
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 0 6px 6px 0;
  color: #182030;
  background: #fff;
  font-weight: 650;
  cursor: pointer;
}

.subscribe-status {
  min-height: 19px;
  margin: 8px 0 0 !important;
  color: #bca5f7 !important;
}

.footer-thumbnails {
  max-width: 410px;
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.footer-thumbnails img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
}

.footer-links {
  padding-left: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
}

.footer-links h3 {
  margin: 3px 0 28px;
  font-size: 15px;
}

.footer-links a {
  width: fit-content;
  margin-bottom: 18px;
  display: block;
  color: #939cab;
  font-size: 14px;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 29px;
  border-top: 1px solid #283244;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7f8999;
  font-size: 13px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.social-links a {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #8f98a8;
  font-size: 13px;
  font-weight: 750;
}

.wechat-symbol {
  width: 24px;
  height: 24px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1100px) {
  .main-nav { gap: 24px; }
  .nav-panel { gap: 28px; }
  .nav-actions .button-outline { display: none; }
  .hero-aurora { height: 420px; }
  .capability-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .capability-item { min-height: 250px; padding: 30px; }
  .footer-brand-column { padding-right: 36px; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 68px; }
  .page-width { width: min(100% - 32px, 680px); }
  .site-header { inset-block-start: 14px; height: 54px; }
  .nav-shell { width: calc(100% - 32px); padding-inline: 10px; border-radius: 14px; }
  .menu-toggle { display: flex; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-panel {
    position: fixed;
    inset: 68px 0 auto;
    max-height: calc(100vh - 68px);
    padding: 22px 20px 28px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    display: none;
  }
  .nav-panel.is-open { display: block; }
  .main-nav,
  .nav-actions { align-items: stretch; flex-direction: column; gap: 0; }
  .main-nav a,
  .nav-login { padding: 14px 8px; border-bottom: 1px solid #eef0f3; }
  .nav-actions { margin-top: 16px; gap: 10px; }
  .nav-actions .button-outline { display: inline-flex; }
  .hero { padding-top: 140px; }
  .hero h1 { font-size: clamp(42px, 10vw, 60px); }
  .hero-description { font-size: 17px; }
  .desktop-only { display: none; }
  .hero-aurora { height: 360px; opacity: 0.92; }
  .hero-preview { padding-inline: 0; margin-top: 70px; }
  .preview-glow { inset-inline: -12px; }
  .section { padding: 84px 0; }
  .section-heading h2,
  .faq-intro h2,
  .cta-copy h2 { font-size: 35px; }
  .capability-index { gap: 18px; }
  .capability-item { min-height: 240px; }
  .example-grid { grid-template-columns: 1fr; gap: 18px; }
  .example-grid article { min-height: auto; }
  .cta-section { padding-block: 80px; }
  .cta-card { padding: 48px; }
  .cta-pixels { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-brand-column { padding: 0 0 44px; border-right: 0; border-bottom: 1px solid #273142; }
  .brand-light { margin-bottom: 28px; }
  .footer-links { padding-left: 0; }
}

@media (max-width: 560px) {
  .brand { font-size: 19px; }
  .hero { padding-top: 122px; }
  .hero h1 { font-size: 40px; line-height: 1.1; }
  .hero-description { margin-top: 24px; font-size: 16px; }
  .hero-points { line-height: 1.7; }
  .button-row { flex-direction: column; gap: 12px; }
  .button-row .button { width: 100%; }
  .hero-aurora { height: 300px; opacity: 0.88; }
  .hero-preview { margin-top: 56px; }
  .hero-preview img { border-radius: 12px 12px 0 0; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2,
  .faq-intro h2,
  .cta-copy h2 { font-size: 31px; }
  .section-heading p { font-size: 16px; }
  .capability-index { grid-template-columns: 1fr; gap: 14px; }
  .capability-item { min-height: 0; padding: 26px; }
  .capability-icon { width: 44px; height: 44px; border-radius: 12px; }
  .capability-icon svg { width: 22px; height: 22px; }
  .capability-item h3 { margin-top: 26px; font-size: 20px; }
  .capability-item p { font-size: 15px; }
  .pricing-head { padding: 36px 22px 30px; }
  .price { font-size: 42px !important; }
  .pricing-body { padding: 30px 22px 24px; }
  .pricing-body li { padding-left: 32px; font-size: 15px; }
  .faq-section { padding-top: 72px; }
  .faq-intro { margin-bottom: 32px; }
  .faq-list summary { min-height: 70px; }
  .cta-section { padding: 64px 16px; }
  .cta-card { min-height: auto; padding: 38px 26px; border-radius: 20px; }
  .cta-copy p { line-height: 1.6; }
  .site-footer { padding-top: 60px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .footer-thumbnails { gap: 8px; }
  .subscribe-form { flex-direction: column; gap: 10px; }
  .subscribe-form input,
  .subscribe-form button { width: 100%; border: 1px solid #374155; border-radius: 6px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 20px; }
  .auth-modal { padding: 16px; }
  .auth-modal__card { max-height: calc(100svh - 32px); border-radius: 18px; }
  .auth-modal__header { min-height: 0; padding: 24px 56px 20px 22px; gap: 11px; }
  .auth-modal__logo { width: 30px; height: 30px; border-radius: 11px; }
  .auth-modal__header h2 { font-size: 24px; }
  .auth-modal__header div > p:last-child { font-size: 11px; }
  .auth-modal__close { top: 12px; right: 12px; }
  .auth-modal__body { padding: 22px; }
  .auth-modal__loading,
  .auth-modal__message { min-height: 210px; }
  .auth-modal__code-row { grid-template-columns: 1fr; }
  .auth-modal__secondary-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
