:root {
  --ink: #101318;
  --ink-soft: #27313d;
  --muted: #66717f;
  --line: #e7ebef;
  --paper: #ffffff;
  --soft: #f6f8fa;
  --gold: #ffd200;
  --gold-dark: #b98500;
  --red: #e42f35;
  --teal: #36aeb7;
  --blue: #3268d8;
  --green: #279963;
  --shadow: 0 26px 72px rgba(16, 19, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

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

.mobile-only,
.tablet-only,
.mobile-quick-links,
.mobile-dock {
  display: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 72px;
  color: #fff;
  transition: background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(16, 19, 24, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.download-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.nav-links {
  gap: 32px;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a,
.header-action {
  opacity: 0.88;
}

.nav-links a:hover,
.header-action:hover {
  opacity: 1;
}

.header-action {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background: #111;
}

.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-shade {
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 210, 0, 0.28), transparent 24%),
    radial-gradient(circle at 74% 72%, rgba(54, 174, 183, 0.22), transparent 30%),
    linear-gradient(135deg, #06080a 0%, #11161d 48%, #1b1c16 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 0.72fr);
  align-items: center;
  gap: 92px;
  width: min(1360px, calc(100% - 112px));
  min-height: 760px;
  margin: 0 auto;
  padding: 112px 0 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--gold-dark);
}

.hero h1 {
  margin: 0;
  font-size: 96px;
  line-height: 0.98;
  font-weight: 900;
}

.hero-lede {
  width: min(620px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 21px;
  line-height: 1.76;
  font-weight: 500;
}

.device-copy {
  width: min(560px, 100%);
  margin-top: 18px;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 700;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
}

.primary-btn {
  color: #161616;
  background: var(--gold);
}

.secondary-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.product-panel {
  padding: 30px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.panel-brand img {
  width: 64px;
  height: 64px;
  border-radius: 15px;
}

.panel-brand strong,
.panel-brand span {
  display: block;
}

.panel-brand strong {
  font-size: 24px;
  font-weight: 900;
}

.panel-brand span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

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

.entry-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 168px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.entry-grid article::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: auto;
  background: var(--gold);
}

.entry-grid em {
  flex: 0 0 auto;
  color: var(--gold-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.entry-grid strong {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 900;
}

.entry-grid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.stats-band div {
  min-height: 124px;
  padding: 28px 46px;
  background: var(--paper);
}

.stats-band strong,
.stats-band span {
  display: block;
}

.stats-band strong {
  font-size: 20px;
  font-weight: 900;
}

.stats-band span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.section {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
  padding: 108px 0;
}

.feature-split,
.mall {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 68px;
  align-items: start;
}

.section-copy h2,
.section-heading h2,
.download h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.16;
  font-weight: 900;
}

.section-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.download p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

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

.feature-grid article,
.product-card,
.post-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-grid article {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 24px;
}

.feature-index {
  display: block;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.feature-grid h3,
.product-card h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.feature-grid p,
.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-grid p {
  margin-top: auto;
}

.community {
  width: 100%;
  padding-left: max(48px, calc((100% - 1180px) / 2));
  padding-right: max(48px, calc((100% - 1180px) / 2));
  background: var(--soft);
}

.section-heading {
  width: min(760px, 100%);
}

.feed-preview {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
  margin-top: 34px;
}

.post-card {
  display: block;
  min-height: 168px;
  padding: 24px;
}

.post-card.large {
  grid-row: span 2;
}

.post-card strong {
  display: block;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}

.post-card p {
  color: #3c4652;
  line-height: 1.7;
}

.post-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.module-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 2px;
}

.module-panel span {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 28px;
}

.product-card span {
  display: inline-flex;
  padding: 4px 9px;
  color: #6a4c00;
  background: #fff4bf;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.product-card h3,
.product-card p {
  margin-left: 0;
  margin-right: 0;
}

.product-card h3 {
  margin-top: 28px;
}

.download {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto 80px;
  padding: 64px;
  color: #fff;
  background: #11161d;
  border-radius: 8px;
}

.download-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  max-width: 360px;
}

.download-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 48px;
  padding: 0 18px;
  color: #11161d;
  background: #fff;
  border-radius: 999px;
  font-weight: 900;
}

.download-actions a:first-child {
  background: var(--gold);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 72px;
  border-top: 1px solid var(--line);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span,
.site-footer p {
  margin: 4px 0 0;
  color: var(--muted);
}

.footer-meta a {
  color: inherit;
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--text);
}

@media (min-width: 961px) and (max-width: 1180px) {
  .desktop-only {
    display: none;
  }

  .tablet-only {
    display: block;
  }

  .site-header {
    height: 68px;
    padding: 0 36px;
  }

  .nav-links {
    gap: 20px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    width: calc(100% - 72px);
    min-height: 720px;
    padding: 104px 0 56px;
  }

  .hero h1 {
    font-size: 76px;
  }

  .hero-lede {
    font-size: 19px;
  }

  .product-panel {
    padding: 24px;
  }

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

  .entry-grid article {
    min-height: 150px;
    padding: 18px;
  }

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

  .stats-band div {
    min-height: 110px;
    padding: 24px 36px;
  }

  .section,
  .download {
    width: calc(100% - 72px);
  }

  .section {
    padding: 88px 0;
  }

  .feature-split,
  .mall {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section-copy h2,
  .section-heading h2,
  .download h2 {
    font-size: 42px;
  }

  .community {
    padding-left: 36px;
    padding-right: 36px;
  }

  .feed-preview {
    grid-template-columns: 1fr 1fr;
  }

  .post-card.large {
    grid-column: span 2;
    grid-row: auto;
  }

  .site-footer {
    padding-left: 36px;
    padding-right: 36px;
  }
}

@media (max-width: 960px) {
  .desktop-only,
  .tablet-only,
  .nav-links {
    display: none;
  }

  .mobile-only:not(.mobile-dock) {
    display: block;
  }

  body {
    padding-bottom: 78px;
  }

  .site-header {
    height: 60px;
    padding: 0 16px;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .header-action {
    min-height: 36px;
    padding: 0 13px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
  }

  .hero-shade {
    background:
      radial-gradient(circle at 70% 18%, rgba(255, 210, 0, 0.24), transparent 26%),
      linear-gradient(150deg, #06080a 0%, #11161d 68%, #1b1c16 100%);
  }

  .hero-content {
    display: block;
    width: calc(100% - 32px);
    min-height: 0;
    padding: 92px 0 34px;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 46px;
    line-height: 1.04;
  }

  .hero-lede {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.72;
  }

  .device-copy {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .primary-btn,
  .secondary-btn {
    min-height: 44px;
    padding: 0 14px;
    font-size: 14px;
  }

  .mobile-quick-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
  }

  .mobile-quick-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    backdrop-filter: blur(12px);
  }

  .product-panel {
    margin-top: 22px;
    padding: 16px;
  }

  .panel-brand img {
    width: 46px;
    height: 46px;
  }

  .panel-brand strong {
    font-size: 18px;
  }

  .entry-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .entry-grid article {
    min-height: 0;
    padding: 16px;
  }

  .entry-grid em {
    font-size: 11px;
  }

  .entry-grid strong {
    margin-top: 0;
    font-size: 16px;
  }

  .entry-grid span {
    margin-top: 4px;
    font-size: 13px;
  }

  .stats-band {
    grid-template-columns: 1fr;
    gap: 0;
    background: #fff;
  }

  .stats-band div {
    min-height: auto;
    padding: 18px 16px;
    border-bottom: 1px solid var(--line);
  }

  .stats-band strong {
    font-size: 17px;
  }

  .stats-band span {
    margin-top: 4px;
    font-size: 14px;
  }

  .section,
  .download {
    width: calc(100% - 32px);
  }

  .section {
    padding: 64px 0;
  }

  .feature-split,
  .mall,
  .download {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-copy h2,
  .section-heading h2,
  .download h2 {
    font-size: 30px;
    line-height: 1.22;
  }

  .section-copy p:not(.eyebrow),
  .section-heading p:not(.eyebrow),
  .download p:not(.eyebrow) {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.72;
  }

  .feature-grid,
  .product-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-grid article {
    min-height: 0;
    padding: 18px;
  }

  .feature-grid h3,
  .product-card h3 {
    font-size: 18px;
  }

  .community {
    padding-left: 16px;
    padding-right: 16px;
  }

  .feed-preview {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .post-card,
  .post-card.large {
    grid-row: auto;
    min-height: auto;
    padding: 16px;
  }

  .download {
    margin-bottom: 24px;
    padding: 28px 20px;
  }

  .download-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: none;
  }

  .download-actions a {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 16px 34px;
  }

  .mobile-dock {
    position: fixed;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px;
    background: rgba(17, 22, 29, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
  }

  .mobile-dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    color: #fff;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 900;
    transition: background 0.18s ease, color 0.18s ease;
  }

  .mobile-dock a.is-active {
    color: #151515;
    background: var(--gold);
  }
}

@media (max-width: 360px) {
  .brand span {
    display: none;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .entry-grid article {
    padding: 14px;
  }
}
