/* Web Demo Scrollable Landing + Full-Viewport Active Grid Override */
html,
body {
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

body.has-active-jobs {
  height: 100vh;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
}

.web-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 1.5px 6px;
  border-radius: 999px;
  white-space: nowrap;
}

.btn-cws {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 11px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  background: #059669;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.12s ease;
}

.btn-cws:hover {
  background: #047857;
}

body:not(.has-active-jobs) .workbench {
  min-height: calc(100vh - 48px);
  flex: none;
}

.empty-card {
  max-width: 560px;
  padding: 36px 32px 28px;
}

.sample-strip {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-line);
}

.sample-strip-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 9px;
}

.sample-btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.sample-pill-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.12s ease;
}

.sample-pill-btn:hover:not(:disabled) {
  background: var(--brand-blue-soft);
  border-color: #93c5fd;
  color: var(--brand-blue);
}

.sample-pill-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.subbar-cws-nudge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 2px 10px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.subbar-cws-nudge:hover {
  background: #d1fae5;
}

body.has-active-jobs .seo-landing {
  display: none;
}

.seo-landing {
  background: #ffffff;
  border-top: 1px solid var(--border-line);
  padding: 52px 20px 64px;
}

.seo-container {
  max-width: 920px;
  margin: 0 auto;
}

.seo-hero-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 38px;
}

.seo-hero-head h2 {
  font-size: 23px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--text-primary);
}

.seo-hero-head p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 42px;
}

.seo-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-line);
  border-radius: 12px;
  padding: 20px;
}

.seo-card h3 {
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-primary);
}

.seo-card p {
  font-size: 13px;
  line-height: 1.58;
  color: var(--text-secondary);
  margin: 0;
}

.seo-faq {
  border-top: 1px solid var(--border-line);
  padding-top: 34px;
}

.seo-faq h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 16px;
}

.faq-item {
  border-bottom: 1px solid var(--border-line);
  padding: 14px 0;
}

.faq-item h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text-primary);
}

.faq-item p {
  font-size: 13px;
  line-height: 1.58;
  margin: 0;
  color: var(--text-secondary);
}

.seo-cta-banner {
  margin-top: 36px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 14px;
  padding: 26px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.seo-cta-banner h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.seo-cta-banner p {
  margin: 0;
  font-size: 13px;
  color: #cbd5e1;
}

@media (max-width: 720px) {
  .web-badge,
  .subbar-cws-nudge {
    display: none;
  }
}
