.product-detail main {
  padding: 45px 0 80px;
  max-width: 960px;
}
.product-detail .detail-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 30px;
  font-size: 12px;
  color: var(--muted);
}
.detail-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.detail-badges span {
  padding: 5px 10px;
  background: #edf2e7;
  border: 1px solid #d6e2cc;
  color: var(--green);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.product-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.product-title h1 {
  margin: 0;
  font-size: 48px;
  letter-spacing: -2px;
  line-height: 1.3;
}
.product-kicker {
  font-size: 16px;
  color: var(--green-mid);
  font-weight: 600;
  margin: 14px 0;
}
.product-lead {
  font-size: 18px;
  line-height: 1.9;
  color: var(--body);
  max-width: 800px;
  margin: 18px 0 28px;
}
.product-cover {
  padding: 22px;
  background: #e6eddf;
  border-radius: 10px;
  margin: 30px 0;
}
.product-cover img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}
.product-cover figcaption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
.product-section {
  padding: 32px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 25px 0;
}
.product-section > h2 {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.5;
  margin: 0 0 15px;
}
.product-section > p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.9;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feature-item {
  background: #f7f9f3;
  padding: 21px;
  border: 1px solid #e8ede2;
  border-radius: 6px;
}
.feature-item h3 {
  font-size: 16px;
  margin: 0 0 8px;
  letter-spacing: -0.4px;
}
.feature-item p {
  font-size: 13px;
  color: var(--body);
  margin: 0;
  line-height: 1.85;
}
.product-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  gap: 15px;
}
.product-steps li {
  display: flex;
  gap: 18px;
  padding: 19px;
  background: #f7f9f3;
  border-radius: 6px;
  counter-increment: step;
}
.product-steps li:before {
  content: counter(step, decimal-leading-zero);
  font-size: 12px;
  font-weight: 700;
  color: #708a61;
  padding-top: 2px;
}
.product-steps strong {
  display: block;
  font-size: 15px;
  font-weight: 650;
  margin-bottom: 5px;
}
.product-steps p {
  font-size: 13px;
  color: var(--body);
  line-height: 1.85;
  margin: 0;
}
.screenshot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.screenshot-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
.screenshot-link {
  display: block;
  background: #f0f3ea;
}
.screenshot-link:hover {
  filter: brightness(0.98);
}
.screenshot-link img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: contain;
}
.screenshot-grid figcaption {
  padding: 13px 16px;
  font-size: 12px;
  color: var(--body);
}
.product-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.product-faq {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
.product-faq:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.product-faq summary {
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}
.product-faq p {
  font-size: 13px;
  color: var(--body);
  line-height: 1.9;
  margin: 12px 0 0;
}
.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px 0 0;
  flex-wrap: wrap;
}
.product-bottom .text-link {
  font-size: 12px;
}
.screenshot-dialog {
  border: 0;
  border-radius: 10px;
  background: #fafbf7;
  padding: 24px;
  width: min(1200px, calc(100% - 40px));
  max-width: none;
  max-height: 94vh;
  color: var(--ink);
}
.screenshot-dialog::backdrop {
  background: rgba(15, 32, 21, 0.82);
  backdrop-filter: blur(5px);
}
.screenshot-dialog img {
  width: auto;
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  margin: auto;
}
.screenshot-dialog button {
  display: block;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 7px 12px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 14px;
}
.screenshot-dialog p {
  font-size: 12px;
  margin: 12px 0 0;
  text-align: center;
}
@media (max-width: 640px) {
  .product-detail main {
    padding: 28px 0 55px;
  }
  .product-detail .brand {
    font-size: 14px;
  }
  .product-detail .detail-topline {
    font-size: 11px;
    gap: 12px;
  }
  .product-title h1 {
    font-size: 37px;
    letter-spacing: -1.3px;
  }
  .product-title .button {
    font-size: 13px;
  }
  .product-kicker {
    font-size: 14px;
  }
  .product-lead {
    font-size: 16px;
  }
  .product-section {
    padding: 22px;
    margin: 22px 0;
  }
  .product-section > h2 {
    font-size: 22px;
  }
  .feature-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }
  .product-cover {
    padding: 12px;
    margin: 25px 0;
  }
  .product-steps li {
    padding: 16px;
    gap: 13px;
  }
  .screenshot-dialog {
    padding: 14px;
    width: calc(100% - 24px);
  }
  .detail-badges span {
    font-size: 10px;
  }
  .product-detail .header-inner > .text-link {
    font-size: 11px;
    white-space: nowrap;
    gap: 5px;
  }
}
