@import url("styles.css");

/* Product landing pages (/monitoring/...) - generated by homepage/monitoring-generator. */

body.landing-page {
  padding-top: var(--header-h);
}

/* Language switch rendered as links (pages are static, no JS) */
.lang-switch a {
  padding: 0.3rem 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-light);
  border-radius: 4px;
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--text);
}

.lang-switch a.active {
  color: var(--text);
  background: var(--bg-subtle);
}

/* Hero */
.landing-hero {
  padding: 3.25rem 0 3.5rem;
}

.landing-hero h1 {
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 1.25rem;
}

.landing-hero .hero-lead {
  margin: 0 0 1.5rem;
  max-width: 62ch;
}

.landing-problem {
  color: var(--text-muted);
  max-width: 72ch;
  margin: 0 0 1rem;
}

.landing-hero .hero-cta {
  justify-content: flex-start;
  margin: 1.75rem 0 0;
}

.breadcrumb {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* Screenshot figures: mail view + dashboard, stacked */
.screenshot-figure {
  margin: 0 0 2.25rem;
}

.screenshot-figure:last-child {
  margin-bottom: 0;
}

.screenshot-figure figcaption {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  margin-bottom: 0.75rem;
}

.screenshot-figure img,
.browser-frame img {
  width: 100%;
}

/* Screenshot placeholder (replaced by a real <img> later) */
.screenshot-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background: var(--bg-subtle);
  color: var(--text-light);
  font-size: 0.9375rem;
  text-align: center;
  padding: 1rem;
}

/* Supported variants list */
.variant-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 30rem;
}

.variant-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.75rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* FAQ as <details> (no JS) */
.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 1.1rem 2rem 1.1rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--text-light);
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Article-style content pages (e.g. /nis2/) */
.content-narrow {
  max-width: 44rem;
  margin: 0 auto;
}

.content-narrow p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.content-narrow ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.content-narrow ul li {
  margin-bottom: 0.375rem;
}

.checklist-wide {
  max-width: 44rem;
}

/* CTA banner */
.cta-actions {
  text-align: center;
  margin: 0;
}

/* Related products / overview cards */
.related-grid {
  display: grid;
  gap: 0.75rem;
  max-width: 860px;
  margin: 0 auto;
}

.related-card {
  display: block;
  padding: 1rem 1.125rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.related-card:hover {
  border-color: var(--accent);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.related-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.related-card span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .related-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Overview: full product tag cloud */
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  max-width: 820px;
  margin: 0 auto;
}

.product-tags-cta {
  text-align: center;
  margin: 1.5rem 0 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Trademark disclaimer in footer */
.trademark-note {
  font-size: 0.75rem;
  color: var(--text-light);
  margin: 0 0 1.25rem;
}
