.module-showcase-rich p,
.module-generic-rich p,
.module-update-rich p {
  margin: .45rem 0;
  line-height: 1.65;
}

.module-showcase-rich ul,
.module-generic-rich ul,
.module-update-rich ul {
  margin: .65rem 0;
  padding-left: 1.25rem;
}

.module-showcase-rich a,
.module-generic-rich a,
.module-update-rich a {
  color: var(--theme-on-dark-accent, var(--blue));
}

.module-generic-rich a,
.module-update-rich a {
  color: var(--blue);
}

.module-preview-image {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
}

.module-screenshots {
  margin-top: 22px;
}

.module-screenshots h3 {
  margin: 0 0 12px;
}

.module-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.module-screenshot-grid figure {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-soft);
}

.module-screenshot-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.module-screenshot-grid figcaption {
  padding: 8px 4px 2px;
  color: var(--muted);
  font-size: .86rem;
}

.module-benefits:empty,
.feature-list:empty,
.module-screenshots:empty {
  display: none;
}

.commercial-request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.commercial-request-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--theme-outline, var(--line));
  border-radius: 16px;
  background: var(--theme-soft-surface, rgba(10, 28, 49, .72));
}

.commercial-request-form[hidden] {
  display: none !important;
}

.commercial-request-heading h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.commercial-request-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

.commercial-request-form label {
  display: grid;
  gap: 7px;
  color: var(--muted-strong);
  font-size: .88rem;
  font-weight: 700;
}

.commercial-request-form label small {
  color: var(--muted);
  font-weight: 500;
}

.commercial-request-form input,
.commercial-request-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--theme-input-background, #0c1c31);
  color: var(--text);
  outline: none;
  font: inherit;
  box-shadow: 0 1px 3px var(--theme-shadow, rgba(0, 0, 0, .08));
}

.commercial-request-form input {
  min-height: 44px;
}

.commercial-request-form textarea {
  min-height: 112px;
  resize: vertical;
}

.commercial-request-form input:focus,
.commercial-request-form textarea:focus {
  border-color: var(--theme-focus-ring, #1975bd);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-focus-ring, #1975bd) 18%, transparent);
}

.commercial-request-submit {
  display: flex;
  justify-content: flex-end;
}

.commercial-request-notice {
  margin-bottom: 18px;
}

html[data-theme="light"] .commercial-request-form {
  background: #f8fbfe;
}

html[data-theme="light"] .commercial-request-form input,
html[data-theme="light"] .commercial-request-form textarea {
  background: #ffffff;
  color: #132033;
}

@media (prefers-color-scheme: light) {
  html[data-theme="system"] .commercial-request-form {
    background: #f8fbfe;
  }

  html[data-theme="system"] .commercial-request-form input,
  html[data-theme="system"] .commercial-request-form textarea {
    background: #ffffff;
    color: #132033;
  }
}

@media (max-width: 620px) {
  .commercial-request-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .commercial-request-actions .button,
  .commercial-request-submit .button {
    width: 100%;
  }
}
