:root {
  color-scheme: light;
  --ink: #111412;
  --muted: #6f746f;
  --line: #deded9;
  --paper: #fbfbf8;
  --white: #ffffff;
  --wash: #eef3f0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
}

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

img {
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  min-height: 88px;
  padding: 16px clamp(18px, 3.6vw, 54px);
  color: var(--ink);
  mix-blend-mode: multiply;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  flex: 0 0 auto;
}

.brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.2vw, 48px);
  margin-left: clamp(56px, 6vw, 110px);
  font-size: 13px;
  letter-spacing: 0;
  flex: 0 1 auto;
}

.nav a,
.nav-action {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav-action:hover {
  border-bottom-color: currentColor;
}

.nav-action {
  margin-left: auto;
  font-size: 13px;
}

.menu-button {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 8px 0;
  background: var(--ink);
}

.cover {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #e9ece7;
}

.cover picture,
.cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.04) 40%, rgba(0, 0, 0, 0.2));
}

.cover-copy {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 54%;
  width: min(720px, calc(100% - 36px));
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.28);
}

.cover-copy p,
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cover-copy h1,
.cover-copy h2 {
  margin: 0;
  font-size: clamp(54px, 10vw, 132px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

.cover-copy h2 {
  font-size: clamp(42px, 6vw, 84px);
}

.cover-copy a,
.text-link {
  display: inline-flex;
  margin-top: 22px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
}

.align-bottom {
  top: auto;
  bottom: 10svh;
  transform: translateX(-50%);
}

.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: var(--paper);
  white-space: nowrap;
}

.marquee p {
  display: inline-block;
  min-width: 100%;
  margin: 0;
  padding-left: 100%;
  color: var(--muted);
  font-size: 13px;
  animation: moveText 26s linear infinite;
}

@keyframes moveText {
  to {
    transform: translateX(-100%);
  }
}

.split-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  min-height: 92svh;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 140px) clamp(28px, 5vw, 76px);
}

.split-copy h2,
.catalog-head h2,
.section-title h2,
.editorial-section h2,
.app-band h2,
.legal h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.split-copy p,
.section-title p,
.editorial-section p,
.app-band p,
.legal p {
  max-width: 680px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.split-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 92svh;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.catalog-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(34px, 7vw, 110px);
  padding: clamp(76px, 9vw, 130px) clamp(22px, 5vw, 72px);
  background: #fff;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  border-top: 1px solid var(--ink);
}

.category-list a {
  min-height: 86px;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(24px, 4vw, 52px);
  font-weight: 600;
  line-height: 1;
}

.category-list a:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.category-list a:hover {
  background: var(--wash);
}

.cover-secondary {
  min-height: 88svh;
}

.products-section {
  padding: clamp(76px, 9vw, 128px) clamp(18px, 4vw, 54px);
  background: var(--paper);
}

.section-title {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  margin-bottom: 40px;
}

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

.product-grid article {
  min-width: 0;
}

.product-grid img {
  width: 100%;
  aspect-ratio: 3 / 4.15;
  object-fit: cover;
  background: #edf0ed;
}

.product-grid p {
  margin: 12px 0 5px;
  color: var(--muted);
  font-size: 11px;
}

.product-grid h3 {
  min-height: 42px;
  margin: 0 0 7px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.product-grid span {
  color: var(--ink);
  font-size: 13px;
}

.editorial-section,
.app-band {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(32px, 8vw, 130px);
  padding: clamp(76px, 10vw, 144px) clamp(22px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.app-band {
  align-items: end;
  background: var(--wash);
}

.app-links {
  display: grid;
  border-top: 1px solid var(--ink);
}

.app-links a {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 600;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 28px clamp(18px, 4vw, 54px);
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.footer strong {
  color: var(--ink);
}

.footer div {
  justify-self: end;
  display: flex;
  gap: 18px;
}

.legal {
  width: min(920px, calc(100% - 44px));
  margin: 0 auto;
  padding: 130px 0 82px;
}

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

.legal h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.updated {
  margin-bottom: 46px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.support-grid section {
  padding: 24px;
  background: var(--wash);
  border: 1px solid var(--line);
}

@media (max-width: 980px) {
  .site-header {
    display: grid;
    grid-template-columns: 54px 1fr 54px;
    min-height: 72px;
  }

  .brand {
    justify-self: center;
  }

  .nav {
    margin-left: 0;
  }

  .menu-button {
    display: block;
  }

  .nav {
    position: fixed;
    left: 0;
    top: 72px;
    display: none;
    width: min(360px, 100%);
    min-height: calc(100svh - 72px);
    padding: 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: rgba(251, 251, 248, 0.96);
    border-right: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-action {
    font-size: 0;
  }

  .nav-action::after {
    content: "支持";
    font-size: 16px;
  }

  .nav-static {
    position: static;
    display: flex;
    width: auto;
    min-height: 0;
    padding: 0;
    flex-direction: row;
    background: transparent;
    border-right: 0;
  }

  .split-section,
  .catalog-section,
  .section-title,
  .editorial-section,
  .app-band,
  .footer {
    grid-template-columns: 1fr;
  }

  .split-media {
    min-height: 62svh;
  }

  .split-media img {
    min-height: 420px;
  }

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

  .footer div,
  .footer span {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .brand span {
    font-size: 18px;
  }

  .cover {
    min-height: 92svh;
  }

  .cover-copy h1 {
    font-size: 58px;
  }

  .cover-copy h2 {
    font-size: 38px;
  }

  .split-media {
    grid-template-columns: 1fr;
  }

  .split-media img {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .category-list {
    grid-template-columns: 1fr;
  }

  .category-list a:nth-child(odd) {
    border-right: 0;
  }

  .product-grid {
    gap: 10px;
  }

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