/* Product page layouts; shared navigation, footer, buttons and focus live in site-theme.css. */
.product-page {
  --product-tint: #ecf5f0;
  --product-tint-deep: #dcece3;
  --product-line: rgba(23, 53, 60, 0.13);
  --product-width: 1160px;
  color: #17353c;
}

.product-keyboard {
  --product-tint: #f0eef8;
  --product-tint-deep: #e6e2f3;
}

.product-page main section[id],
.product-page .feature-card[id] {
  scroll-margin-top: 0;
}

.product-page .product-hero {
  position: relative;
  isolation: isolate;
  background: var(--product-tint);
}

.product-page .product-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 55% 80% at 86% 4%, rgba(255, 255, 255, 0.95), transparent 82%);
  content: "";
  pointer-events: none;
}

.product-page .hero-inner {
  display: grid;
  width: min(var(--product-width), calc(100% - 64px));
  min-height: 600px;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  align-items: center;
  gap: clamp(40px, 6vw, 92px);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 122px) 0;
}

.product-page .hero-copy,
.product-page .hero-card,
.product-page .section-heading > *,
.product-page .feature-card,
.product-page .offering-card {
  min-width: 0;
}

.product-page .eyebrow {
  margin: 0 0 18px;
  color: #2f675f;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.5;
}

.product-page h1,
.product-page h2,
.product-page h3 {
  color: #17353c;
  font-family: inherit;
  letter-spacing: -0.025em;
}

.product-page h1 {
  max-width: 13em;
  margin: 0 0 22px;
  font-size: clamp(2.5rem, 4.7vw, 4.65rem);
  font-weight: 650;
  line-height: 1.19;
  text-wrap: balance;
}

.product-page .hero-lead {
  max-width: 38em;
  margin: 0;
  color: #3d565c;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.85;
}

.product-page .hero-copy > p:not(.eyebrow):not(.hero-lead) {
  max-width: 44em;
  margin: 16px 0 0;
  color: #53676c;
  font-size: 0.875rem;
  line-height: 1.7;
}

.product-page .app-store-download {
  display: grid;
  width: fit-content;
  max-width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding: 16px 18px;
  border: 1px solid var(--product-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
}

.product-page .app-store-download-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.product-page .app-store-download-label {
  color: #53676c;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.55;
}

.product-page .app-store-badge-link {
  display: inline-block;
  line-height: 0;
}

.product-page .app-store-badge-link img {
  display: block;
  width: 136px;
  height: auto;
  max-width: 100%;
}

.product-page .app-store-page-link {
  color: #2f675f;
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.55;
  text-decoration: underline;
  text-decoration-color: rgba(47, 103, 95, 0.45);
  text-underline-offset: 4px;
}

.product-page .app-store-page-link:hover {
  color: #24554f;
  text-decoration-color: currentColor;
}

.product-page .app-store-qr-link {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #53676c;
  font-size: 0.75rem;
  line-height: 1.4;
}

.product-page .app-store-qr-link img {
  display: block;
  width: 96px;
  height: 96px;
  padding: 5px;
  border: 1px solid var(--product-line);
  border-radius: 9px;
  background: #fff;
}

.product-page .hero-actions,
.product-page .card-actions,
.product-page .closing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.product-page .hero-actions {
  margin-top: 24px;
}

.product-page .hero-card {
  padding: clamp(25px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 50px rgba(23, 53, 60, 0.055);
}

.product-page .hero-product {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}

.product-page .hero-product img {
  display: block;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: 19px;
  box-shadow: 0 8px 22px rgba(23, 53, 60, 0.13);
  object-fit: cover;
}

.product-page .hero-product strong {
  display: block;
  margin-bottom: 3px;
  color: #17353c;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 650;
  line-height: 1.3;
}

.product-page .hero-product span {
  color: #53676c;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.product-page .hero-card dl {
  margin: 0;
}

.product-page .hero-card dl > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--product-line);
}

.product-page .hero-card dt,
.product-page .hero-card dd {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
}

.product-page .hero-card dt {
  color: #53676c;
}

.product-page .hero-card dd {
  color: #17353c;
  font-weight: 550;
}

.product-page .content-section,
.product-page .privacy-section,
.product-page .closing-section {
  padding: clamp(76px, 8vw, 112px) max(32px, calc((100vw - var(--product-width)) / 2));
}

.product-page .content-section {
  background: #f8faf9;
}

.product-zhaoxu #plus {
  background: #fff;
}

.product-keyboard .content-section.alt {
  background: var(--product-tint);
}

.product-page .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 16px clamp(32px, 5.5vw, 78px);
  align-items: end;
  margin-bottom: 40px;
}

.product-page .section-heading .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.product-page h2 {
  max-width: 15em;
  margin: 0;
  font-size: clamp(2.15rem, 3.7vw, 3.45rem);
  font-weight: 650;
  line-height: 1.24;
  text-wrap: balance;
}

.product-page .section-heading > p:last-child {
  max-width: 40em;
  margin: 0 0 3px;
  color: #53676c;
  font-size: 1rem;
  line-height: 1.8;
}

.product-page .feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--product-line);
}

.product-page .feature-card {
  min-height: 218px;
  padding: 28px clamp(24px, 3.6vw, 42px) 34px;
  border-bottom: 1px solid var(--product-line);
}

.product-page .feature-card:nth-child(odd) {
  border-right: 1px solid var(--product-line);
}

.product-page .feature-card > span,
.product-page .privacy-fact > span {
  color: #2f675f;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.product-page .feature-card h3,
.product-page .workflow-list h3,
.product-page .privacy-fact h3 {
  margin: 30px 0 10px;
  font-size: clamp(1.25rem, 1.75vw, 1.5rem);
  font-weight: 650;
  line-height: 1.42;
}

.product-page .feature-card p,
.product-page .workflow-list p,
.product-page .privacy-fact p {
  max-width: 46em;
  margin: 0;
  color: #53676c;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.product-page .workflow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--product-line);
  list-style: none;
  counter-reset: workflow;
}

.product-page .workflow-list > li {
  min-width: 0;
  min-height: 240px;
  padding: 30px clamp(22px, 2.8vw, 36px) 34px;
  border-right: 1px solid var(--product-line);
  border-bottom: 1px solid var(--product-line);
  counter-increment: workflow;
}

.product-page .workflow-list > li:first-child {
  border-left: 1px solid var(--product-line);
}

.product-page .workflow-list > li::before {
  color: #2f675f;
  content: "0" counter(workflow);
  font-size: 0.75rem;
  font-weight: 700;
}

.product-page .workflow-list h3 {
  margin-top: 42px;
}

.product-page .privacy-section {
  background: var(--product-tint);
}

.product-keyboard .privacy-section {
  background: #fff;
}

.product-page .privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--product-line);
}

.product-page .privacy-fact {
  min-width: 0;
  min-height: 235px;
  padding: 30px clamp(22px, 2.8vw, 36px) 32px;
  border-right: 1px solid var(--product-line);
  border-bottom: 1px solid var(--product-line);
}

.product-page .privacy-fact:first-child {
  border-left: 1px solid var(--product-line);
}

.product-page .privacy-fact h3 {
  margin-top: 42px;
}

.product-page .offering-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-page .offering-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--product-line);
  border-radius: 18px;
  background: #fff;
}

.product-page .offering-card:nth-child(2) {
  background: var(--product-tint);
}

.product-page .offering-card .card-label {
  margin: 0 0 20px;
  color: #2f675f;
  font-size: 0.8rem;
  font-weight: 700;
}

.product-page .offering-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 650;
  line-height: 1.4;
}

.product-page .offering-card > p:not(.card-label) {
  margin: 0;
  color: #53676c;
  font-size: 0.9375rem;
  line-height: 1.75;
}

.product-page .offering-card ul {
  width: 100%;
  margin: 24px 0;
  padding: 0;
  border-top: 1px solid var(--product-line);
  list-style: none;
}

.product-page .offering-card li {
  padding: 11px 0;
  border-bottom: 1px solid var(--product-line);
  color: #3d565c;
  font-size: 0.9rem;
  line-height: 1.65;
}

.product-page .offering-card .card-actions {
  margin-top: auto;
}

.product-page .closing-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px 60px;
  border-top: 1px solid var(--product-line);
  background: #fff;
}

.product-page .closing-section h2 {
  max-width: 16em;
  margin-bottom: 14px;
}

.product-page .closing-section p:not(.eyebrow) {
  max-width: 43em;
  margin: 0;
  color: #53676c;
  font-size: 1rem;
  line-height: 1.75;
}

.product-page .closing-actions {
  justify-content: flex-end;
}

@media (max-width: 960px) {
  .product-page .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: 0;
  }

  .product-page .hero-card {
    width: min(100%, 650px);
  }

  .product-page .section-heading,
  .product-page .closing-section {
    grid-template-columns: 1fr;
  }

  .product-page .closing-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .product-page .hero-inner {
    width: calc(100% - 40px);
    padding: 70px 0 74px;
  }

  .product-page h1 {
    font-size: clamp(2.3rem, 9.6vw, 3.45rem);
  }

  .product-page .hero-lead {
    font-size: 1rem;
  }

  .product-page .content-section,
  .product-page .privacy-section,
  .product-page .closing-section {
    padding: 70px 20px;
  }

  .product-page .section-heading {
    gap: 16px;
    margin-bottom: 28px;
  }

  .product-page .feature-grid,
  .product-page .workflow-list,
  .product-page .privacy-grid,
  .product-page .offering-grid {
    grid-template-columns: 1fr;
  }

  .product-page .feature-card,
  .product-page .workflow-list > li,
  .product-page .privacy-fact,
  .product-page .offering-card {
    min-height: 0;
    padding: 26px 20px 28px;
  }

  .product-page .feature-card:nth-child(odd) {
    border-right: 0;
  }

  .product-page .workflow-list > li,
  .product-page .privacy-fact {
    border-right: 0;
    border-left: 0;
  }

  .product-page .workflow-list > li:first-child,
  .product-page .privacy-fact:first-child {
    border-left: 0;
  }

  .product-page .feature-card h3,
  .product-page .workflow-list h3,
  .product-page .privacy-fact h3 {
    margin-top: 22px;
  }
}

@media (max-width: 400px) {
  .product-page .hero-card {
    padding: 24px;
  }

  .product-page .hero-card dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .product-page .app-store-download {
    width: 100%;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 16px;
  }

  .product-page .app-store-qr-link {
    grid-template-columns: 96px auto;
    align-items: center;
  }

  .product-page .hero-actions,
  .product-page .closing-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 394px) {
  .product-zhaoxu main section[id],
  .product-zhaoxu .feature-card[id] {
    scroll-margin-top: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-page .product-hero *,
  .product-page .content-section *,
  .product-page .privacy-section *,
  .product-page .closing-section * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
