/**
 * Minimal www-dev overrides. Visual fidelity comes from mirrored HubSpot theme CSS.
 */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.www-form {
  margin: 2rem auto;
  max-width: 640px;
  padding: 1rem;
}

.loop-public-form {
  width: 100%;
}

.loop-form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.loop-form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.loop-form-status--error {
  color: #b42318;
}

.loop-form-status--success {
  color: #027a48;
}

.loop-form-status--pending {
  color: #344054;
}

/* Static blog pillars (apps/www/assets/blog/*) */
.www-blog-article {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  color: #000;
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.65;
}

.www-blog-article h1 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
  margin: 0.5rem 0 1.25rem;
  font-weight: 400;
}

.www-blog-article h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  font-weight: 700;
}

.www-blog-kicker {
  font-size: 0.875rem;
  margin: 0;
}

.www-blog-kicker a {
  color: #000;
  font-weight: 600;
}

.www-blog-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.25rem;
  font-size: 0.95rem;
}

.www-blog-table th,
.www-blog-table td {
  border: 1px solid #e5e5e5;
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.www-blog-table th {
  background: #fafafa;
  font-weight: 600;
}

.www-blog-cta-wrap {
  margin: 2rem 0 1rem;
}

.www-blog-cta {
  display: inline-block;
  padding: 0.85rem 1.35rem;
  background: #ff9902;
  color: #000 !important;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.www-blog-cta:hover {
  filter: brightness(0.96);
}

/* Demoted HubSpot headings keep h1 size (Bing single-H1 fix) */
h2.www-h1-visual { font-size: 62px; }
@media (max-width: 767px) { h2.www-h1-visual { font-size: 42px; } }
