/* Additions to the original stylesheet; keep its colors, spacing, and breakpoints. */
[hidden] {
  display: none !important;
}

@media (min-width: 992px) {
  .site-hero-title {
    /* Keep the original mobile/tablet sizing; scale the desktop heading to 80%. */
    font-size: clamp(2.32rem, 5.6vw, 4.64rem);
  }
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 1100;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--wt-blue-dark);
}

.skip-link:focus {
  top: 0.5rem;
}

.product-card h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 820;
}

/* Long app names must stay inside the narrowest supported viewport. */
.about-title {
  overflow-wrap: anywhere;
}

.tool-feature-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 820;
}

.tool-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 850;
}

.tool-copy p {
  color: var(--wt-muted);
  line-height: 1.75;
}

/* Product screenshots stay uncropped: the interface is part of the explanation. */
.designer-hero .site-hero-title {
  max-width: 15ch;
}

.preview-label {
  display: inline-block;
  padding: 0.3rem 0.55rem;
  margin-left: 0.35rem;
  border: 1px solid #d8c397;
  border-radius: 5px;
  color: #755211;
  background: #fff8e8;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.hero-note {
  margin: 1.2rem 0 0;
  color: var(--wt-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.app-screenshot {
  margin: 0;
  min-width: 0;
}

.app-screenshot a {
  display: block;
  border-radius: 8px;
}

.app-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--wt-line);
  border-radius: 8px;
  box-shadow: var(--wt-shadow);
  background: #fff;
}

.app-screenshot figcaption {
  margin-top: 0.85rem;
  color: var(--wt-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.app-screenshot a:focus-visible {
  outline: 3px solid var(--wt-blue);
  outline-offset: 5px;
}

.product-screenshot {
  max-width: 1100px;
  margin-inline: auto;
}

.screenshot-step {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.screenshot-step .site-section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.feature-checklist {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.feature-checklist li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--wt-line);
}

.feature-checklist label {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  line-height: 1.6;
}

.feature-checklist input {
  flex: 0 0 auto;
  accent-color: var(--wt-green-dark);
  opacity: 1;
}

.planned-features {
  color: var(--wt-muted);
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid var(--wt-line);
  border-radius: 8px;
  background: var(--wt-soft);
}

.download-status {
  color: var(--wt-blue-dark);
  font-size: 1.2rem;
}

@media (max-width: 991px) {
  .screenshot-step,
  .download-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-screenshot {
    margin-top: 1rem;
  }
}

@media (max-width: 575px) {
  .designer-hero .site-hero-title {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .preview-label {
    margin-left: 0;
  }
}
