:root {
  color-scheme: light;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --page-width: 720px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #17191c;
  background: #eef0f3;
  font-synthesis: none;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #eef0f3;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #eef0f3;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

.home-shell {
  width: min(100%, var(--page-width));
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 0 44px rgb(19 28 38 / 8%);
}

.home-header {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 20px;
  border-bottom: 1px solid rgb(20 24 28 / 9%);
  background: #ffffff;
}

.home-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: #17191c;
  text-decoration: none;
}

.home-brand img {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.home-brand strong {
  overflow: hidden;
  font-size: 17px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-support {
  min-height: 44px;
  flex: 0 0 auto;
  align-content: center;
  border-bottom: 1px solid #989da3;
  color: #363a3f;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.home-brand:focus-visible,
.home-support:focus-visible {
  outline: 3px solid rgb(23 25 28 / 20%);
  outline-offset: 3px;
}

.home-media {
  position: relative;
  width: 100%;
  aspect-ratio: 343 / 417;
  overflow: hidden;
  border-bottom: 1px solid rgb(20 24 28 / 9%);
  background: #f5f6f7;
}

.home-product-video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #f5f6f7;
}

.home-media__summary {
  position: absolute;
  z-index: 4;
  top: 14%;
  right: 24px;
  left: 24px;
  text-align: center;
  text-shadow: 0 2px 10px rgb(15 22 31 / 82%), 0 0 2px rgb(15 22 31 / 92%);
  pointer-events: none;
}

.home-media__product-name {
  margin: 0;
  color: #ffffff;
  font-family: "Songti SC", STSong, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

.home-media__price {
  display: flex;
  min-height: 32px;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  margin: 7px 0 0;
  color: #ffffff;
  line-height: 1;
}

.home-media__price span {
  font-size: 16px;
  font-weight: 700;
}

.home-media__price strong {
  font-family: "DIN Alternate", "Helvetica Neue", sans-serif;
  font-size: 25px;
  font-weight: 700;
}

.home-media__price small {
  font-size: 12px;
  font-weight: 600;
}

.home-story {
  padding: 52px 28px;
  border-top: 1px solid rgb(20 24 28 / 10%);
}

.home-story__content {
  width: min(100%, 600px);
  margin: 0 auto;
}

.home-story--product {
  color: #202327;
  background: #f4f5f3;
}

.home-story--store {
  color: #f7f8f8;
  background: #1d2023;
}

.home-story__kicker {
  margin: 0 0 14px;
  color: #c74632;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.home-story h1,
.home-story h2 {
  max-width: 520px;
  margin: 0;
  font-family: "Songti SC", STSong, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.home-story__lead {
  margin: 22px 0 0;
  color: #3e4349;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.75;
}

.home-story__body {
  max-width: 580px;
  margin: 16px 0 0;
  color: #666c73;
  font-size: 15px;
  line-height: 1.9;
}

.home-story--store .home-story__body {
  color: #bfc3c7;
}

.home-service-list {
  margin: 36px 0 0;
  border-top: 1px solid rgb(255 255 255 / 16%);
}

.home-service-list > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.home-service-list dt,
.home-service-list dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.home-service-list dt {
  color: #8f959b;
}

.home-service-list dd {
  color: #f3f4f5;
}

.home-service-list a {
  color: inherit;
  text-underline-offset: 4px;
}

.home-purchase-bar {
  position: absolute;
  z-index: 4;
  top: 50%;
  bottom: auto;
  left: 50%;
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
}

.home-purchase-bar[hidden] {
  display: none;
}

#homePurchaseLink {
  display: inline-flex;
  width: auto;
  min-width: 176px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 34px;
  border: 1px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 5px rgb(15 22 31 / 72%);
  background: transparent;
  box-shadow: 0 4px 18px rgb(15 22 31 / 28%), inset 0 0 0 1px rgb(15 22 31 / 10%);
  transition: transform 160ms ease, opacity 160ms ease;
}

#homePurchaseLink:active {
  transform: scale(0.98);
}

#homePurchaseLink[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.45;
}

#homePurchaseLink:focus-visible {
  outline: 3px solid rgb(23 25 28 / 24%);
  outline-offset: 3px;
}

@media (max-width: 359px) {
  .home-story {
    padding-right: 22px;
    padding-left: 22px;
  }

  .home-service-list > div {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #homePurchaseLink {
    transition: none;
  }
}
