.product-page {
  width: min(100% - 64px, 920px);
  padding-block: 36px 56px;
  justify-content: flex-start;
}

.product-page main {
  width: 100%;
}

.product-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
}

.product-header .wordmark {
  margin: 0;
  font-size: 30px;
  text-decoration: none;
}

.product-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 24px;
  font-size: 14px;
}

.product-header nav a {
  padding-block: 10px;
}

.product-identity {
  display: flex;
  align-items: center;
  gap: 20px;
}

.product-page .app-icon {
  flex: 0 0 auto;
  border-radius: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #52735c;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.product-page h1 {
  font-size: clamp(38px, 7vw, 58px);
  font-weight: 600;
  line-height: 1.1;
}

.product-summary {
  max-width: 32ch;
  margin: 28px 0 18px;
  font-size: clamp(24px, 3.5vw, 31px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.body-copy,
.product-section p {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.75;
}

.body-copy {
  margin: 16px 0;
}

.small-copy,
.product-section .small-copy {
  color: #62675f;
  font-size: 14px;
  line-height: 1.7;
}

.product-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 28px;
  font-size: 15px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid #52735c;
  border-radius: 6px;
  color: #3d6047;
  font-weight: 550;
  text-decoration: none;
}

.primary-link:hover {
  background: #edf0e8;
}

.ios-hero,
.android-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 56px;
}

.app-preview {
  width: 260px;
  margin: 0;
}

.app-preview a {
  display: block;
  border-radius: 26px;
}

.app-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
}

.app-preview figcaption {
  margin-top: 12px;
  color: #62675f;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 32px;
  max-width: 700px;
  margin: 28px auto 0;
}

.screenshot-gallery figure {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.screenshot-gallery a {
  display: block;
  border-radius: 20px;
}

.screenshot-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.screenshot-gallery figcaption {
  margin-top: 12px;
  color: #62675f;
  font-size: 13px;
  line-height: 1.7;
}

.testing-guide {
  margin-block: 20px;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.8;
}

.testing-guide li + li {
  margin-top: 14px;
}

.testing-section .testing-note {
  margin-block: 24px;
  padding: 16px 20px;
  border-left: 3px solid #52735c;
  background: #edf0e8;
  font-size: 14px;
  line-height: 1.8;
}

.internal-test {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #dcded5;
}

.internal-test summary {
  padding-block: 8px;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.6;
  cursor: pointer;
}

.internal-test summary:focus-visible {
  outline: 2px solid #52735c;
  outline-offset: 4px;
}

.product-section {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #dcded5;
  scroll-margin-top: 28px;
}

.product-page h2 {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.product-page h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin: 0;
  padding-left: 20px;
}

.steps li {
  padding-left: 4px;
}

.steps li::marker {
  color: #52735c;
  font-size: 14px;
  font-weight: 600;
}

.steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

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

.feature-list p {
  margin: 0;
  color: #62675f;
  font-size: 15px;
}

.questions details {
  border-bottom: 1px solid #dcded5;
}

.questions summary {
  padding-block: 18px;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.6;
  cursor: pointer;
}

.questions summary:focus-visible {
  outline: 2px solid #52735c;
  outline-offset: 4px;
}

.questions p {
  margin: 0 0 20px;
  color: #62675f;
}

.contact-reveal {
  min-height: 44px;
  margin-top: 12px;
}

.contact-reveal a,
.contact-reveal .reveal-email {
  min-height: 44px;
  font-size: 16px;
}

.contact-reveal a {
  display: inline-flex;
  align-items: center;
}

.credits-section h2 {
  font-size: 20px;
}

.product-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  width: 100%;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #dcded5;
  color: #62675f;
  font-size: 13px;
  line-height: 1.7;
}

.product-footer p {
  flex-grow: 1;
  margin: 0;
}

.overview {
  max-width: 720px;
}

.platform-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-list li {
  border-bottom: 1px solid #dcded5;
}

.version-link,
.upcoming-version {
  min-height: 146px;
  padding-block: 22px;
}

.version-link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
}

.version-link:hover strong {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.platform-list strong {
  display: block;
  font-size: 20px;
  font-weight: 550;
  line-height: 1.5;
}

.version-description,
.version-status {
  display: block;
  margin-top: 4px;
  color: #62675f;
  font-size: 14px;
  line-height: 1.6;
}

.version-status {
  margin-top: 8px;
  font-size: 12px;
}

.version-link .version-status {
  color: #3d6047;
}

.link-arrow {
  font-size: 24px;
  line-height: 1.5;
}

.policy-page {
  max-width: 752px;
}

.policy-page h1 {
  font-size: clamp(34px, 6vw, 48px);
}

.policy-copy > .small-copy {
  margin-block: 16px 28px;
}

.policy-copy p {
  font-size: 16px;
  line-height: 1.8;
}

.policy-copy code {
  overflow-wrap: anywhere;
}

.policy-copy .privacy-statements {
  margin-block: 16px;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.8;
}

.privacy-statements li + li {
  margin-top: 8px;
}

.policy-copy section {
  margin-top: 36px;
  scroll-margin-top: 28px;
}

.policy-copy h2 {
  margin-bottom: 12px;
  font-size: 21px;
}

@media (max-width: 740px) {
  .ios-hero,
  .android-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .app-preview {
    width: min(100%, 280px);
    margin-inline: auto;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .steps p {
    max-width: 58ch;
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  .product-page {
    width: calc(100% - 48px);
    padding-block: 24px 40px;
  }

  .product-header {
    margin-bottom: 44px;
  }

  .product-header nav {
    gap: 8px 16px;
    font-size: 13px;
  }

  .product-identity {
    gap: 16px;
  }

  .product-identity .app-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }

  .feature-list,
  .platform-list,
  .screenshot-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .screenshot-gallery figure {
    max-width: 280px;
  }

  .product-section {
    margin-top: 40px;
    padding-top: 28px;
  }

  .product-footer {
    margin-top: 40px;
  }
}
