@font-face {
  font-family: 'Alimama ShuHeiTi';
  src: url('../fonts/AlimamaShuHeiTi-Bold.woff2') format('woff2'),
       url('../fonts/AlimamaShuHeiTi-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@layer reset, base, components, utilities;

@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    margin: 0;
  }

  img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
  }

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

  :focus-visible {
    outline: 2px solid rgba(140, 241, 255, 0.9);
    outline-offset: 2px;
  }
}

@layer base {
  :root {
    color-scheme: dark;
    --bg: #261c4e;
    --bg-deeper: #0d0a22;
    --panel: rgba(255, 255, 255, 0.06);
    --panel-2: rgba(255, 255, 255, 0.09);
    --stroke: rgba(255, 255, 255, 0.12);
    --text: #ffffff;
    --text-2: rgba(255, 255, 255, 0.72);
    --text-3: rgba(255, 255, 255, 0.6);
    --primary: #7864f6;
    --primary-2: rgba(120, 100, 246, 0.28);
    --accent: rgba(140, 241, 255, 1);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.32);
    --radius-lg: 18px;
    --radius-md: 14px;
    --container: 960px;
  }

  body {
    font-family: "MiSans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
      system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
  }

  .page {
    min-height: 1024px;
    position: relative;
    isolation: isolate;
    overflow: clip;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
  }

  .bg__gradient {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(
        900px 720px at 22% 20%,
        rgba(129, 164, 255, 0.42),
        rgba(38, 28, 78, 0)
      ),
      radial-gradient(
        720px 620px at 58% 12%,
        rgba(170, 141, 255, 0.55),
        rgba(38, 28, 78, 0)
      ),
      radial-gradient(
        900px 760px at 70% 54%,
        rgba(140, 241, 255, 0.22),
        rgba(38, 28, 78, 0)
      );
    filter: blur(16px) saturate(110%);
    opacity: 0.95;
    transform: translate3d(0, 0, 0);
  }

  .bg__gradient-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1024px;
  }

  .bg__gradient-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
  }

  .bg__map {
    position: absolute;
    inset: -6% -6% auto auto;
    width: min(960px, 92vw);
    opacity: 0.28;
    mix-blend-mode: screen;
    filter: blur(0.2px);
  }

  .bg__map--figma {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    mix-blend-mode: normal;
    filter: none;
    object-fit: none;
    object-position: center;
  }

  .skip-link {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    transform: translateY(-140%);
    transition: transform 180ms ease;
  }

  .skip-link:focus {
    transform: translateY(0);
  }
}

@layer components {
  .container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
  }

  .site-header {
    padding: 24px 0;
  }

  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
  }

  .brand__mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background:
      radial-gradient(12px 12px at 30% 30%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0)),
      linear-gradient(180deg, rgba(129, 164, 255, 0.9), rgba(120, 100, 246, 0.9));
    box-shadow: 0 10px 24px rgba(120, 100, 246, 0.35);
  }

  .brand__name {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.1;
  }

  .brand__name strong {
    font-weight: 700;
    letter-spacing: 0.2px;
  }

  .brand__name span {
    color: var(--text-3);
    font-size: 12px;
  }

  .nav__links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav__links a {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--text-2);
    border: 1px solid transparent;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  }

  .nav__links a:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text);
  }

  .nav__links a[aria-current="page"] {
    background: rgba(120, 100, 246, 0.18);
    border-color: rgba(120, 100, 246, 0.35);
    color: var(--text);
  }

  .hero {
    padding: 52px 0 56px;
  }

  .hero__grid {
    display: grid;
    grid-template-columns: 532px 1fr;
    gap: 80px;
    align-items: center;
  }

  .hero__title {
    margin: 0;
    font-size: clamp(38px, 4.9vw, 64px);
    line-height: 1.06;
    letter-spacing: -0.2px;
    font-family: "Alimama ShuHeiTi", "MiSans", "PingFang SC", system-ui, sans-serif;
  }

  .hero__lead {
    margin: 18px 0 0;
    color: var(--text-2);
    font-size: 16px;
    max-width: 46ch;
  }

  .cta-row {
    margin-top: 26px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.26);
  }

  .btn--primary {
    border-color: rgba(120, 100, 246, 0.55);
    background: linear-gradient(180deg, rgba(120, 100, 246, 1), rgba(120, 100, 246, 0.82));
    box-shadow: 0 18px 46px rgba(120, 100, 246, 0.32);
  }

  .btn--ghost {
    border-color: rgba(255, 255, 255, 0.12);
  }

  .btn__hint {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
  }

  .hero__device {
    border-radius: 20px;
    border: 4px solid #05041f;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow);
    overflow: hidden;
    width: min(360px, 100%);
    justify-self: center;
  }

  .hero__device img {
    display: block;
    width: 100%;
    height: auto;
  }

  .section {
    padding: 40px 0;
  }

  .section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
  }

  .section__title {
    margin: 0;
    font-size: 20px;
    letter-spacing: 0.2px;
  }

  .section__desc {
    margin: 0;
    color: var(--text-3);
    font-size: 14px;
  }

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

  .card {
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-soft);
    padding: 18px;
  }

  .card h3 {
    margin: 0;
    font-size: 16px;
  }

  .card p {
    margin: 10px 0 0;
    color: var(--text-2);
    font-size: 14px;
  }

  .site-footer {
    border-top: 1px solid rgba(187, 187, 187, 0.1);
    margin-top: 44px;
  }

  .footer__grid {
    padding: 32px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
  }

  .footer__meta {
    color: var(--text-3);
    font-size: 14px;
  }

  .footer__links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .footer__links a {
    color: rgba(255, 255, 255, 0.72);
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: background-color 160ms ease, border-color 160ms ease;
  }

  .footer__links a:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .content {
    padding: 28px 0 12px;
  }

  .content h1 {
    font-size: clamp(30px, 4vw, 44px);
    margin: 0;
    line-height: 1.12;
    letter-spacing: -0.2px;
    font-family: "Alimama ShuHeiTi", "MiSans", "PingFang SC", system-ui, sans-serif;
  }

  .content p {
    color: var(--text-2);
    max-width: 70ch;
  }

  .download-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .download-tile {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .download-tile__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
  }

  .pill {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 10px;
    border-radius: 999px;
    width: fit-content;
  }

  .page > main {
    flex: 1;
  }

  .headbar {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }

  .headbar__logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .headbar__logo img {
    display: block;
    width: 124px;
    height: 32px;
  }

  .headbar__right {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .headbar__divider {
    width: 1px;
    height: 11px;
    background: rgba(255, 255, 255, 0.3);
  }

  .headbar__right a {
    transition: opacity 200ms ease;
  }
  .headbar__right a:hover {
    opacity: 0.8;
  }

  .nav__lang {
    display: flex;
    align-items: center;
  }

  .lang {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    line-height: 20px;
    font-family: "PingFang SC", "MiSans", system-ui, sans-serif;
    color: #fefefe;
  }

  .lang summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    user-select: none;
    transition: opacity 200ms ease;
  }

  .lang summary:hover {
    opacity: 0.8;
  }

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

  .lang__icon {
    width: 16px;
    height: 16px;
    display: inline-block;
  }

  .lang__icon img {
    width: 100%;
    height: 100%;
    display: block;
  }

  .lang__arrow {
    width: 9.33px;
    height: 9.33px;
    display: inline-block;
  }

  .lang__arrow img {
    width: 100%;
    height: 100%;
    display: block;
  }

  .lang__panel {
    position: absolute;
    left: 1.33px;
    top: 24px;
    background: #000000;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 4px;
    display: grid;
    gap: 8px;
    min-width: 140px;
  }

  .lang__item {
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 14px;
    line-height: 20px;
    font-family: "MiSans", system-ui, sans-serif;
    text-decoration: none;
    display: block;
  }

  .lang__item--active {
    background: #261c4e;
    color: #ffffff;
  }

  .lang__item--muted {
    color: rgba(255, 255, 255, 0.6);
  }

  .lang__item--muted:hover {
    color: rgba(255, 255, 255, 0.85);
  }

  .home-hero {
    padding-top: 120px;
  }

  .home-hero__wrap {
    width: 809.11px;
    margin-inline: auto;
    display: flex;
    gap: 80px;
    align-items: flex-start;
  }

  .home-hero__shot {
    width: 197.11px;
    height: 426.81px;
    border-radius: 19.7218px;
    border: 4.3826px solid #05041f;
    overflow: hidden;
    flex: none;
  }

  .home-hero__shot img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .home-hero__content {
    width: 532px;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .home-hero__title {
    margin: 0;
    color: var(--basic-White-Black, #FFF);
    font-family: "Alimama ShuHeiTi", "MiSans", "PingFang SC", system-ui, sans-serif;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }

  .home-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 12px;
    background: #7864f6;
    color: #ffffff;
    font-family: "MiSans", system-ui, sans-serif;
    font-weight: 380;
    font-size: 16px;
    line-height: 24px;
    width: fit-content;
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .home-hero__cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
  }

  .devices {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .devices__label {
    margin: 0;
    font-family: "MiSans", system-ui, sans-serif;
    font-weight: 330;
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
  }

  .devices__list {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
  }

  .device-tile {
    width: 90px;
    padding: 12px;
    border-radius: 15px;
    background: rgba(38, 28, 78, 0.85);
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    text-align: center;
  }

  .device-tile__icon {
    width: 36px;
    height: 36px;
    display: block;
  }

  .device-tile__icon img {
    width: 100%;
    height: 100%;
    display: block;
  }

  .device-tile__name {
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #ffffff;
    line-height: 1.2;
  }

  .footer-figma {
    margin-top: auto;
    border-top: 1px solid rgba(187, 187, 187, 0.1);
  }

  .footer-figma__inner {
    width: 960px;
    margin-inline: auto;
    padding: 32px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
  }

  .footer-figma__left {
    width: 318px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .footer-figma__contact {
    width: 264px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .footer-figma__contact p {
    margin: 0;
    font-family: "MiSans", system-ui, sans-serif;
    font-weight: 330;
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.6);
  }

  .footer-figma__contact img {
    width: 264px;
    height: auto;
    display: block;
  }

  .footer-figma__contact-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
  }

  .footer-figma__contact-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background-color 180ms ease, border-color 180ms ease;
  }

  .footer-figma__contact-links a:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
  }

  .footer-figma__contact-links img {
    width: 18px;
    height: 18px;
    display: block;
  }

  .footer-figma__copy {
    margin: 0;
    font-family: "MiSans", system-ui, sans-serif;
    font-weight: 330;
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.6);
  }

  .footer-figma__nav {
    display: flex;
    gap: 48px;
  }

  .footer-figma__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 120px;
  }

  .footer-figma__col strong {
    font-family: "MiSans", system-ui, sans-serif;
    font-weight: 630;
    font-size: 18px;
    line-height: 24px;
    color: #ffffff;
  }

  .footer-figma__col a,
  .footer-figma__col span {
    font-family: "MiSans", system-ui, sans-serif;
    font-weight: 330;
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 200ms ease;
  }

  .footer-figma__col a:hover {
    color: rgba(255, 255, 255, 1);
  }

  /* ===== 帮助中心 ===== */
  .help-hero {
    padding: 80px 0 48px;
    text-align: center;
  }

  .help-hero__title {
    margin: 0;
    font-family: "Alimama ShuHeiTi", "MiSans", "PingFang SC", system-ui, sans-serif;
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
  }

  .help-hero__desc {
    margin: 14px 0 0;
    font-family: "MiSans", system-ui, sans-serif;
    font-weight: 330;
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.6);
  }

  .help-categories {
    max-width: 760px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 64px;
  }

  .help-category {
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
  }

  .help-category__title {
    margin: 0;
    padding: 20px 24px;
    font-family: "MiSans", system-ui, sans-serif;
    font-weight: 630;
    font-size: 18px;
    line-height: 24px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .faq {
    display: flex;
    flex-direction: column;
  }

  .faq__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .faq__item:last-child {
    border-bottom: none;
  }

  .faq__q {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 24px;
    cursor: pointer;
    user-select: none;
    font-family: "MiSans", system-ui, sans-serif;
    font-weight: 380;
    font-size: 15px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.85);
    transition: color 200ms ease, background-color 200ms ease;
  }

  .faq__q:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
  }

  .faq__q::-webkit-details-marker {
    display: none;
  }

  .faq__q::after {
    content: "";
    width: 16px;
    height: 16px;
    flex: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='rgba(255,255,255,0.6)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 220ms ease;
  }

  .faq__item[open] .faq__q {
    color: #ffffff;
    background: rgba(120, 100, 246, 0.08);
  }

  .faq__item[open] .faq__q::after {
    transform: rotate(180deg);
  }

  .faq__a {
    padding: 0 24px 18px;
    font-family: "MiSans", system-ui, sans-serif;
    font-weight: 330;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
  }

  .help-contact {
    max-width: 760px;
    margin-inline: auto;
    margin-bottom: 64px;
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(120, 100, 246, 0.12), rgba(120, 100, 246, 0.04));
    border: 1px solid rgba(120, 100, 246, 0.2);
    text-align: center;
  }

  .help-contact__title {
    margin: 0;
    font-family: "MiSans", system-ui, sans-serif;
    font-weight: 630;
    font-size: 18px;
    line-height: 24px;
    color: #ffffff;
  }

  .help-contact__desc {
    margin: 10px 0 0;
    font-family: "MiSans", system-ui, sans-serif;
    font-weight: 330;
    font-size: 14px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.6);
  }

  .help-contact__email {
    display: inline-block;
    margin-top: 8px;
    font-family: "Inter", "MiSans", system-ui, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    color: #7864f6;
    transition: opacity 200ms ease;
  }

  .help-contact__email:hover {
    opacity: 0.8;
  }

  /* ===== 隐私协议 ===== */
  .legal-hero {
    padding: 64px 0 0;
    text-align: center;
  }

  .legal-hero__title {
    margin: 0;
    font-family: "Alimama ShuHeiTi", "MiSans", "PingFang SC", system-ui, sans-serif;
    font-size: clamp(30px, 3.5vw, 44px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
  }

  .legal-hero__date {
    margin: 10px 0 0;
    font-family: "MiSans", system-ui, sans-serif;
    font-weight: 330;
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.45);
  }

  .legal-content {
    max-width: 720px;
    margin-inline: auto;
    padding: 40px 0 64px;
  }

  .legal-doc {
    font-family: "MiSans", system-ui, sans-serif;
    font-weight: 330;
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
  }

  .legal-doc h2 {
    margin: 36px 0 12px;
    font-family: "MiSans", system-ui, sans-serif;
    font-weight: 630;
    font-size: 20px;
    line-height: 1.3;
    color: #ffffff;
  }

  .legal-doc h2:first-child {
    margin-top: 0;
  }

  .legal-doc h3 {
    margin: 20px 0 8px;
    font-family: "MiSans", system-ui, sans-serif;
    font-weight: 590;
    font-size: 16px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.9);
  }

  .legal-doc p {
    margin: 8px 0;
  }

  .legal-doc ul,
  .legal-doc ol {
    margin: 8px 0;
    padding-left: 20px;
  }

  .legal-doc li {
    margin: 4px 0;
  }

  .legal-doc a {
    color: #7864f6;
    transition: opacity 200ms ease;
  }

  .legal-doc a:hover {
    opacity: 0.8;
  }

  .legal-doc hr {
    margin: 40px 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@layer utilities {
  .muted {
    color: var(--text-3);
  }

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

  /* 平板端适配 (Tablet) */
  @media (max-width: 980px) {
    :root {
      --container: 720px;
    }

    .hero__grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }

    .hero__device {
      width: min(380px, 100%);
      order: -1;
    }

    .feature-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
      grid-template-columns: 1fr;
    }

    .footer__links {
      justify-content: flex-start;
    }

    .page {
      min-height: 100svh;
    }

    .bg__gradient-img {
      width: 100%;
      height: 100%;
    }

    .bg__map--figma {
      left: 50%;
      top: 80px;
      transform: translateX(-50%);
      width: min(960px, 92vw);
      height: auto;
    }

    .home-hero {
      padding-top: 64px;
    }

    .home-hero__wrap {
      width: min(809.11px, calc(100% - 48px));
      flex-direction: column;
      gap: 48px;
      align-items: center;
    }

    .home-hero__content {
      width: 100%;
      max-width: 532px;
      align-items: center;
      text-align: center;
    }

    .home-hero__title {
      font-size: clamp(48px, 6vw, 64px);
    }
    
    .devices__list {
      justify-content: center;
    }

    .footer-figma__inner {
      width: min(960px, calc(100% - 48px));
      flex-direction: column;
      gap: 40px;
    }
    
    .footer-figma__left {
      width: 100%;
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-end;
    }
    
    .footer-figma__nav {
      width: 100%;
      justify-content: space-between;
    }

    .help-hero {
      padding: 64px 0 40px;
    }

    .help-categories {
      width: min(760px, calc(100% - 48px));
    }
  }

  /* 移动端适配 (Mobile) */
  @media (max-width: 520px) {
    :root {
      --container: 100%;
    }

    .container {
      width: calc(100% - 32px);
    }

    .nav__links {
      gap: 8px;
    }

    .nav__links a {
      padding: 10px 12px;
      /* 增加移动端触控区 */
    }

    .download-grid {
      grid-template-columns: 1fr;
    }

    .feature-grid {
      grid-template-columns: 1fr;
    }
    
    .home-hero {
      padding-top: 40px;
    }

    .home-hero__wrap {
      width: calc(100% - 32px);
      gap: 32px;
    }

    .home-hero__title {
      font-size: clamp(36px, 10vw, 48px);
    }
    
    .home-hero__cta {
      width: 100%;
      padding: 14px 32px;
      /* 移动端按钮加高 */
    }
    
    .devices__list {
      gap: 12px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
    }
    
    .device-tile {
      width: 100%;
      padding: 16px 12px;
    }
    
    .headbar {
      flex-direction: column;
      align-items: flex-start;
      gap: 20px;
    }
    
    .headbar__right {
      width: 100%;
      justify-content: space-between;
    }
    
    .lang__panel {
      right: 0;
      left: auto;
    }

    .footer-figma__inner {
      width: calc(100% - 32px);
      padding: 40px 0;
    }
    
    .footer-figma__left {
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
    }
    
    .footer-figma__nav {
      flex-direction: column;
      gap: 32px;
    }
    
    .footer-figma__col {
      width: 100%;
    }
    
    .footer-figma__col a,
    .footer-figma__col span {
      padding: 8px 0;
      display: block;
    }

    .help-hero {
      padding: 48px 0 32px;
    }

    .help-categories {
      width: calc(100% - 32px);
      gap: 14px;
      padding-bottom: 40px;
    }

    .help-category__title {
      padding: 16px 20px;
      font-size: 16px;
    }

    .faq__q {
      padding: 16px 20px;
      font-size: 14px;
      min-height: 44px;
    }

    .faq__a {
      padding: 0 20px 16px;
      font-size: 13px;
    }

    .help-contact {
      width: calc(100% - 32px);
      margin-bottom: 40px;
      padding: 24px 20px;
    }

    .legal-hero {
      padding: 40px 0 0;
    }

    .legal-content {
      width: calc(100% - 32px);
      padding: 28px 0 40px;
    }

    .legal-doc {
      font-size: 13px;
    }
  }
}
